Certified Kubernetes Administrator (CKA) · Section 1 · 25% of the exam
Understand CRDs, install and configure operators
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
Kubernetes stays small by defining interfaces that plug-ins implement: CRI for container runtimes, CNI for Pod networking, CSI for storage, and more. CustomResourceDefinitions extend the API itself, and operators pair a CRD with a controller that automates an application. This lesson covers how each interface works, where its files live, and how to install and inspect CRDs and operators.
Points to remember
- CRI = kubelet-to-runtime gRPC (containerd, CRI-O); socket like
/var/run/containerd/containerd.sock; Dockershim removed in 1.24. - CNI = Pod networking; config in
/etc/cni/net.d, binaries in/opt/cni/bin; no CNI means NotReady nodes. - Only some CNI plugins enforce NetworkPolicy (Calico, Cilium yes; Flannel alone no).
- CSI = storage drivers; StorageClass
provisionernames the CSI driver;kubectl get csidrivers. - Device plugins advertise extended resources such as GPUs; RuntimeClass selects a runtime handler.
Try a question
A cluster uses Flannel as its only CNI plugin. A NetworkPolicy that denies all ingress to the db Pods is created and accepted by the API server, yet traffic from other Pods still reaches them. What is the best explanation and fix?
- AFlannel does not enforce NetworkPolicy; use a plugin that does, such as Calico or Cilium
- BThe NetworkPolicy API requires the
policy/v2group, which is not enabled on the cluster - Ckube-proxy must be restarted on every node to load the new policy rules
- DNetworkPolicy applies only to Pods exposed through the
NodePortService type
Show the answer
A. A NetworkPolicy has no effect without a CNI plugin that implements it. Flannel provides connectivity only; Calico and Cilium enforce policies.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Extension interfaces, CRDs and operators teaches this objective (about 50 minutes), and 12 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
- Implement and configure a highly-available control plane
- Use Helm and Kustomize to install cluster components
- Understand extension interfaces (CNI, CSI, CRI, etc.)