Skip to main content

Exam Tips

  • Use Imperative commands when possible (run/create/expose) (edit/scale/set) to save time
  • Complex requirements, multiple systems, use declarative files (IaC)

Use code: DEVOPS15 for a discount on the exam (Also SCRIPT20)

Links:

Container Runtime Engine must be installed on all nodes, including the master nodes if you wish to host the controlling components as containers. Docker is a popular CRE, but there are others like ContainerD or Rocket

Every ship has a captain, which manages all activities on a ship. Captain indicates they are interested in joining the group. The captain of the ship is the kubelet A kubelet is an agent that runs on each node in a cluster. It listens for instructions from the Kobe API and deploys or destroys containers on the nodes as required. Kube api server will periodically fetch status reports from kubelet.

todo: /etc/kubernetes/manifests ?

Imperative vs Declarative Imperative: What to do, and HOW to do it (Turn left at the next intersection) Written instructions step by step. 
 kubectl run/create/expose (create new) kubectl edit/scale/set (update existing)

Declarative: “Drive to Tom’s House”. Kubernetes figure out HOW to do it.

  • Infrastructure as Code
* kubectl replace -f, create -f, apply -f (path or directory)

CNI Networking

In the CKA exam, for a question that requires you to deploy a network addon, unless specifically directed, you may use any of the solutions described in the link above.

However, the documentation currently does not contain a direct reference to the exact command to be used to deploy a third party network addon. The links above redirect to third party/ vendor sites or GitHub repositories which cannot be used in the exam. This has been intentionally done to keep the content in the Kubernetes documentation vendor-neutral. At this moment in time, there is still one place within the documentation where you can find the exact command to deploy weave network addon:

https://v1-22.docs.kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/#steps-for-the-first-control-plane-node (step 2)