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