Tips on preparing for Certified Kubernetes Application Developer (CKAD)

  Переглядів 52,914

Muralidaran Shanmugham

Muralidaran Shanmugham

День тому

Tips on preparing for Certified Kubernetes Application Developer (CKAD)
Commands shared in the PPT
kubectl run nginx --image=nginx (deployment)
kubectl run nginx --image=nginx --restart=Never (pod)
kubectl run nginx --image=nginx --restart=OnFailure (job)
kubectl run nginx --image=nginx --restart=OnFailure --schedule="* * * * *" (cronJob)
kubectl run nginx -image=nginx --restart=Never --port=80 --namespace=myname --command --serviceaccount=mysa1 --env=HOSTNAME=local --labels=bu=finance,env=dev --requests='cpu=100m,memory=256Mi' --limits='cpu=200m,memory=512Mi' --dry-run -o yaml - /bin/sh -c 'echo hello world'
kubectl run frontend --replicas=2 --labels=run=load-balancer-example --image=busybox --port=8080
kubectl expose deployment frontend --type=NodePort --name=frontend-service --port=6262 --target-port=8080
kubectl set serviceaccount deployment frontend myuser
kubectl create service clusterip my-cs --tcp=5678:8080 --dry-run -o yaml

КОМЕНТАРІ: 44
@decabecaparabaixodevelopme9178
@decabecaparabaixodevelopme9178 3 роки тому
If you use vi you can set the config ':set expandtab' to convert any tabs into spaces. In this way, you can copy and paste from documentation without any problem.
@amitvlogs536
@amitvlogs536 11 місяців тому
In my vi editor I tried, :set expandtab, nothing happened. I purposely copy pasted text having tab and no difference after setting :set expandtab
@guvenckazanci3245
@guvenckazanci3245 3 роки тому
"kubectl run" does not create "Deployment" anymore with the latest kubernetes versions, better to update it here too. "kubectl run nginx --image=nginx" => this will only create pod by the way, a very good and helpful video, thanks.
@Laftors
@Laftors Місяць тому
... which of course explains why the 'replicas' flag is not accepted anymore the kubectl run command
@ryan-chase
@ryan-chase 4 роки тому
For the Unix tips presented at ~20:45, it would be really helpful to show exactly how these can be used in the context of a typical exam question. It's not clear exactly how these commands could be used or why they're useful. This would make for a great follow-up video or blog post.
@techimadhu
@techimadhu 4 роки тому
Thanks for sharing the tips. This is very useful !
@rohithravindran100
@rohithravindran100 4 роки тому
thanks for the video and the valuable tips provided
@dansmith5783
@dansmith5783 3 роки тому
Thank you for tips! I googled bash exercises and nano videos and mumshad's course covers the rest. Keep up the helpful videos your very good at explaining things 🙌
@johnli9486
@johnli9486 4 роки тому
Great tips, well done.
@localho
@localho 5 років тому
thanks for sharing
@user-pf4iz8uc8t
@user-pf4iz8uc8t 4 роки тому
Thank you! Very helpfull!
@worldexplorer796
@worldexplorer796 4 роки тому
Great information Murali. God bless you. Would be great if you could paste those commands in description.
@ferhatcan5262
@ferhatcan5262 Місяць тому
thank you your time, so nice explanation
@abanisahoo5926
@abanisahoo5926 Рік тому
Very helpful tips.!
@devenshah3653
@devenshah3653 4 роки тому
good tips, thanks.
@rguntu9
@rguntu9 5 років тому
This is useful. Thanks
@mayurilulla2597
@mayurilulla2597 3 роки тому
thank you!.
@jdialexandre
@jdialexandre 4 роки тому
Great tips, mate ! Would you be able to share the PPT ?
@zahurulhaque6377
@zahurulhaque6377 4 роки тому
Wonderful tips mate. btw which version of Kube you had on your exam? 1.18?
@ivo.woltring
@ivo.woltring 3 роки тому
Thanks for the tips the 'kubectl run nginx --image=nginx --restart=OnFailure --schedule="* * * * *"' command won't work anymore it is deprecated some extra tips: in vi you can replace all tabs to spaces simply by: :%s/\t/ /g (two spaces between / /) if you want to expand tabs and stuff easily and correctly, just edit .vimrc and place this command there: set ts=2 sts=2 sw=2 et which means: tabstop=2 softtabstop=2 shiftwidth=2 expandtab or perform this command in the vim editor itself on the : but then it is only valid for that session...
@hippolyteasah4341
@hippolyteasah4341 Рік тому
I need more explanation on how to do this.
@hippolyteasah4341
@hippolyteasah4341 Рік тому
the \t is giving me an error
@sagirpathan07
@sagirpathan07 4 роки тому
It's great info, thank you Murali. How much time it will take to prepare for this exam. I have no experience on kubernetes and just started learning
@chaitu909
@chaitu909 3 роки тому
Hi Murali, Can you please clarify the following: 1) If I can use the Yaml Definition files of various objects say (volumes, pvc etc) from the official documentation during the CKAD exam. Its very difficult to memorize all the fields, especially sub-fields. 2) Please suggest if all the questions weigh same points or few questions carry more marks than others.
@mrnobody5763
@mrnobody5763 3 роки тому
Context are already provided or you need to create them by yourself, and, in case, they give you all the instructions in case? Thank you, A.
@ryan-chase
@ryan-chase 4 роки тому
@ ~11:00 when you discuss using contexts, I assume that you have previously created the context, mycontext? Otherwise, by only running `kubectl config set-context mycontext --namespace=mynamespace`, without defining a "user" or "cluster", you would not be able to view any existing resources in that namespace even if you have set the "mynamespace" context as your current context (i.e. `kubectl config use-context mynamespace`). Can you please confirm as I think this may cause confusion for viewers?
@johantoday
@johantoday 3 роки тому
It would be better to change the namespace for the current context: kubectl config set-context --current --namespace= When finished, run kubectl config set-context --current --namespace=""
@ROBLOX_GAMER_515
@ROBLOX_GAMER_515 Рік тому
Is this relevant for ABAPers? who are planning to work on SAP BTP
@atmagnani
@atmagnani Рік тому
kubectl explain pod.spec.containers --recursive ---> thanks for sharing this command is helpfull
@bhaskartaneja6293
@bhaskartaneja6293 4 роки тому
It seems you have deployed a kubernetes cluster locally. Can you tell , what did you do to set up ? I tried doing so on Win 7 , but it somehow fails with miniukube.
@Rope257
@Rope257 3 роки тому
Make sure you're on Windows 7 Pro, not Windows 7 Home. Pro enables virtualization and allows the Windows Hypervisor feature.
@_Username__
@_Username__ 3 роки тому
many of these Qs are deprecated
@NativeDevOps
@NativeDevOps 5 років тому
can u share the ppt ?
@dtvind
@dtvind 2 роки тому
From comments below watch video but do try to practice new commands
@staceyh746
@staceyh746 4 місяці тому
Does the test let you know if you have done something correctly so you can fix it if you have not?
@zahurulhaque6377
@zahurulhaque6377 4 роки тому
I have attempted exam yesterday, command like kubectl run nginx --image=nginx --restart=OnFailure --schedule="* * * * *" would fail in kube 1.18, need to use kubectl create cronjob/deploy/job etc
@MsPiyushgupta
@MsPiyushgupta 4 роки тому
can you share the ppt with me ?
@Rope257
@Rope257 3 роки тому
Pro-tip: Don't use YAML, use JSON. JSON is not sensitive to white-space.
@4ahmad4
@4ahmad4 3 роки тому
5th command should be like this: kubectl run nginx --image=nginx --restart=Never --port=80 --namespace=myname --command --serviceaccount=mysa1 --env=HOSTNAME=local --labels=bu=finance,env=dev --requests='cpu=100m,memory=256Mi' --limits='cpu=200m,memory=512Mi' --dry-run -o yaml -- /bin/sh -c 'echo hello world'
Kubernetes Design Principles: Understand the Why - Saad Ali, Google
37:53
CNCF [Cloud Native Computing Foundation]
Переглядів 123 тис.
skibidi toilet 73 (part 2)
04:15
DaFuq!?Boom!
Переглядів 31 млн
Эффект Карбонаро и пончики
01:01
История одного вокалиста
Переглядів 8 млн
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Переглядів 202 тис.
OpenAI "SHOCKED" Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Переглядів 10 тис.
Vim Crash Course | How to edit files quickly in CKAD / CKA exam
28:04
The FrontOps Guy
Переглядів 22 тис.
Where People Go When They Want to Hack You
34:40
CyberNews
Переглядів 61 тис.
How I Passed the CKA Exam (2023)
7:21
StevenTalksTech
Переглядів 14 тис.
Mock Test - 1, CKAD Prep Exam
35:43
The FrontOps Guy
Переглядів 29 тис.
Kubernetes - CKA - CKAD - Preparation Tips Explained
25:22
KodeKloud
Переглядів 24 тис.