Workloads & Scheduling
Deploy and manage application workloads with proper scheduling and configuration (15% of exam).
In the context of the Certified Kubernetes Administrator (CKA) exam, 'Workloads & Scheduling' represents a critical domain focusing on how applications are packaged, deployed, and assigned to specific nodes within the cluster. **Workloads** refer to the Kubernetes controllers that manage the lifec…
Concepts covered: Understand application deployments and how to perform rolling update and rollbacks, Use ConfigMaps and Secrets to configure applications, Configure workload autoscaling, Understand the primitives used to create robust, self-healing, application deployments, Configure Pod admission and scheduling (limits, node affinity, etc.), DaemonSets and StatefulSets, Jobs and CronJobs, Resource requests and limits, Taints and tolerations, Node selectors and affinity rules, Pod priority and preemption, Horizontal Pod Autoscaler (HPA), Init containers and sidecar patterns
CKA - Workloads & Scheduling Example Questions
Test your knowledge of Workloads & Scheduling
Question 1
A Kubernetes administrator needs to configure a Pod so that it will only be scheduled on nodes that do NOT have a specific taint. The taint key is 'dedicated' with value 'database' and effect 'NoSchedule'. How should the Pod specification be configured to allow scheduling on these tainted nodes?
Question 2
A developer wants to deploy a containerized application that should always have 3 identical Pods running. If any Pod fails or gets deleted, the system should automatically create a new one to replace it. Which Kubernetes resource is most commonly used to achieve this behavior?
Question 3
A Kubernetes administrator is configuring a deployment where pods must be scheduled on nodes that do NOT have a specific label key present. The nodes to avoid have the label environment=production. Using requiredDuringSchedulingIgnoredDuringExecution node affinity, which operator in matchExpressions would correctly exclude nodes with this label key?