CKAD-exercises
CKAD-exercises copied to clipboard
A set of exercises to prepare for Certified Kubernetes Application Developer exam by Cloud Native Computing Foundation
URL: https://github.com/dgkanatsios/CKAD-exercises/blob/main/e.observability.md#create-a-busybox-pod-that-runs-i0-while-true-do-echo-i-date-ii1-sleep-1-done-check-its-logs Task: Create a busybox pod that runs 'i=0; while true; do echo "$i: ((i+1)); sleep 1; done'. Check its logs Should be: Create a busybox pod that runs...
On a mac m1 setting the image to 1.7.1 fails due to not supporting the arm64 architecture. Bumping the image tag to a more recent version resolves the issue. resolves...
In Core Concepts we create an nginx container and expose it: `kubectl run nginx --image=nginx --restart=Never --port=80` Then in the next step set the image to be nginx:1.7.1 `kubectl set...
Fix pod expose
First, awesome work Sir! Do you think that will be added also CKA related exercises?
First off - thanks for creating this - it's great prep. Secondly, I think there may be an issue with one of the answers to the services questions. The answers...
Adds exercises for Role Based Access Control - Role, RoleBinding, ClusterRole, ClusterRoleBinding
Update the Helm section - reorder a few tasks to improve flow - add some generic explanations of commands - formatting and terminology cleanup
Alternative approach (easiest for me!) At the k8s docs, search for "Configure Pod Initialization" Go to the page https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/#create-a-pod-that-has-an-init-container copy-paste the code and it is pretty much the exact answer...
use the short form `-r`