kubernetes-mastery icon indicating copy to clipboard operation
kubernetes-mastery copied to clipboard

Cronjob command has changed format

Open BretFisher opened this issue 1 year ago • 0 comments

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 avatar Feb 04 '24 19:02 BretFisher