File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
content/en/docs/concepts/overview/working-with-objects Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,14 @@ This means the name must:
59
59
60
60
- contain at most 63 characters
61
61
- contain only lowercase alphanumeric characters or '-'
62
- - start with an alphanumeric character
62
+ - start with an alphabetic character
63
63
- end with an alphanumeric character
64
64
65
+ {{< note >}}
66
+ When the ` RelaxedServiceNameValidation ` feature gate is enabled,
67
+ Service object names are allowed to start with a digit.
68
+ {{< /note >}}
69
+
65
70
### RFC 1035 Label Names
66
71
67
72
Some resource types require their names to follow the DNS
@@ -74,10 +79,10 @@ This means the name must:
74
79
- end with an alphanumeric character
75
80
76
81
{{< note >}}
77
- The only difference between the RFC 1035 and RFC 1123
78
- label standards is that RFC 1123 labels are allowed to
79
- start with a digit, whereas RFC 1035 labels can start
80
- with a lowercase alphabetic character only .
82
+ While RFC 1123 technically allows labels to start with digits, the current
83
+ Kubernetes implementation requires both RFC 1035 and RFC 1123 labels to start
84
+ with an alphabetic character. The exception is when the ` RelaxedServiceNameValidation `
85
+ feature gate is enabled for Service objects, which allows Service names to start with digits .
81
86
{{< /note >}}
82
87
83
88
### Path Segment Names
You can’t perform that action at this time.
0 commit comments