Study guide · Core notes

CKA: objects you can repair

Reference notes for curriculum v1.37. Each section names the object or command, and the check you run after you change a cluster you are allowed to break.

Curriculum v1.37Five domainsReviewed November 13, 2026

How to read these notes: Unmarked items sit on the published CKA curriculum. Items tagged Extra are job context that list does not require. New to the exam? Start with the overview. Switch context before every command. Practice on clusters you can rebuild.

Cluster architecture and kubeadm

Install, join, upgrade, and extend the control plane.

init and join

kubeadm init builds the first control plane. Set controlPlaneEndpoint to the load-balancer address before you add more control-plane nodes. Workers use kubeadm join. A second control plane adds --control-plane and the certificate key. --upload-certs stores that material in a Secret that expires after two hours.

Upgrade order

On the first control plane, upgrade the kubeadm package, inspect kubeadm upgrade plan, then run kubeadm upgrade apply. Check whether the CNI provider needs a separate upgrade. Drain the node before upgrading kubelet and kubectl, restart kubelet, then uncordon. Additional control planes and workers use kubeadm upgrade node after upgrading their kubeadm package. Current docs describe kubeadm.k8s.io/v1beta4. Migrate an older file with kubeadm config migrate.

RBAC

A Role and a RoleBinding stay in one namespace. A ClusterRoleBinding is cluster-wide. A RoleBinding may reference a ClusterRole, and the namespaced permissions then apply only in that namespace. kubectl auth can-i create deployments -n app --as=system:serviceaccount:app:builder checks without granting.

Extensions

CNI connects Pods. CSI manages volumes. CRI is how the kubelet talks to the runtime. A CRD adds an API type and does not start a controller. Install the operator separately. Helm: helm upgrade --install. Kustomize: kubectl apply -k. kubectl kustomize only prints the YAML.

Workloads and scheduling

Keep Pods running, and place them on purpose.

Deployments

A Deployment recreates Pods through a ReplicaSet. A bare Pod does not survive node loss. kubectl rollout undo deployment/web returns to the previous revision. maxSurge: 1 and maxUnavailable: 0 start a new Pod before taking an old one away. Both values at 0 cannot make progress.

ConfigMaps and Secrets

Env values are fixed when the container starts. A normal volume mount of a ConfigMap is updated later. A subPath mount is not. Secret data is base64, not encryption. stringData lets you type plaintext in the manifest. Anyone who can get the Secret can decode it.

Autoscaling and fit

An HPA CPU utilization target is a percentage of the CPU request. Pods without a request are skipped for that metric, and metrics-server must be working. The scheduler uses requests. Limits are runtime caps. A request larger than every node leaves the Pod Pending.

Placement

nodeSelector requires every label. Required node affinity must match at schedule time and does not evict a running Pod when labels change. Preferred affinity may be skipped. A NoSchedule taint blocks new Pods. NoExecute can evict Pods that do not tolerate it. operator: Exists matches a key without comparing the value.

Services and networking

Names, virtual addresses, policies, and routes.

Service types

ClusterIP is a virtual address inside the cluster. NodePort adds a port on every node. LoadBalancer asks a controller for an external address and does nothing useful when no controller is installed. port is the Service port. targetPort is the container port.

Endpoints and DNS

Endpoints list Ready Pod IPs whose labels match the selector. A failing readiness probe removes the Pod even while the process runs. The full name is web.app.svc.cluster.local. The cluster DNS Service is often still named kube-dns in kube-system when the Pods are CoreDNS.

NetworkPolicy

Pods are not isolated until a policy selects them. An empty ingress list denies ingress to the selected Pods and does not deny egress by itself. An empty podSelector selects Pods in the policy namespace. Policies combine. They do not cancel each other. Enforcement requires a network plugin that supports NetworkPolicy; the API object alone does not filter traffic.

Ingress and Gateway API

