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

CKA study material · question 576 of 1000

After a kubeadm upgrade, every container on the upgraded nodes has restarted. Why?

  1. The kubelet re-registers the Node, which recreates its Pods
  2. The upgrade drains and uncordons each node in turn
  3. The container spec hash changes, so the kubelet recreates the containers
  4. The container runtime is restarted as part of the upgrade
Show the answer

Answer: C. The container spec hash changes, so the kubelet recreates the containers

The upgrade alters the container spec hash the kubelet compares against, so all containers are restarted — expected behaviour rather than a symptom of a failure.

Source: Upgrading kubeadm clusters (Kubernetes) — Additional information

Challenge yourself on this topic → Study as cards