Kcna Kubernetes And Cloud Native Associate · Free Practice Question Medium
Question 62
What happens when a Node becomes unreachable according to the Kubernetes control plane?
-
A
The kube-scheduler tries to reschedule all the Pods on that Node to other Nodes.
-
B
Kubernetes marks the Node as Unreachable and waits for a configurable amount of time before evicting the Pods.
-
C
All Pods on the Unreachable Node are immediately terminated.
-
D
Kubernetes reboots the Unreachable Node.
Reveal correct answer
Correct answer: B
A.
The kube-scheduler does not immediately try to reschedule the Pods. It waits for the eviction timeout to pass.
B.
When a Node becomes Unreachable, Kubernetes marks it and waits for a configurable amount of time (--pod-eviction-timeout on the kube-controller-manager) before evicting the Pods.
C.
Pods are not immediately terminated. Kubernetes waits for the eviction timeout.
D.
Kubernetes does not have built-in functionality to reboot nodes.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
