Study. uk . com
  1. Home
  2. All questions
  3. Question 78

CKA study material · question 78 of 1000

During an upgrade that replaces the etcd static Pod, in-flight API requests stall. What is suggested to limit the disruption?

  1. Delete the etcd data directory first
  2. Stop kube-apiserver gracefully a few seconds before the upgrade command
  3. Cordon every worker node
  4. Scale the API server Deployment to zero
Show the answer

Answer: B. Stop kube-apiserver gracefully a few seconds before the upgrade command

A graceful kube-apiserver shutdown beforehand lets in-flight requests finish and closes existing connections.

Source: Upgrading kubeadm clusters (Kubernetes) — Considerations when upgrading etcd

Challenge yourself on this topic → Study as cards