Skip to content

Commit 4f319fd

Browse files
Fix requirements for label value
Value *can* indeed be empty. Fixes: bd55d49 ("Clarify requirements for label value syntax") Signed-off-by: Mauricio Vásquez <[email protected]>
1 parent 4beb4d2 commit 4f319fd

File tree

1 file changed

+1
-2
lines changed
  • content/en/docs/concepts/overview/working-with-objects

1 file changed

+1
-2
lines changed

content/en/docs/concepts/overview/working-with-objects/labels.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ If the prefix is omitted, the label Key is presumed to be private to the user. A
5353
The `kubernetes.io/` and `k8s.io/` prefixes are reserved for Kubernetes core components.
5454

5555
Valid label value:
56-
* must be 63 characters or less (cannot be empty),
56+
* must be 63 characters or less (can be empty),
5757
* must begin and end with an alphanumeric character (`[a-z0-9A-Z]`),
5858
* could contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
5959

@@ -237,4 +237,3 @@ selector:
237237

238238
One use case for selecting over labels is to constrain the set of nodes onto which a pod can schedule.
239239
See the documentation on [node selection](/docs/concepts/scheduling-eviction/assign-pod-node/) for more information.
240-

0 commit comments

Comments
 (0)