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

Cronjob command has changed format #47

Open
4 tasks
BretFisher opened this issue Feb 4, 2024 · 0 comments
Open
4 tasks

Cronjob command has changed format #47

BretFisher opened this issue Feb 4, 2024 · 0 comments
Labels
deprecation update A fix for something that is outdated but not broken yet

Comments

@BretFisher
Copy link
Owner

BretFisher commented Feb 4, 2024

Multiple slides and videos reference creating cronjobs from kubectl run commands. We need to update the slides, example commands, and corresponding videos.

The correct command has changed from:
kubectl run every3mins --schedule="*/3 * * * *" --restart=OnFailure \ --image=alpine sleep 10

to:
kubectl create cronjob sleep --schedule="*/3 * * * *" --restart=OnFailure --image=alpine -- sleep 10

To Do's

Original Q&A

@BretFisher BretFisher added the deprecation update A fix for something that is outdated but not broken yet label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation update A fix for something that is outdated but not broken yet
Projects
Status: Broken/Degraded Lecture 😥
Development

No branches or pull requests

1 participant