Kubernetes CKA Prep Notes

This page will be a living document to help me prepare for the CKA (Certified Kubernetes Administrator) exam.

The CKA curriculum can be found on github. As of 2022-02-13 it is targetting kubernetes 1.22. It looks intense.

CKA Curriculum

https://raw.githubusercontent.com/cncf/curriculum/master/CKA_Curriculum_v1.22.pdf

25% - Cluster Architecture, Installation & Configuration

# kubeadm-config.yaml
kind: ClusterConfiguration
apiVersion: kubeadm.k8s.io/v1beta3
kubernetesVersion: v1.23.4
networking:
  podSubnet: "192.168.0.0/16" # --pod-network-cidr
---
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: systemd

* cni, install calico
    * https://projectcalico.docs.tigera.io/getting-started/kubernetes/quickstart
    * are there docs on the kubernetes site?


* older docker stuff
    * [switch docker to systemd cgroup driver](https://kubernetes.io/docs/setup/production-environment/container-runtimes/)
    * Seriously ???
    * /etc/docker/daemon.json 
{
  "exec-opts": ["native.cgroupdriver=systemd"]
}

15% - Workloads & Scheduling

20% - Services & Networking

10% - Storage

30% - Troubleshooting