Filters
How to search
  • Plain words find names, texts and examples.
  • "two words" finds the exact phrase.
  • --name or -x finds an option.
  • #word looks only inside commands.
  • @grep finds lessons and labs that use grep.
  • Filters: cat:network · in:labs · in:notes · level:rhcsa · ch:8 · root:yes. Put ! before a word to leave it out. OR between words means one of them.
  • ↑ ↓ to move · Enter to open · Esc to close · / to search

Certified Kubernetes Administrator (CKA)

Run Kubernetes clusters: install and upgrade with kubeadm, back up etcd, RBAC, workloads, scheduling, services and networking, storage, Helm and Kustomize, and troubleshooting. Phase 4 of my path.

Course by
CNCF
Course code
CKA
Version
Kubernetes 1.3x
Lessons
70

These summaries follow the public outline of the course. I wrote every lesson in my own words and tested the commands on RHEL 10. They are not Red Hat training material. Take the official course for the full content and the hands-on labs.

Next course: CKS

Parts and chapters

Part 1

Cluster architecture, installation and configuration (25 %)

  1. 1Understand the Kubernetes architectureCluster architecture5 lessons
    Lessons
    1. 1.1 Know the control plane and the nodes
    2. 1.2 Know the main objects
    3. 1.3 Talk to the API with kubectl
    4. 1.4 Write objects in YAML
    5. 1.5 Understand labels and selectors
  2. 2Build a cluster with kubeadmInstallation and configuration6 lessons
    Lessons
    1. 2.1 Prepare every node
    2. 2.2 Initialise the control plane
    3. 2.3 Install a CNI plugin
    4. 2.4 Join worker nodes
    5. 2.5 Know high availability
    6. 2.6 Configure kubeconfig and contexts
  3. 3Upgrade the cluster and back up etcdCluster maintenance6 lessons
    Lessons
    1. 3.1 Take a node out for maintenance
    2. 3.2 Upgrade the control plane
    3. 3.3 Upgrade the worker nodes
    4. 3.4 Back up etcd
    5. 3.5 Restore etcd
    6. 3.6 Renew certificates
  4. 4Control access with RBAC and service accountsRole-based access control6 lessons
    Lessons
    1. 4.1 Know the four RBAC objects
    2. 4.2 Create a role and a binding
    3. 4.3 Test permissions
    4. 4.4 Use service accounts
    5. 4.5 Add a user with a certificate
    6. 4.6 Use the built-in cluster roles
  5. 5Install components with Helm and KustomizeHelm, Kustomize, CRDs and operators4 lessons
    Lessons
    1. 5.1 Install a chart with Helm
    2. 5.2 Upgrade and roll back a release
    3. 5.3 Change YAML with Kustomize
    4. 5.4 Understand CRDs and operators

Part 2

Workloads and scheduling (15 %)

  1. 6Run apps with Deployments, ConfigMaps and SecretsWorkloads6 lessons
    Lessons
    1. 6.1 Create and scale a Deployment
    2. 6.2 Roll out and roll back
    3. 6.3 Configure apps with ConfigMaps and Secrets
    4. 6.4 Check health with probes
    5. 6.5 Scale automatically with HPA
    6. 6.6 Use the other workload types
  2. 7Control where pods run and how much they useScheduling and resources6 lessons
    Lessons
    1. 7.1 Set requests and limits
    2. 7.2 Limit a namespace
    3. 7.3 Choose nodes with selectors and affinity
    4. 7.4 Keep pods away with taints
    5. 7.5 Run static pods
    6. 7.6 Use priority classes

Part 3

Services and networking (20 %)

  1. 8Reach pods with Services and DNSServices and cluster DNS5 lessons
    Lessons
    1. 8.1 Know the service types
    2. 8.2 Expose a Deployment
    3. 8.3 Check the endpoints
    4. 8.4 Use cluster DNS
    5. 8.5 Know how kube-proxy routes
  2. 9Route HTTP traffic with Ingress and the Gateway APIIngress and Gateway API5 lessons
    Lessons
    1. 9.1 Know the parts
    2. 9.2 Write an Ingress
    3. 9.3 Add TLS
    4. 9.4 Use the Gateway API
    5. 9.5 Troubleshoot routing
  3. 10Limit pod traffic with NetworkPoliciesNetwork policies and CNI5 lessons
    Lessons
    1. 10.1 Know how policies work
    2. 10.2 Deny everything first
    3. 10.3 Allow the needed traffic
    4. 10.4 Allow traffic from other namespaces
    5. 10.5 Test the policies

Part 4

Storage (10 %)

  1. 11Give pods persistent storageStorage6 lessons
    Lessons
    1. 11.1 Know the storage objects
    2. 11.2 Know access modes and reclaim policies
    3. 11.3 Use dynamic provisioning
    4. 11.4 Create a PV by hand
    5. 11.5 Mount the PVC in a pod
    6. 11.6 Use other volume types

Part 5

Troubleshooting (30 %) and the exam

  1. 12Troubleshoot pods, nodes, the control plane and the networkTroubleshooting5 lessons
    Lessons
    1. 12.1 Debug a pod
    2. 12.2 Debug a node
    3. 12.3 Debug the control plane
    4. 12.4 Debug Services and DNS
    5. 12.5 Use logs and metrics of the cluster
  2. 13Work fast in the CKA examExam preparation5 lessons
    Lessons
    1. 13.1 Set up the terminal once
    2. 13.2 Use imperative commands
    3. 13.3 Find things in the docs fast
    4. 13.4 Work through the tasks
    5. 13.5 Practise the classic tasks

What you learn

The main skills of the course and the chapter where you learn each one.

Cluster architecture

Workloads and scheduling

Services and networking

Storage

Troubleshooting