An Ingress object needs a controller for its class. An HTTPRoute attaches to a Gateway with parentRefs. A Gateway uses a GatewayClass. These are different APIs. kube-proxy implements Services. The CNI assigns Pod networks. CoreDNS resolves names.

Storage

Claims, classes, and what happens after a delete.

PV and PVC

A PersistentVolume is cluster-scoped. A PersistentVolumeClaim is namespaced. The Pod mounts the claim. Binding needs enough capacity, compatible access modes, and a matching class.

Access and reclaim

ReadWriteOnce is one node. ReadWriteOncePod is one Pod. ReadWriteMany is multiple nodes when the driver supports it. Retain keeps the volume and the data, then leaves the PV Released until you clear claimRef. Delete can remove the backing disk. Recycle is obsolete.

Default class

A claim that omits storageClassName uses the default class. An empty string selects no class. WaitForFirstConsumer waits until a Pod is scheduled. Immediate binds first. The class reclaimPolicy applies to volumes that class provisions, not to a static volume you wrote by hand.

hostPath Extra

hostPath is a directory on one node. It does not follow a Pod to another node. The curriculum points at StorageClasses and dynamic provisioning for portable volumes. Use hostPath only when the task asks for that node path.

Troubleshooting

Read the event before you change the cluster.

Nodes and static Pods

A dead kubelet makes the node NotReady. Read journalctl -u kubelet. Control-plane processes on kubeadm are static Pods from /etc/kubernetes/manifests. Deleting the mirror object does not stop the file. If the API server is down, use the node runtime logs. You cannot kubectl logs a component that is not serving.

Pods and probes

ImagePullBackOff is the image or the pull secret. CrashLoopBackOff is a process that exits. Use kubectl logs pod -p and -c for a named container. Pending with Insufficient cpu is a request problem. A failing readiness probe removes the Pod from endpoints. A failing liveness probe restarts the container. kubectl exec pod -c web -- command needs the double dash.

etcd and certificates

etcdctl snapshot save talks to a live member and needs its client certificates. etcdutl snapshot status inspects the file. Stop all API servers before a restore, then use etcdutl snapshot restore with a new data directory. If its path changes, update the etcd-data hostPath in /etc/kubernetes/manifests/etcd.yaml and restart etcd. Update etcd.local.dataDir in the kubeadm-config ConfigMap so a later kubeadm upgrade retains the path. The API server connects to etcd's endpoint; it does not read etcd's data directory. kubeadm certs check-expiration and kubeadm certs renew change files. Restart the static Pods so they load those files. An odd member count is what lets etcd keep a leader after one loss.

Context and debug

kubectl config use-context selects the cluster named in the task. kubectl debug node/worker-1 mounts that node root at /host. kubectl top needs metrics-server. A DiskPressure taint is a disk problem. Tolerating it does not free space.

Six checks on a disposable cluster

Say what you expect to see before you change the object. Then put the cluster back.

The right context

Put two contexts in one kubeconfig. Run kubectl get nodes, switch context, and run it again.

What to verify: the node names change with the context. A task completed on the other cluster is not done.

A Service with no endpoints

Point a Service selector at a label the Pods do not have. Fix the selector. Then make the readiness probe fail.

What to verify: the first empty list is a label mismatch. The second empty list is a Ready condition, while the Pod can still be Running.

A claim that waits

Create a StorageClass with WaitForFirstConsumer and a claim. Leave it unused, then add a Pod that mounts it.

What to verify: the claim can stay Pending before any Pod exists. It proceeds when a Pod is scheduled, if the provisioner is healthy.

A policy that denies ingress

Use a lab network plugin that implements NetworkPolicy. Select one Pod with a policy whose ingress list is empty. Probe it from another Pod, then delete the policy.

What to verify: ingress fails while the policy exists and works again after deletion. Egress from the selected Pod still works if no policy restricts it. If traffic never changes, check policy enforcement in the network plugin before changing selectors.

