Skip to content

Cronjob command has changed format #47

@BretFisher

Description

@BretFisher

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecation updateA fix for something that is outdated but not broken yet

    Projects

    Status

    Broken/Degraded Lecture 😥

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions