kube-state-logs
Azure/kube-state-logs/AGENTS.md
This document provides guidance for AI agents working with the kube-state-logs codebase. kube-state-logs is a Kubernetes cluster state logger that outputs structured JSON logs. It's inspired by kube-state-metrics but produces logs instead of Prometheus metrics. Each Kubernetes resource type has a dedicated handler in pkg/collector/resources/. Follow this pattern: All resource handlers must implement the interfaces.ResourceHandler interface: GetInformers must include dependency caches as well as the primary cache so the collector can handle built-in informer failures consistently. Handlers embedding utils.BaseHandler inherit…

