Skip to content

Instantly share code, notes, and snippets.

Forked from veggiemonk/
Created August 28, 2023 07:42
Show Gist options
  • Save mk3-14159/b00d646b4cb9d69b2e7da9a375071b70 to your computer and use it in GitHub Desktop.
Save mk3-14159/b00d646b4cb9d69b2e7da9a375071b70 to your computer and use it in GitHub Desktop.
CKAD exam preparation







All the resources are in the Kubernauts list


  • questions have a weight, I didn't even read questions with less than 5% on my first pass, I just wrote the number down in the note thingy and did them after all the more valuable questions were done.
  • use the note thingy because you have no way of knowing if you completed a question or not, unless you read the question again and check the cluster which is time consuming.
  • make sure you are working on the right cluster by setting the context at the beginning of each questions. The command is given to you, it will avoid to work on the wrong cluster! (ask me how I know that.....(-_-') )
  • remember to click on the button "end the exam"! I was there for 2 minutes not touching the keyboard wondering why this thing isn't over yet until the proctor reminded me. The button is hidden into the exam settings menu or something like that. A visible button would be nice though because after a 2h high-focus exam, no way I remember that kind of details.
  • before the exam starts, you have to remove all drinks and food, show your ID and show your desktop. I use a laptop with an external monitor so pro-tip: Make sure your cables are long enough or disconnect them completely. (again ask me how I know that.....(-_-') )
  • You can't read out loud or cover your mouth. I had no idea how hard that was until I actually tried!! No kidding.
  • just relax if you see something like "configure fluentd" or "HAproxy". No configuration of external tools will be asked of you! The config file is usually provided.
  • only the is allowed, know the examples of the documentation (see bookmarks for docs made by @rocketman). It saved me a lot of time to copy/paste examples and adapt them. Make sure the object names/labels are correct. (ok don't ask me how I know that one....)
  • knowing the basics of vim will help:
  • a few times I had to use cat pod.yaml | sudo tee -a /opt/some/long/cryptic/file.yaml because the file access was root and it was already created. I didn't know if I could overwrite the file with a sudo cp or not.
  • learn to use kubectl explain pod.spec.XXX, it saves time. Although a simple search in the might give you the answer too.
  • the problem with the is that a CTRL-F/CMD-F might yield results hidden in the left side menu which confused the hell out of me first.
  • using the latest version (1.13) of the documentation was totally fine by me. No need to go back to 1.11 or 1.12
  • check out the help with kubectl bla bla -h, there is usually good examples that you can just copy/paste/adapt.
  • use autocomplete and learn how to use efficiently.
alias k=kubectl
source <(kubectl completion bash) # completion will save a lot of time and avoid typo
source <(kubectl completion bash | sed 's/kubectl/k/g' ) # so completion works with the alias "k"

## good to know
k get po -n prod[TAB]uction # will autocomplete the namespace
k describe po -n production [TAB] # will list the pods in the namespace "production"

I hope it helps.

* For the CKAD, here are my notes:
* an article with some helpful links:
* this list is awesome!!
* systemd
* tmux should be useful as well (
* practice this in order to understand k8s:
* this can help as well:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment