Merge pull request #5522 from fabioy/expose-label.fix

Add "--labels" option to the "expose" kubectl command.
This commit is contained in:
CJ Cullen
2015-03-19 14:40:15 -07:00
5 changed files with 43 additions and 1 deletions

View File

@@ -37,6 +37,10 @@ as the selector for a new Service on the specified port.
\fB\-\-generator\fP="service/v1"
The name of the API generator to use. Default is 'service/v1'.
.PP
\fB\-l\fP, \fB\-\-labels\fP=""
Labels to apply to the service created by this call.
.PP
\fB\-\-no\-headers\fP=false
When using the default output, don't print headers.