Fix create cronjob help message
Kubernetes-commit: b2b59527964a3629f5d50e4b724aa027b4c36cc5
This commit is contained in:
parent
19fd05792d
commit
b0e673d0df
|
@ -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