Sobes.tech
Junior — Middle

What consequences will this have for pods if etcd stops working in a Kubernetes cluster?

sobes.tech AI

Answer from AI

etcd is a distributed key-value store used by Kubernetes to store the entire cluster state, including pod configurations, services, secrets, etc. If etcd stops working:

  • Kubernetes controllers will not be able to retrieve or update the cluster state.
  • New pods will not be created, and existing ones will not be able to be updated or restored.
  • The cluster state will stop synchronizing, which may lead to inconsistency.
  • Already running pods will continue to operate as they are on nodes, but management of them will be impossible.

Thus, the loss of etcd operation will lead to a halt in cluster management, but not an immediate failure of running pods. However, without restoring the etcd cluster, it will become unstable and unmanageable.