Skip to content

Instantly share code, notes, and snippets.

@andreichernov
Forked from benc-uk/ckad-learning.md
Created March 5, 2021 08:52
Show Gist options
  • Save andreichernov/265f3be60ba4135bf5773c2e9f97cde5 to your computer and use it in GitHub Desktop.
Save andreichernov/265f3be60ba4135bf5773c2e9f97cde5 to your computer and use it in GitHub Desktop.

Revisions

  1. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 58 additions and 2 deletions.
    60 changes: 58 additions & 2 deletions ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,62 @@
    - [CNCF Training Portal](https://training.cncf.io/portal)
    - [System Checker](https://www.examslocal.com/ScheduleExam/Home/CompatibilityCheck)


    # Curriculum
    - [PDF](https://github.com/cncf/curriculum/blob/master/CKAD_Curriculum_V1.15.0.pdf)
    - [Contents](https://user-images.githubusercontent.com/14982936/72896024-b98fb800-3d16-11ea-9f7e-b919bdef3881.png)
    - [v1.15 Aug 2019 PDF](https://github.com/cncf/curriculum/blob/master/CKAD_Curriculum_V1.15.0.pdf)
    - [v1.15 Contents](https://user-images.githubusercontent.com/14982936/72896024-b98fb800-3d16-11ea-9f7e-b919bdef3881.png)


    # Resources I Used
    - Exercises. This was 95% of the learning I did. **DO ALL OF THESE. MORE THAN ONCE**
    Once you can do these (without looking up the answer), you are ready
    https://github.com/dgkanatsios/CKAD-exercises/
    - Very good Medium post
    https://medium.com/@nassim.kebbani/how-to-beat-kubernetes-ckad-certification-c84bff8d61b1
    - Also good Medium post
    https://medium.com/bb-tutorials-and-thoughts/how-to-pass-the-certified-kubernetes-application-developer-ckad-exam-503e9562d022
    - This post explains the web terminal you will use and has other tips
    https://codeburst.io/the-ckad-browser-terminal-10fab2e8122e
    - MS Premier person's post, some more insight
    https://devblogs.microsoft.com/premier-developer/certified-kubernetes-application-developer-ckad-exam-tips/


    # Themes & Things To Revise & Focus On
    - **ConfigMaps** & mounting into containers as volumes
    - More **ConfigMaps**, seriously it was on about three or four questions, practice all the ways of creating & using a ConfigMap [DOCS LINK](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/)
    - Learn to use every variation of `kubectl run` and use with or without the `--dry-run -o yaml` flags, e.g.
    - `--restart=Never` will create a **Pod**
    - `--restart=Always` and `--replicas` will create a **Deployment**
    - `--restart=OnFailure` will create a **Job**
    - `--restart=OnFailure` and `--schedule` will create a **CronJob**
    - Pass any commands for the pod/container to run at the end of the command after `--`
    e.g. `kubectl run webpod --image nginx --restart Never -- sleep 600`
    - Memorise the `volumeMount` and `volumes` syntax of pod & container spec, you don't have time to look it up, and it comes up a lot
    - Multi container pods, experiment with deploying this, and sharing a volume using `emptyDir`
    - Network Policy, `podSelectors` both for ingress/egress rules and applying the policy
    - PV and PVC, go through creating both and a pod to use the PVC, [DOCS LINK](https://kubernetes.io/docs/concepts/storage/persistent-volumes/)
    - Surprise! one question required SSH onto a node to create a file for PV of `hostPath` type
    - Ingresses are not in the exam, nor are CRDs, Helm, etc, only core, non-beta API objects
    - Editing objects directly with `kubectl edit` ... only do this if you're confident of the change you're making, i.e. It's something mutable and you know the syntax
    - If you save and it's wrong you're thrown back into the editor. If you're anything less than 99% sure, then export the YAML `kubectl get foobar -o yaml --export > blah.yaml` and edit that
    - Often the change you are making requires you to delete the object (as it's an immutable field) so `kubectl edit` is never going to work


    # Bash/Terminal Tips

    Enable `kubectl` auto complete, very useful and part of the docs so you can copy & paste it
    https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-autocomplete


    Aliases. Shortening `kubectl` to `k` is a HUGE time saver! I used `kn` as a way to change namespaces
    ```
    alias k=kubectl
    alias kn='kubectl config set-context --current --namespace '
    ```

    Change editor used by `kubectl edit`
    ```
    export KUBE_EDITOR=nano
    ```

    If a command like delete is taking a while, hit `ctrl+z` to put it to the background and carry on working
  2. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -9,5 +9,5 @@
    - [System Checker](https://www.examslocal.com/ScheduleExam/Home/CompatibilityCheck)

    # Curriculum
    - https://github.com/cncf/curriculum/blob/master/CKAD_Curriculum_V1.15.0.pdf
    ![](https://user-images.githubusercontent.com/14982936/72896024-b98fb800-3d16-11ea-9f7e-b919bdef3881.png)
    - [PDF](https://github.com/cncf/curriculum/blob/master/CKAD_Curriculum_V1.15.0.pdf)
    - [Contents](https://user-images.githubusercontent.com/14982936/72896024-b98fb800-3d16-11ea-9f7e-b919bdef3881.png)
  3. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -10,3 +10,4 @@

    # Curriculum
    - https://github.com/cncf/curriculum/blob/master/CKAD_Curriculum_V1.15.0.pdf
    ![](https://user-images.githubusercontent.com/14982936/72896024-b98fb800-3d16-11ea-9f7e-b919bdef3881.png)
  4. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -5,5 +5,8 @@
    - [CKAD FAQ](http://training.linuxfoundation.org/go/cka-ckad-faq)

    ## The Exam Itself
    - [Login](https://www.examslocal.com/linuxfoundation)
    - [CNCF Training Portal](https://training.cncf.io/portal)
    - [System Checker](https://www.examslocal.com/ScheduleExam/Home/CompatibilityCheck)

    # Curriculum
    - https://github.com/cncf/curriculum/blob/master/CKAD_Curriculum_V1.15.0.pdf
  5. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    # Official Exam Links & Resources
    - [Main page](https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/)
    - [Main certification landing page](https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/)
    - [Handbook](https://training.linuxfoundation.org/go/cka-ckad-candidate-handbook)
    - [Tips](http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD)
    - [FAQ](http://training.linuxfoundation.org/go/cka-ckad-faq)
    - [Importannt Tips](http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD)
    - [CKAD FAQ](http://training.linuxfoundation.org/go/cka-ckad-faq)

    ## The Exam Itself
    - Login: https://www.examslocal.com/linuxfoundation
    - System Checker: https://www.examslocal.com/ScheduleExam/Home/CompatibilityCheck
    - [Login](https://www.examslocal.com/linuxfoundation)
    - [System Checker](https://www.examslocal.com/ScheduleExam/Home/CompatibilityCheck)
  6. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    # Official Exam Links & Resources
    - [Main page](https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/)
    - [Handbook](https://training.linuxfoundation.org/go/cka-ckad-candidate-handbook)
    - [Tips](http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD)
    - [FAQ](http://training.linuxfoundation.org/go/cka-ckad-faq)
    - [Main page](https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/)
    - [Handbook](https://training.linuxfoundation.org/go/cka-ckad-candidate-handbook)
    - [Tips](http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD)
    - [FAQ](http://training.linuxfoundation.org/go/cka-ckad-faq)

    ## The Exam Itself
    - Login: https://www.examslocal.com/linuxfoundation
  7. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    # Official Exam Links & Resources
    - Main page: https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/
    - Handbook: https://training.linuxfoundation.org/go/cka-ckad-candidate-handbook
    - Tips: http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD
    - FAQ: http://training.linuxfoundation.org/go/cka-ckad-faq
    - [Main page](https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/)
    - [Handbook](https://training.linuxfoundation.org/go/cka-ckad-candidate-handbook)
    - [Tips](http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD)
    - [FAQ](http://training.linuxfoundation.org/go/cka-ckad-faq)

    ## The Exam Itself
    - Login: https://www.examslocal.com/linuxfoundation
  8. @benc-uk benc-uk revised this gist Jan 22, 2020. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -1 +1,9 @@
    # foo
    # Official Exam Links & Resources
    - Main page: https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/
    - Handbook: https://training.linuxfoundation.org/go/cka-ckad-candidate-handbook
    - Tips: http://training.linuxfoundation.org/go//Important-Tips-CKA-CKAD
    - FAQ: http://training.linuxfoundation.org/go/cka-ckad-faq

    ## The Exam Itself
    - Login: https://www.examslocal.com/linuxfoundation
    - System Checker: https://www.examslocal.com/ScheduleExam/Home/CompatibilityCheck
  9. @benc-uk benc-uk created this gist Jan 22, 2020.
    1 change: 1 addition & 0 deletions ckad-learning.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    # foo