mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
Merge pull request #5522 from fabioy/expose-label.fix
Add "--labels" option to the "expose" kubectl command.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user