← Back to all products

Kubernetes CKA Lab Workbook

$79

Hands-on lab exercises for Certified Kubernetes Administrator: cluster setup, networking, storage, security, and troubleshooting.

30 filesv1.0.0
YAMLMarkdownJSONDockerKubernetesRedis

Product Preview

Try the interactive reader and demo tools below, or get the full product with all content unlocked.

Interactive Reader (Free Preview) ⚙ Try Demo Tools Download Free Sample

File Structure 30 files

kubernetes-cka-labs/ ├── LICENSE ├── README.md ├── config.example.yaml ├── free-sample.zip ├── guide/ │ ├── 01-cluster-architecture.md │ ├── 02-workloads-scheduling.md │ ├── 03-services-networking.md │ ├── 04-storage.md │ ├── 05-troubleshooting.md │ ├── 06-security-rbac.md │ └── 07-etcd-backup-restore.md ├── index.html ├── interactive.html ├── labs/ │ ├── 00-environment-setup.md │ ├── 01-cluster-architecture.md │ ├── 02-workloads-scheduling.md │ ├── 03-services-networking.md │ ├── 04-storage.md │ ├── 05-troubleshooting.md │ ├── 06-security-rbac.md │ └── 07-etcd-backup-restore.md ├── manifests/ │ ├── cluster-setup/ │ │ ├── cluster-role-binding.yaml │ │ └── kubeadm-config.yaml │ ├── networking/ │ │ └── networking.yaml │ ├── security/ │ │ └── security.yaml │ ├── storage/ │ │ └── storage.yaml │ └── workloads/ │ ├── cronjob.yaml │ └── deployment.yaml └── quick-reference/ └── cka-cheatsheet.md

Documentation Preview README excerpt

Kubernetes CKA Lab Workbook

Hands-on lab exercises for the Certified Kubernetes Administrator (CKA) exam. Practice every exam domain with realistic tasks, step-by-step solutions, verification commands, and ready-to-apply YAML manifests.

Exam Facts

DetailValue
Exam codeCKA
ProviderThe Linux Foundation / CNCF
FormatPerformance-based (hands-on tasks in a real cluster)
Questions15–20 performance tasks
Duration2 hours
Passing score66%
Cost$395 USD (includes one free retake)
Kubernetes version1.30 (as of 2026; verify at training.linuxfoundation.org)
Allowed resourceskubernetes.io/docs, kubernetes.io/blog, github.com/kubernetes
Validity2 years from pass date

Exam Domain Weights

DomainWeightLab File
Cluster Architecture, Installation & Configuration25%labs/01-cluster-architecture.md
Workloads & Scheduling15%labs/02-workloads-scheduling.md
Services & Networking20%labs/03-services-networking.md
Storage10%labs/04-storage.md
Troubleshooting30%labs/05-troubleshooting.md
(Cross-cutting) Security & RBAC—labs/06-security-rbac.md
(Cross-cutting) etcd Backup & Restore—labs/07-etcd-backup-restore.md
Security/RBAC and etcd tasks appear across multiple exam domains. They have dedicated labs here because they are consistently tested and commonly failed.

Who This Is For

  • Engineers with 6+ months of Kubernetes experience preparing for the CKA exam
  • SREs and platform engineers who want to validate their cluster administration skills
  • Team leads building internal Kubernetes training programs
  • Anyone who passed CKAD and wants to level up to administrator-level knowledge

Prerequisites

You should already be comfortable with:

  • Linux command line (bash, systemctl, journalctl, file editing)
  • Basic networking concepts (TCP/IP, DNS, ports, firewalls)
  • Container fundamentals (docker/podman run, images, volumes)
  • YAML syntax

What's Inside

Lab Exercises (`labs/`)

FileTopicsTasks
00-environment-setup.mdLab environment options, tool installation, kubectl setup3
01-cluster-architecture.mdkubeadm init/join, control plane components, upgrades, backup8
02-workloads-scheduling.mdDeployments, DaemonSets, StatefulSets, taints/tolerations, affinity8
03-services-networking.mdServices, Ingress, DNS, NetworkPolicy, CNI8
04-storage.mdPV, PVC, StorageClass, volume types, dynamic provisioning6
05-troubleshooting.mdNode failures, pod crashes, networking issues, control plane debug10

... continues with setup instructions, usage examples, and more.

Code Sample .yaml preview

manifests/cluster-setup/cluster-role-binding.yaml # cluster-role-binding.yaml # Common RBAC configurations for cluster administration --- # ClusterRole: Full admin access (built-in, shown for reference) # kubectl get clusterrole cluster-admin -o yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: namespace-admin rules: - apiGroups: ["", "apps", "batch", "networking.k8s.io"] resources: ["*"] verbs: ["*"] - apiGroups: [""] resources: ["namespaces"] verbs: ["get", "list"] # Can see namespaces but not create/delete them --- # ClusterRole: Read-only access to all resources (useful for monitoring/dashboards) apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cluster-reader rules: - apiGroups: ["", "apps", "batch", "networking.k8s.io", "storage.k8s.io"] resources: ["*"] verbs: ["get", "list", "watch"] --- # RoleBinding: Grant namespace-admin to a team in a specific namespace apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: dev-team-admin namespace: development subjects: - kind: Group name: dev-team # Maps to certificate O= field or OIDC group apiGroup: rbac.authorization.k8s.io roleRef: kind: ClusterRole # Can reference a ClusterRole in a RoleBinding name: namespace-admin # (limits scope to this namespace) apiGroup: rbac.authorization.k8s.io --- # ClusterRoleBinding: Grant read access cluster-wide to SRE team apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: sre-cluster-reader subjects: - kind: Group name: sre-team # ... 40 more lines ...