Skill Path
Difficulty

CKA Hands-On Labs by GoLinuxCloud

Practice labs for the Certified Kubernetes Administrator exam on real multi-node kubeadm clusters. Each lab pairs with a lesson from the GoLinuxCloud CKA tutorial and checks your work automatically.

Introduction

These labs match the CKA Tutorial course hub. Read the linked article for commands and context, then open the lab on a live cluster.

Units 05–40 are the Foundation track (Before You Begin). 45–65 cover Parts 10–14 (CNI/CSI/CRI through etcd backup). RBAC, Node NotReady, and Gateway API follow in exam-domain order. More units (kubeadm install, full HA build, cluster upgrade) will appear as they are published.

Units are independent unless noted. Each one names the article and the CKA domain it supports.

Foundation — Cluster versions

Before you upgrade or troubleshoot, collect the API-server, kubectl, kubelet, runtime, and etcd versions and compare them to the skew policy.

CKA domain: Cluster architecture · Chapter: Before You Begin · Article: Check Kubernetes Cluster, Client and Node Versions

Foundation — kubectl and YAML

Generate a Deployment manifest with client dry-run, apply it, and scale replicas imperatively.

CKA domain: Workloads and scheduling · Chapter: Part 3 · Article: kubectl Commands and YAML Examples

Foundation — Control plane

Count control-plane and worker nodes and confirm the API server static Pod is visible in kube-system.

CKA domain: Cluster architecture (25%) · Chapter: Part 4 · Article: Kubernetes Architecture

Foundation — Namespaces

Create development and testing namespaces, deploy the same Deployment name in each, and set a default namespace on your context.

CKA domain: Cluster architecture (25%) · Chapter: Part 5 · Article: Kubernetes Namespaces

Foundation — Labels and selectors

Label a Deployment and list its Pods with a matching label selector.

CKA domain: Workloads and scheduling · Chapter: Part 6 · Article: Labels and selectors

Foundation — Annotations

Attach a runbook URL annotation to a Deployment and read it back with kubectl.

CKA domain: Cluster architecture · Chapter: Part 7 · Article: Kubernetes annotations

Foundation — Labels vs annotations

Put selector-friendly metadata in labels and human-oriented metadata in annotations on one Deployment.

CKA domain: Cluster architecture · Chapter: Part 8 · Article: Labels vs annotations

Foundation — API resources and explain

Create a Pod and answer field questions using kubectl explain and api-resources.

CKA domain: Cluster architecture · Chapter: Part 9 · Article: API resources and kubectl explain

Cluster architecture — CNI, CRI, and CSI

Identify the running CNI, the container runtime on a worker, and how many CSI drivers the API lists.

CKA domain: Cluster architecture (25%) · Chapter: Part 10 · Article: CNI, CSI, and CRI interfaces

Cluster architecture — Node lifecycle

Count Ready workers and inspect a target Node before drain, reset, or rejoin workflows.

CKA domain: Cluster architecture (25%) · Chapter: Part 11 · Article: Add, remove, reset, and rejoin cluster nodes

Cluster architecture — Cordon and drain

Cordon a worker, drain a test Deployment off it, then uncordon when maintenance ends.

CKA domain: Cluster architecture (25%) · Chapter: Part 12 · Article: Cordon, drain, and uncordon nodes

Cluster architecture — HA control plane

Inventory control-plane members and stacked etcd on a kubeadm cluster before you design HA.

CKA domain: Cluster architecture (25%) · Chapter: Part 13 · Article: Highly available control plane with kubeadm

Cluster architecture — etcd backup

Capture a verified etcd snapshot on the control-plane node with etcdctl and kubeadm PKI paths.

CKA domain: Cluster architecture (25%) · Chapter: Part 14 · Article: Back up and restore etcd

Cluster architecture — RBAC

Create a Role, ServiceAccount, and RoleBinding, then verify read-only Pod access with kubectl auth can-i.

CKA domain: Cluster architecture, installation and configuration (25%) · Article: Kubernetes RBAC with Examples

Troubleshooting — Node NotReady

Trace a NotReady worker through Node conditions and kubelet systemd, then bring the node back to Ready.

CKA domain: Troubleshooting (30%) · Article: Fix Kubernetes Node NotReady and kubelet Errors

Networking — Gateway API

Build GatewayClass, Gateway, and HTTPRoute objects and route traffic by path prefix on a live cluster.

CKA domain: Services and networking (20%) · Article: Kubernetes Gateway API with HTTPRoute Examples