A rollout you can undo

Change a Deployment image to a bad tag, watch the new Pod, then run kubectl rollout undo.

What to verify: the previous revision returns and the bad Pod is not left as the only replica. Deleting the ReplicaSet by hand is not the rollback.

A snapshot you can identify

On a lab control plane, save an etcd snapshot with etcdctl snapshot save and the member certificates. Run etcdutl snapshot status on the file.

What to verify: the status command prints a hash and a revision. Do not restore over the live data directory. A restore belongs on a cluster you can rebuild, with the API servers stopped.

An evidence-first CKA troubleshooting sequence

Start with the task's cluster and namespace. Run kubectl config current-context before inspecting an object, and use -n explicitly when the object is namespaced. A Pod, Service, and NetworkPolicy with the same short name can exist in different namespaces. A command that succeeds against the wrong context is still a missed task. Record the original state before editing so you can tell whether your change helped.

Move from symptom to the responsible component

For a Pending Pod, read kubectl describe pod and look at the Events section. FailedScheduling with insufficient CPU points toward requests and node capacity; an unbound claim points toward the PVC, StorageClass, access mode, and provisioner. For a running Pod that cannot serve traffic, compare its labels and Ready condition with the Service selector and EndpointSlices. A matching selector cannot compensate for a failed readiness probe, and a Ready endpoint cannot fix a wrong targetPort.

Separate an API object from its implementation

An Ingress, Gateway, or NetworkPolicy can be accepted by the API without any component implementing its behavior. Confirm that an Ingress or Gateway controller is installed and that its class and route references match. Confirm that the lab network plugin enforces NetworkPolicy before expecting a deny rule to change traffic. For a LoadBalancer Service that never gets an external address, look for the controller or load-balancer integration that should provide one. This distinction prevents repeated edits to a valid manifest when the missing part is a controller.

Verify the repair at the same layer as the symptom

After a kubelet repair, check both its systemd status and the Node Ready condition. After a Deployment rollback, check rollout status and the Pods selected by the Service. After a DNS repair, test name resolution from a client Pod; a working ClusterIP alone only proves Service forwarding. After an etcd recovery on a disposable cluster, verify the restored state through the API once the API servers are back. Keep a short note of the command, the observed change, and any remaining failure. That evidence is more useful than memorizing a command without knowing what it changed.

Frequently asked questions

Which curriculum do these notes follow?

These notes follow CNCF CKA curriculum v1.37 and the Kubernetes behavior documented for the v1.37 exam environment. Items tagged Extra are cluster facts that curriculum file does not list as a competency.

Do the notes replace the official curriculum?

No. Use them with the published curriculum and the documentation the exam allows: kubernetes.io/docs, kubernetes.io/blog, helm.sh/docs, and gateway-api.sigs.k8s.io. Opening other search results is not allowed.

Does this page cover CKAD or CKS?

No. CKAD is the application-developer exam. CKS is the security exam, and the FAQ says it requires a passed CKA first. Commands that appear in more than one exam are explained here only as CKA tasks.

Continue the CKA study path

Use the notes, then test recall with cards and a timed practice set.

CKA hub →
Available

Overview

Exam format, curriculum v1.37, and a lab plan.

Available · You are here

Core Notes

Reference notes for kubeadm, RBAC, networking, storage, and troubleshooting.

Available

Practice Exams

200 original questions sized to the published domain weights.

Official technical sources

Start with CKA curriculum v1.37. Cluster procedures are in the kubeadm documentation, the etcd administration page, and the NetworkPolicy concepts. Gateway API behavior is documented at gateway-api.sigs.k8s.io. Helm commands are documented at helm.sh/docs.

RHCSA

Practice Linux administration on hosts you can rebuild. It does not prepare you for the CKA.

Terraform Associate

See a different infrastructure exam. It does not cover kubeadm or the CKA curriculum.

Apply concepts in the Scenario Workshop →