dc dotCreds
Reference guide

CKA Course Notes

Study CKA section notes, then jump straight into the guided course or related practice questions without losing your place.

Continue CourseStart PracticePDF downloads available in Pro.
Checking access

Checking Pro access...

Looking for your active Pro access before showing Course Notes. This usually takes just a moment.

Course Notes preview

Unlock Pro for the full per-exam reference guide.

Preview one piece from each section. Pro includes every Course Notes section, summary, key point, common mistake, exam tip, related-question review, and PDF export.

Includes full Course Mode and Course Notes.

Section 1Fundamentals & SetupPreview
More in this section
  • 2 more summary sections in Pro version
  • 10 more key points in Pro version
  • 3 more common mistakes in Pro version
  • 4 more exam tips in Pro version
  • 11 more related questions in Pro version

Summary

The exam tests the foundational elements of a Kubernetes cluster and the procedures for maintaining its stability. Understanding cluster architecture, control plane components, and node management is critical for administering a Kubernetes environment.

Key Points

  • **CKA Domain Weighting:** The exam emphasizes troubleshooting (30%), followed by cluster administration, workloads and scheduling, and services and networking. Prioritize your study time accordingly.

Common Mistakes

  • Understand the distinction between cordoning and draining a node. Cordoning *prevents* new Pods, while draining *removes* existing ones.

Exam Tips

  • Prioritize understanding the core control plane components and their responsibilities. A strong foundation here will help you answer many questions.
Section 2Advanced ConfigurationPreview
More in this section
  • 2 more summary sections in Pro version
  • 9 more key points in Pro version
  • 4 more common mistakes in Pro version
  • 5 more exam tips in Pro version
  • 5 more related questions in Pro version

Summary

The exam tests the core components responsible for cluster operation and the tools used to establish a Kubernetes control plane. Understanding these elements is critical for troubleshooting cluster behavior, scaling deployments, and ensuring high availability. The exam will test your ability to diagnose issues related to control plane functionality and node agent behavior, as well as your understanding of the kubeadm bootstrapping process.

Key Points

  • **Controller Manager:** This component runs controllers that continuously reconcile the cluster's state towards the desired state defined in Kubernetes objects (Deployments, Services, etc.). It's a critical part of the control plane, responsible for ensuring that the actual state matches the declared state.

Common Mistakes

  • The kubelet manages Pods, while the container runtime executes the containers *within* those Pods. They are distinct but interdependent.

Exam Tips

  • Focus on understanding the *responsibilities* of each component, not just their definitions. The exam emphasizes practical application.
Section 3Security & GovernancePreview
More in this section
  • 2 more summary sections in Pro version
  • 7 more key points in Pro version
  • 3 more common mistakes in Pro version
  • 4 more exam tips in Pro version
  • 5 more related questions in Pro version

Summary

The exam tests the foundational security and governance aspects of Kubernetes clusters, particularly those managed with kubeadm. Understanding how to securely join nodes, manage access with kubeconfig, and define permissions with RBAC is critical for maintaining cluster integrity and controlling user access.

Key Points

  • **kubeadm join:** This command is used to add a node to an existing kubeadm-managed cluster. It retrieves join information (token, CA certificate, discovery URL) from the control plane and configures the node to connect.

Common Mistakes

  • A Role is namespace-scoped, limiting its permissions to resources within a single namespace. A ClusterRole is cluster-scoped and can be applied to the entire cluster or bound to specific namespaces.

Exam Tips

  • Always consider the scope of permissions required when choosing between a Role and a ClusterRole. Favor Roles for namespace-specific access.
Section 4Lifecycle ManagementPreview
More in this section
  • 2 more summary sections in Pro version
  • 7 more key points in Pro version
  • 4 more common mistakes in Pro version
  • 5 more exam tips in Pro version
  • 5 more related questions in Pro version

Summary

Kubernetes lifecycle management involves controlling access, resource usage, and identity within your cluster. The exam tests how namespaces, RBAC, ServiceAccounts, and ResourceQuotas work together to create a secure and organized environment.

Key Points

  • **Namespaces:** Provide a logical separation within a Kubernetes cluster, acting as naming boundaries for resources. They allow multiple teams or applications to share a cluster without interfering with each other’s resources.

Common Mistakes

  • **RoleBinding vs. ClusterRoleBinding:** RoleBindings are namespace-scoped, while ClusterRoleBindings apply cluster-wide. Choose the narrowest scope possible.

Exam Tips

  • Always consider the scope of permissions when choosing between RoleBindings and ClusterRoleBindings. Favor namespace-scoped solutions whenever possible.
Section 5Workload OrchestrationPreview
More in this section
  • 2 more summary sections in Pro version
  • 11 more key points in Pro version
  • 5 more common mistakes in Pro version
  • 5 more exam tips in Pro version
  • 21 more related questions in Pro version

Summary

Workload orchestration defines how Kubernetes manages your applications. The exam tests the core controllers – Deployments, StatefulSets, DaemonSets, Jobs, and CronJobs – and how they handle different application needs. Understanding these controllers is critical for deploying and managing applications reliably and efficiently.

