/Kubernetes-Certified-Administrator

Online resources that will help you prepare for taking the CNCF CKA "Kubernetes Certified Administrator" Certification exam. with time, This is not likely the comprehensive up to date list - please make a pull request if there something that should be added here.

Creative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

Kubernetes Certified Administration

Online resources that will help you prepare for taking the Kubernetes Certified Administrator Certification exam.

Disclaimer: This is not likely a comprehensive list as the exam will be a moving target with the fast pace of k8s development - please make a pull request if there something wrong, should be added, or updated.

I tried to restrict the cross references of resources to kubernetes.io. Youtube videos and other blog resources are optional; however, I still found them useful in my k8s learning journey.

Ensure you have the right version of Kubernetes documentation selected (e.g. v1.19 as of 1st Sept 2020 exam) especially for API objects and annotations.

Other CK exams:

CKA Exam Objectives

These are the exam objectives you review and understand in order to pass the test.

Cluster Architecture, Installation, and Configuration 25%

  1. Manage role based access control
  2. Use kubeadm to install a basic cluster
  3. Manage a highly available Kubernetes cluster Weaveworks Kubeadm HA cluster
  4. Provision underlying infrastructure to deploy Kubernetes cluster
  5. Peform a version upgrade on Kubernetes cluster using kubeadm
  6. implment etcd backup and restore

Workloads & Scheduling – 15%

  1. Understand deployments and how to perform rolling update and rollbacks
  2. Use ConfigMaps and Secrets to configure applications
  1. Know how to scale applications
  1. Understand the primitives used to create robust, self-healing, application deployments
  1. Understand how resource limits can affect Pod scheduling
  2. Awareness of manifest management and common templating tools

Services & Networking – 20%

  1. Understand host networking configuration on the cluster nodes
  2. Understand connectivity between Pods
  1. Understand ClusterIP, NodePort, LoadBalancer service types and endpoints
  2. Know how to use Ingress controllers and Ingress resources
  • Ingress concepts
  1. Know how to configure and use CoreDNS
  2. Choose an appropriate container network interface plugin

Storage – 10%

  1. Understand storage classes, persistent volumes
  2. Understand volume mode, access modes and reclaim policies for volumes
  3. Understand persistent volume claims primitive
  4. Know how to configure applications with persistent storage

Troubleshooting – 30%

  1. Evaluate cluster and node logging
  2. Understand how to monitor applications
  3. Manage container stdout & stderr logs
  4. Troubleshoot application failure
  5. Troubleshoot cluster component failure
  6. Troubleshoot networking

Tips:

Get familiar with:

     $kubectl get pods -o wide  --show-labels  --all-namespaces
     or
     $kubectl get pods -o wide  --show-labels  -A     # -A is quicker than --all-namespaces
  • In kubectl utilizie --all-namespaces or better -A to ensure deployments, pods, objects are on the right name space, and right desired state

  • for events and troubleshooting utilize kubectl describe if its pod/resource related and logs if it is application issue related

     $kubectl describe pods <PODID>   # for pod, deployment, other k8s resource issues/events
     $kubectl logs <PODID>            # for container/application issues like crash loops
     
  • the '-o yaml' in conjuction with --dry-run allows you to create a manifest template from an imperative spec, combined with --edit it allows you to modify the object before creation
kubectl create service clusterip my-svc -o yaml --dry-run > /tmp/srv.yaml
kubectl create --edit -f /tmp/srv.yaml

Miscellaneous (resources not allowed during exam):

  1. Troubleshooting use cases by Ian/Container solutions