Add --hostport to run-container.

This helps as a starting point to show a single-machine container.
Its easier to use this as an example to show where host port mapping breaks and move on to
services.
This commit is contained in:
Rohit Jnagal
2015-04-29 23:54:23 +00:00
parent a100e976ec
commit 9cbfb0c3f9
7 changed files with 85 additions and 10 deletions

View File

@@ -530,6 +530,7 @@ _kubectl_run-container()
flags+=("--generator=")
flags+=("--help")
flags+=("-h")
flags+=("--hostport=")
flags+=("--image=")
flags+=("--labels=")
two_word_flags+=("-l")