Get a Kubernetes Hands-on Quiz Experience: kodekloud.com/courses/kubernetes-certification-course/lectures/6743646
@rishabsahai45794 жыл бұрын
At 12:03 after editing how can you save the file not able to get it
@andreygrigorev83662 жыл бұрын
link is broken
@matsimolara4 жыл бұрын
The "kubectl get rs rs_name -o yaml" command was realy useful, I was looking for it like for 30 minuts during the quiz, at the end I just use the kubectl edit command and then delete all the pods. By the way congrats for this course is realy interesting, I hope that at the end of the course I could pass the CKA.
@rajeshchouhan4584 жыл бұрын
thanks for the video
@kirillfil29655 жыл бұрын
Instead of export YAML and delete replicaset or delete each pod, we can just: # kubectl scale --replicas=8 replicaset new-replica-set && # kubectl scale --replicas=4 replicaset new-replica-set isn't it an option?
@DavidCastillo-xu1sx4 жыл бұрын
I think, termination of pods when you scale it down is random. you might still have the old pods.
@MandeepSingh-tu4hp4 жыл бұрын
ApiVersion supposed to be apps/v1 in case of replicaSet but in question where you are running `kubectl edit rs new-replica-set` and changing image from busybox777 to busybox its showing apiversion as `extensions/v1beta1`
@UncoveringCanadasBeauty4 жыл бұрын
Thanks!! Your course is awesome
@andud3 жыл бұрын
I'm curious what exclamation means at the end of :wq! vim command 🤔. If file is not writable it will break command execution anyway, if its properly written q should exit clean... and there is laways simple :x (in vim)
@nestorreveron5 жыл бұрын
Thanks Mumshad
@sunggunYu4 жыл бұрын
You can do `kubectl set image replicaset new-replica-set busybox-container=busybox` instead of updating it with `kubectl edit replicaset`
@souvikdas82264 жыл бұрын
how to edit with kubectl edit command. i can not type anything in the editor. can you help me and let me know what ket needs to press to save the changes
@ibeofa14 жыл бұрын
@@souvikdas8226 if you are editing using vim, press letter i on your keyboard to activate insertion, then escape and semi-colon + x to save your work.
@bsachin2074 жыл бұрын
Easy way to delete the pods created by Replica set: `kubectl delete pods -l name=busybox-pod` (from here jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_delete/) IF THOSE ARE THE ONLY PODS IN THAT NAMESPACE THEN: `kubectl delete pods --all` Enjoy!!