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

CKA study material · question 510 of 1000

A machine is rebuilt with different hardware but keeps its old hostname and re-registers under the same Node name. What does Kubernetes assume?

  1. That this is a different machine, and it allocates a second Node object
  2. That it is the same object with the same state and attributes as before
  3. That the Node is invalid, and it rejects the registration
  4. That the Node should be cordoned until an administrator confirms it
Show the answer

Answer: B. That it is the same object with the same state and attributes as before

Kubernetes treats a resource with the same name as the same object, and assumes a Node reusing a name has the same network settings, disk contents and labels. A significantly changed machine should be removed from the API server and re-added.

Source: Nodes (Kubernetes) — Management › Node name uniqueness

Challenge yourself on this topic → Study as cards