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
Жыл бұрын
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
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
4 ай бұрын
... which of course explains why the 'replicas' flag is not accepted anymore the kubectl run command
@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.
@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
2 жыл бұрын
I need more explanation on how to do this.
@hippolyteasah4341
2 жыл бұрын
the \t is giving me an error
@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 🙌
@ferhatcan5262
4 ай бұрын
thank you your time, so nice explanation
@worldexplorer796
4 жыл бұрын
Great information Murali. God bless you. Would be great if you could paste those commands in description.
@techimadhu
5 жыл бұрын
Thanks for sharing the tips. This is very useful !
@rohithravindran100
4 жыл бұрын
thanks for the video and the valuable tips provided
@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
@atmagnani
Жыл бұрын
kubectl explain pod.spec.containers --recursive ---> thanks for sharing this command is helpfull
@localho
5 жыл бұрын
thanks for sharing
@zahurulhaque6377
4 жыл бұрын
Wonderful tips mate. btw which version of Kube you had on your exam? 1.18?
@jdialexandre
5 жыл бұрын
Great tips, mate ! Would you be able to share the PPT ?
@abanisahoo5926
Жыл бұрын
Very helpful tips.!
@johnli9486
5 жыл бұрын
Great tips, well done.
@chaitu909
4 жыл бұрын
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
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.
@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
@user-pf4iz8uc8t
4 жыл бұрын
Thank you! Very helpfull!
@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
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=""
@dtvind
3 жыл бұрын
From comments below watch video but do try to practice new commands
@NativeDevOps
5 жыл бұрын
can u share the ppt ?
@_Username__
3 жыл бұрын
many of these Qs are deprecated
@staceyh746
8 ай бұрын
Does the test let you know if you have done something correctly so you can fix it if you have not?
@mayurilulla2597
3 жыл бұрын
thank you!.
@devenshah3653
4 жыл бұрын
good tips, thanks.
@rguntu9
5 жыл бұрын
This is useful. Thanks
@ROBLOX_GAMER_515
Жыл бұрын
Is this relevant for ABAPers? who are planning to work on SAP BTP
@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
3 жыл бұрын
Make sure you're on Windows 7 Pro, not Windows 7 Home. Pro enables virtualization and allows the Windows Hypervisor feature.
@MsPiyushgupta
4 жыл бұрын
can you share the ppt with me ?
@Rope257
3 жыл бұрын
Pro-tip: Don't use YAML, use JSON. JSON is not sensitive to white-space.
@4ahmad4
4 жыл бұрын
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'
Пікірлер: 45