Choose Wisely: Understanding Kubernetes Selectors
summary
Shows exact controller behaviors with live demos: deployments add a pod-template-hash label so a ReplicaSet controls only its own pods, while creating an rs directly can adopt an existing pod (apply rs with desired 3 replicas but only two new pods created because one older standalone pod is adopted). Services/endpoints use equality-based selectors only and will include any matching pod, enabling blue/green, canary and highlander patterns by relabeling pods. OwnerReference prevents controller thrashing; all demos run successfully.
AI-written summary · about
chapters (4)
related talks
01h 01mKubernetes – going beyond the basics
52mKubernetes - going beyond the basics
01h 02mKubernetes Patterns
50mKubernetes - going beyond the basics
26mWriting Kubernetes Controllers for CRDs: Challenges, Approaches and Solutions
24mK8s Pod Scheduling - Deep Dive
31mKubernetes is Your Platform: Design Patterns For Extens...
46mOperators Live in the Past: Designing Reliable Kubernetes Controllers
