codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Follow publication

Kubernetes CKAD Example Exam Questions Practical Challenge Series

Kim Wuestkamp
codeburst
Published in
2 min readApr 4, 2019

--

CKS Exam Series | CKA Exam Series | CKAD Exam Series

#####################################

THIS CHALLENGE WON’T BE UPDATED HERE AND MOVED TO:

https://killercoda.com/killer-shell-ckad

######################################

Why?

CKAD is all about the practical experience with Kubernetes which I like about this certificate. Also apart from the certificate having not just theoretical knowledge is awesome… and fun!

Challenges:

Overview and Tips

  1. Creating Pods
  2. Namespaces, Deployments and Services
  3. CronJobs and Volumes
  4. Deployment Rollout Rollback
  5. Secrets and ConfigMaps
  6. NetworkPolicy
  7. Service Migration
  8. (moved to CKA challenge series)
  9. Logging Sidecar
  10. Deployment Hacking
  11. SecurityContexts
  12. Various Environment Variables
  13. ReplicaSet without Downtime

More Challenges

For a completely simulated environment check out the:

https://killer.sh

How to be efficient?

Be fast with Kubectl ≥ 1.18

You can configure Kubernetes in different ways, you can write a yaml file from scratch and then kubectl create it, but this takes time.

Or you can use kubectl run to create your object directly using mostly default values, then you can output the yaml with something like kubectl get pod my-pod -o yaml --export and further adjust it. Or even use kubectl create --dry-run -o yaml to not even create objects.

Or you wget an example yaml from the Kubernetes docs and adjust it.

Monitor your cluster

I usually run this command all the time in an open Terminal to always check what’s happening in my cluster:

watch -n 0.5 "kubectl config current-context; echo ''; kubectl config view | grep namespace; echo ''; kubectl get namespace,node,ingress,pod,svc,job,cronjob,deployment,rs,pv,pvc,secret,ep -o wide"

It prints out the current context, namespace and then all possible Kubernetes objects.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Published in codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Written by Kim Wuestkamp

killercoda.com | killer.sh (CKS CKA CKAD Simulator) | Software Engineer, Infrastructure Architect, Certified Kubernetes

Responses (5)

Write a response