mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
Merge pull request #7536 from rjnagal/node
Add --hostport to run-container.
This commit is contained in:
@@ -66,4 +66,4 @@ kubectl
|
||||
* [kubectl update](kubectl_update.md) - Update a resource by filename or stdin.
|
||||
* [kubectl version](kubectl_version.md) - Print the client and server version information.
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-04-30 16:43:53.288271038 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-01 20:16:42.546735249 +0000 UTC
|
||||
|
@@ -34,6 +34,7 @@ $ kubectl run-container nginx --image=nginx --overrides='{ "apiVersion": "v1beta
|
||||
--dry-run=false: If true, only print the object that would be sent, without sending it.
|
||||
--generator="run-container/v1": The name of the API generator to use. Default is 'run-container-controller/v1'.
|
||||
-h, --help=false: help for run-container
|
||||
--hostport=-1: The host port mapping for the container port. To demonstrate a single-machine container.
|
||||
--image="": The image for the container to run.
|
||||
-l, --labels="": Labels to apply to the pod(s) created by this call to run-container.
|
||||
--no-headers=false: When using the default output, don't print headers.
|
||||
@@ -78,4 +79,4 @@ $ kubectl run-container nginx --image=nginx --overrides='{ "apiVersion": "v1beta
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-04-29 15:25:11.0330734 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-04-29 23:46:39.503475144 +0000 UTC
|
||||
|
@@ -30,6 +30,10 @@ Creates a replication controller to manage the created container(s).
|
||||
\fB\-h\fP, \fB\-\-help\fP=false
|
||||
help for run\-container
|
||||
|
||||
.PP
|
||||
\fB\-\-hostport\fP=\-1
|
||||
The host port mapping for the container port. To demonstrate a single\-machine container.
|
||||
|
||||
.PP
|
||||
\fB\-\-image\fP=""
|
||||
The image for the container to run.
|
||||
|
Reference in New Issue
Block a user