Skip to content

Commit 1b9342e

Browse files
authored
Merge pull request #52447 from musaprg/add-missing-feature-gate
Docs for feature behind RelaxedServiceNameValidation feature gate
2 parents 6235471 + 7aad1e4 commit 1b9342e

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

content/en/docs/concepts/services-networking/service.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ for convenience, the `targetPort` is set to the same value as the `port`
130130
field.
131131
{{< /note >}}
132132

133+
### Relaxed naming requirements for Service objects
134+
135+
{{< feature-state feature_gate_name="RelaxedServiceNameValidation" >}}
136+
137+
The `RelaxedServiceNameValidation` feature gate allows Service object names to start with a digit. When this feature gate is enabled, Service object names must be valid [RFC 1123 label names](/docs/concepts/overview/working-with-objects/names/#dns-label-names).
138+
133139
### Port definitions {#field-spec-ports}
134140

135141
Port definitions in Pods have names, and you can reference these names in the
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: RelaxedServiceNameValidation
3+
content_type: feature_gate
4+
_build:
5+
list: never
6+
render: false
7+
8+
stages:
9+
- stage: alpha
10+
defaultValue: false
11+
fromVersion: "1.34"
12+
13+
---
14+
15+
Enables relaxed validation for Service object names, allowing the use of [RFC 1123 label names](/docs/concepts/overview/working-with-objects/names/#dns-label-names) instead of [RFC 1035 label names](/docs/concepts/overview/working-with-objects/names/#rfc-1035-label-names).
16+
17+
This feature allows Service object names to start with a digit.

0 commit comments

Comments
 (0)