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.Zon node one;kubeadm upgrade nodeelsewhere. - Drain before upgrading the kubelet:
kubectl drain NODE --ignore-daemonsets, thenuncordon. - kubelet may be up to three minors older than the API server; kubectl is within one minor.
etcdctl snapshot saveneeds endpoint, cacert, cert and key; restore withetcdutl 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?
- A
kubectl version --upgrade - B
kubeadm version -o short - C
kubeadm config images list - D
kubeadm 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
- Manage role based access control (RBAC)
- Prepare underlying infrastructure for installing a Kubernetes cluster
- Create and manage Kubernetes clusters using kubeadm
- Manage the lifecycle of Kubernetes clusters
- Use Helm and Kustomize to install cluster components
- Understand extension interfaces (CNI, CSI, CRI, etc.)
- Understand CRDs, install and configure operators