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

CKA study material · question 555 of 1000

You are decommissioning a worker node cleanly. Which two steps belong to the documented procedure, before the Node object is deleted? Choose two.

  1. Drain the node
  2. Run kubeadm reset on the host
  3. Delete the node's Lease object in kube-node-lease
  4. Revoke the node's client certificate with kubeadm certs
Show the answer

Answer: A. Drain the node
B. Run kubeadm reset on the host

The order is drain, then kubeadm reset on the machine, then kubectl delete node. The Lease is cleaned up with the Node object, and kubeadm has no certificate revocation step here.

Source: Creating a cluster with kubeadm (Kubernetes) — Clean up › Remove the node

Challenge yourself on this topic → Study as cards