Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes >= 1.18 breaks run commands in multiple lectures #12

Open
1 of 11 tasks
BretFisher opened this issue Dec 11, 2020 · 1 comment
Open
1 of 11 tasks

Kubernetes >= 1.18 breaks run commands in multiple lectures #12

BretFisher opened this issue Dec 11, 2020 · 1 comment
Labels
bug Something isn't working deprecation update A fix for something that is outdated but not broken yet

Comments

@BretFisher
Copy link
Owner

BretFisher commented Dec 11, 2020

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.
  • 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
  • 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

@BretFisher BretFisher added the bug Something isn't working label Dec 11, 2020
@BretFisher BretFisher added the deprecation update A fix for something that is outdated but not broken yet label Aug 31, 2021
@BretFisher
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deprecation update A fix for something that is outdated but not broken yet
Projects
Development

No branches or pull requests

1 participant