BretFisher / kubernetes-mastery

Kubernetes course on Udemy from @BretFisher and @jpetazzo
https://www.bretfisher.com/kubernetes-mastery/
Other
240 stars 192 forks source link

Cronjob command has changed format #47

Open BretFisher opened 9 months ago

BretFisher commented 9 months ago

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