diff --git a/content/en/docs/reference/kubectl/cheatsheet.md b/content/en/docs/reference/kubectl/cheatsheet.md index 4766919c5a..3c5eacb480 100644 --- a/content/en/docs/reference/kubectl/cheatsheet.md +++ b/content/en/docs/reference/kubectl/cheatsheet.md @@ -90,11 +90,13 @@ 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 + # 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 create cronjob hello --image=busybox --schedule="*/1 * * * *" -- echo "Hello World" + kubectl explain pods # get the documentation for pod manifests # Create multiple YAML objects from stdin