Using Kubernetes API Effectively with Golang
summary
Shows concrete Go code using client-go informers to list pods via in‑cluster config or kubeconfig, resyncing every 5 seconds and printing pod add/delete events in a live demo that works. Explains indexers and an example filter for 3,000 pods and using an index function to select subsets, then swaps to a rate-limiting workqueue with retry/backoff so multiple workers can parallelize (example: 3 workers splitting 3,000 items ≈ 250 each) and outlines why resourceVersion and ownerReferences matter.
AI-written summary · about
chapters (5)
related talks
35mProgramming Kubernetes with the Go SDK [I]
18mScavenging for Reusable Code in the Kubernetes Codebase
38mUsing Kubernetes API from Go
55mHigh Performance API on Kubernetes
02h 01mBuilding Reliable and Resilient Workloads in Kubernetes
24mWriting kube controllers for everyone
36mSIG API Machinery Deep Dive
01h 01mKubernetes – going beyond the basics
