mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
label: Invalidate empty or invalid value labels
This commit is contained in:
@@ -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