kubernetes-mastery
kubernetes-mastery copied to clipboard
Kubernetes >= 1.18 breaks run commands in multiple lectures
Multiple lectures need to be replaced due to kubectl run
only creating pods in version 1.18 and newer. All supported course distros have updated to at least 1.18. It's now time to fix the lecture videos.
- [ ] S6 25 Your First Deployment with Kubectl.
- [x] S6 26 Change or remove text lecture.
- [ ] S6 27 Kubectl logs uses "deploy/pingpong", and "scale". Really, this should be broken out into logs and scale commands. udemy
- [ ] add
--
to create command (in 28 as well)kubectl create deployment pingpong --image=alpine -- ping localhost
- [ ] add
- [ ] S6 28 (more logs) deleting pod in deployment. It won't work as it.
- [ ] S6 29 Kubectl run cronjob doesn't work. Maybe turn this into "kubectl create" section? for now I could just change run= to app= in slide and screen.
- [ ] S6 30 "Resource creation and run changes Turn into a "pre 1.18" video for kubectl run?
- [ ] S6 31 logs command on pingpong deploy with three replicas. Uses scale command again. udemy
- [ ] S6 32
- [ ] S6 33 Cleanup pingpong and cronjob: "deploy/pingpong and cronjob/sleep"
- [ ] S8 34 A Deployment Visual Walkthrough: "19,000 words" shows a run command in slide and graphics. Also only deploys one pod, but I still think I could likely edit w/o recreating udemy | slides | updated slides
- needs direct link in resources, to the exact slide
Main Commits from Jérôme
Update for Kubernetes 1.18 kubectl run
· jpetazzo/container.training@fef3fa3
Update kubectl run slideshow · jpetazzo/container.training@46f0bc0
Update kubectl run to kubectl create deploy · jpetazzo/container.training@63e68ab
From a student:
Also the create cronjob lecture 28 fails due to the fact that the command line is completely different.
kubectl create cronjob sleepyalpine --schedule="*/3 * * * *" --restart=OnFailure --image=alpine -- sleep 10