From 18e4eaff070089f0e491851fcb2b8ab9fc09caa1 Mon Sep 17 00:00:00 2001 From: ramnar Date: Tue, 10 Nov 2020 07:05:16 +0530 Subject: [PATCH] implemented feedback implemented feedback --- content/en/docs/reference/kubectl/cheatsheet.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/en/docs/reference/kubectl/cheatsheet.md b/content/en/docs/reference/kubectl/cheatsheet.md index 12f1f33434..4766919c5a 100644 --- a/content/en/docs/reference/kubectl/cheatsheet.md +++ b/content/en/docs/reference/kubectl/cheatsheet.md @@ -90,9 +90,10 @@ kubectl apply -f ./my1.yaml -f ./my2.yaml # create from multiple files kubectl apply -f ./dir # create resource(s) in all manifest files in dir kubectl apply -f https://git.io/vPieo # create resource(s) from url kubectl create deployment nginx --image=nginx # start a single instance of nginx -kubectl create job hello # create a job which prints "hello world" ---image=busybox -- echo "Hello World" -kubectl create cronjob hello --image=busybox # create a cron job which prints "hello world" for every minute +# create a job which prints "hello world" +kubectl create job hello --image=busybox -- echo "Hello World" +# create a cronjob which prints "hello world" for every minute +kubectl create cronjob hello --image=busybox --schedule="*/1 * * * *" -- echo "Hello World" kubectl explain pods # get the documentation for pod manifests