Fix incorrect flag in example.

This commit is contained in:
Eric Tune
2015-10-30 15:40:05 -07:00
parent cc53619372
commit 0bde95f1ce
3 changed files with 4 additions and 4 deletions

View File

@@ -244,7 +244,7 @@ $ kubectl run nginx \-\-image=nginx \-\-dry\-run
$ kubectl run nginx \-\-image=nginx \-\-overrides='{ "apiVersion": "v1", "spec": { ... } }'
# Start a single instance of nginx and keep it in the foreground, don't restart it if it exits.
$ kubectl run \-i \-tty nginx \-\-image=nginx \-\-restart=Never
$ kubectl run \-i \-\-tty nginx \-\-image=nginx \-\-restart=Never
# Start the nginx container using the default command, but use custom arguments (arg1 .. argN) for that command.
$ kubectl run nginx \-\-image=nginx \-\- <arg1> <arg2> ... <argN>