label: Invalidate empty or invalid value labels
This commit is contained in:
@@ -7,6 +7,7 @@ Update the labels on a resource
|
||||
|
||||
Update the labels on a resource.
|
||||
|
||||
A label must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.
|
||||
If --overwrite is true, then existing labels can be overwritten, otherwise attempting to overwrite a label will result in an error.
|
||||
If --resource-version is specified, then updates will use this resource version, otherwise the existing resource-version will be used.
|
||||
|
||||
@@ -80,6 +81,6 @@ $ kubectl label pods foo bar-
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 10:33:11.210679161 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-28 08:44:48.996047458 +0000 UTC
|
||||
|
||||
[]()
|
||||
|
@@ -16,6 +16,7 @@ kubectl label \- Update the labels on a resource
|
||||
Update the labels on a resource.
|
||||
|
||||
.PP
|
||||
A label must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters.
|
||||
If \-\-overwrite is true, then existing labels can be overwritten, otherwise attempting to overwrite a label will result in an error.
|
||||
If \-\-resource\-version is specified, then updates will use this resource version, otherwise the existing resource\-version will be used.
|
||||
|
||||
|
Reference in New Issue
Block a user