File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
content/en/docs/concepts/overview/working-with-objects Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ If the prefix is omitted, the label Key is presumed to be private to the user. A
53
53
The ` kubernetes.io/ ` and ` k8s.io/ ` prefixes are reserved for Kubernetes core components.
54
54
55
55
Valid label value:
56
- * must be 63 characters or less (cannot be empty),
57
- * must begin and end with an alphanumeric character (` [a-z0-9A-Z] ` ),
56
+ * must be 63 characters or less (can be empty),
57
+ * unless empty, must begin and end with an alphanumeric character (` [a-z0-9A-Z] ` ),
58
58
* could contain dashes (` - ` ), underscores (` _ ` ), dots (` . ` ), and alphanumerics between.
59
59
60
60
For example, here's the configuration file for a Pod that has two labels ` environment: production ` and ` app: nginx ` :
@@ -237,4 +237,3 @@ selector:
237
237
238
238
One use case for selecting over labels is to constrain the set of nodes onto which a pod can schedule.
239
239
See the documentation on [node selection](/docs/concepts/scheduling-eviction/assign-pod-node/) for more information.
240
-
You can’t perform that action at this time.
0 commit comments