Skip to main content

Why is kube-apiserver stateless even though it controls critical operations?

Senior Kubernetes
Quick Answer kube-apiserver stores no persistent state itself รขโ‚ฌโ€ all state is in etcd. This makes API server stateless and horizontally scalable. Run 3 or more API server replicas behind a load balancer and the cluster handles API server failures transparently. Losing one API server instance doesn't lose any data or interrupt running workloads.

Answer

All state lives in etcd; API servers scale horizontally without syncing state.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice