CertLumen

Certified Kubernetes Administrator (CKA) · Section 1 · 25% of the exam

Implement and configure a highly-available control plane

One of the objectives of the Certified Kubernetes Administrator (CKA) exam, in the section “Cluster Architecture, Installation and Configuration”. Here is what it covers, the points to remember and a question to try.

What it covers

Running a cluster means upgrading it safely, backing up and restoring etcd, renewing certificates, draining nodes and adding or removing them. High availability adds a load-balanced endpoint, several control-plane nodes and an etcd cluster with quorum. This lesson walks through each procedure and the rules the exam tests.

Points to remember

  • Upgrade one minor at a time; the control plane first, kubelets after, never newer than the API server.
  • Order: kubeadm package, kubeadm upgrade plan, kubeadm upgrade apply vX.Y.Z on node one; kubeadm upgrade node elsewhere.
  • Drain before upgrading the kubelet: kubectl drain NODE --ignore-daemonsets, then uncordon.
  • kubelet may be up to three minors older than the API server; kubectl is within one minor.
  • etcdctl snapshot save needs endpoint, cacert, cert and key; restore with etcdutl snapshot restore --data-dir.

Try a question

Before upgrading, an administrator wants to see which Kubernetes versions the cluster can move to and whether the cluster is healthy enough. Which command does this?

  1. Akubectl version --upgrade
  2. Bkubeadm version -o short
  3. Ckubeadm config images list
  4. Dkubeadm upgrade plan
Show the answer

D. kubeadm upgrade plan verifies the cluster is upgradable and shows the target versions and component config states.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Cluster lifecycle and high availability teaches this objective (about 55 minutes), and 15 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 27 objectives · Next objective →