mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Fix create cronjob help message
This commit is contained in:
parent
1cad79ee2e
commit
b2b5952796
@ -41,13 +41,10 @@ var (
|
|||||||
|
|
||||||
cronjobExample = templates.Examples(`
|
cronjobExample = templates.Examples(`
|
||||||
# Create a cronjob
|
# Create a cronjob
|
||||||
kubectl create cronjob my-job --image=busybox
|
kubectl create cronjob my-job --image=busybox --schedule="*/1 * * * *"
|
||||||
|
|
||||||
# Create a cronjob with command
|
# Create a cronjob with command
|
||||||
kubectl create cronjob my-job --image=busybox -- date
|
kubectl create cronjob my-job --image=busybox --schedule="*/1 * * * *" -- date`)
|
||||||
|
|
||||||
# Create a cronjob with schedule
|
|
||||||
kubectl create cronjob test-job --image=busybox --schedule="*/1 * * * *"`)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateCronJobOptions struct {
|
type CreateCronJobOptions struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user