Key Points

  • **Deployments:** Manage stateless application replicas, providing rolling updates and rollbacks. They create and manage ReplicaSets, ensuring the desired number of Pods are always running.

Common Mistakes

  • **Deployments vs. StatefulSets:** Deployments are for stateless applications; StatefulSets are for stateful applications requiring persistent identity and ordered operations.

Exam Tips

  • Carefully analyze the workload requirements before selecting a controller. Consider whether the application is stateful or stateless, and whether it requires persistent identity.
Section 6Networking EssentialsPreview
More in this section
  • 2 more summary sections in Pro version
  • 8 more key points in Pro version
  • 3 more common mistakes in Pro version
  • 4 more exam tips in Pro version
  • 11 more related questions in Pro version

Summary

Kubernetes Services provide a stable IP address and DNS name for a set of Pods, abstracting away the underlying Pod changes. Understanding Service types and their behavior is critical for exposing applications within and outside the cluster. The exam tests the different Service types, how they function, and how to troubleshoot common issues.

Key Points

  • **ClusterIP:** Exposes the Service on a cluster-internal IP. This is the default Service type and is only reachable from within the cluster. It's ideal for internal microservice communication.

Common Mistakes

  • **ClusterIP vs. NodePort:** ClusterIP is internal-only, while NodePort exposes the Service on each node's IP.

Exam Tips

  • Carefully read the requirements of each scenario. Look for keywords like 'internal-only,' 'external access,' or 'direct endpoint discovery.'
Section 7Core ServicesPreview
More in this section
  • 2 more summary sections in Pro version
  • 10 more key points in Pro version
  • 4 more common mistakes in Pro version
  • 5 more exam tips in Pro version
  • 13 more related questions in Pro version

Summary

The exam tests Kubernetes networking, a critical aspect of cluster operation. It covers how external traffic reaches your applications, how services are discovered within the cluster, and how to control network traffic flow for security and isolation.

Key Points

  • **Ingress:** An API object that manages external access to services in the cluster, typically via HTTP and HTTPS. It acts as a reverse proxy and load balancer.

Common Mistakes

  • **Ingress vs. Service:** Ingress manages external access, while Services provide internal load balancing and discovery.

Exam Tips

  • Pay close attention to the wording of scenario questions, especially keywords like 'external access,' 'internal discovery,' and 'traffic control.'
Section 8Storage ManagementPreview
More in this section
  • 2 more summary sections in Pro version
  • 9 more key points in Pro version
  • 4 more common mistakes in Pro version
  • 4 more exam tips in Pro version
  • 13 more related questions in Pro version

Summary

Storage management in Kubernetes involves provisioning, attaching, and managing persistent storage for your applications. The exam tests how Kubernetes handles persistent volumes, claims, and storage classes, enabling applications to reliably store and retrieve data.

Key Points

  • **PersistentVolumeClaim (PVC):** A request for storage by a user. It defines the desired storage capacity, access modes, and storage class (if dynamic provisioning is enabled). PVCs decouple applications from the specifics of the underlying storage.

Common Mistakes

  • **PersistentVolume vs. PersistentVolumeClaim:** PV represents the storage resource; PVC represents the request for storage.

Exam Tips

  • Carefully read the scenario and identify the specific storage requirements (e.g., read-write access, data persistence).
Section 9Troubleshooting Common IssuesPreview
More in this section
  • 2 more summary sections in Pro version
  • 9 more key points in Pro version
  • 4 more common mistakes in Pro version
  • 5 more exam tips in Pro version
  • 19 more related questions in Pro version

Summary

Troubleshooting is a critical CKA skill. The exam tests diagnosing and resolving common issues encountered in a Kubernetes cluster, from Pod scheduling problems to Service connectivity failures and control plane instability.

Key Points

  • **Pending Pods:** A Pod stuck in Pending state indicates the scheduler cannot find a suitable node. This is often due to resource requests exceeding available capacity, node selectors, taints/tolerations, or affinity rules.

Common Mistakes

  • Distinguish between `ImagePullBackOff` and `CrashLoopBackOff`: one is an image retrieval problem, the other a container runtime failure.

Exam Tips

  • Always start with `kubectl describe` to gather information about the failing object and its events.
Section 10Applied Review & Best PracticesPreview
More in this section
  • 2 more summary sections in Pro version
  • 9 more key points in Pro version
  • 4 more common mistakes in Pro version
  • 4 more exam tips in Pro version
  • 17 more related questions in Pro version

Summary

The exam tests troubleshooting common issues within a Kubernetes cluster, emphasizing practical skills and diagnostic techniques. Effective troubleshooting is critical for maintaining cluster stability and application availability, and is a significant portion of the CKA exam.

Key Points

  • **CoreDNS:** Kubernetes' default DNS server. Understanding its configuration and health is essential for resolving service names within the cluster. Examine CoreDNS logs and configuration files for errors.

Common Mistakes

  • **kubelet vs. Container Runtime:** The kubelet manages Pods and reports status; the container runtime (e.g., containerd, CRI-O) actually runs the containers.

Exam Tips

  • Prioritize troubleshooting steps. Start with the most likely cause and work your way down.