Skip to content

Commit 0f051db

Browse files
committed
Fix feature gate for a gate that is not documented
1 parent 7e67660 commit 0f051db

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ spec:
518518
nodePort: 30007
519519
```
520520
521-
#### Reserve Nodeport Ranges to avoid collisions when port assigning
521+
#### Reserve Nodeport ranges to avoid collisions {#avoid-nodeport-collisions}
522522
523523
{{< feature-state for_k8s_version="v1.28" state="beta" >}}
524524
@@ -531,7 +531,6 @@ is divided into two bands. Dynamic port assignment uses the upper band by defaul
531531
the lower band once the upper band has been exhausted. Users can then allocate from the lower band
532532
with a lower risk of port collision.
533533

534-
535534
#### Custom IP address configuration for `type: NodePort` Services {#service-nodeport-custom-listen-address}
536535

537536
You can set up nodes in your cluster to use a particular IP address for serving node port

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,10 +712,12 @@ Each feature gate is designed for enabling/disabling a specific feature:
712712
- `ServerSideFieldValidation`: Enables server-side field validation. This means the validation
713713
of resource schema is performed at the API server side rather than the client side
714714
(for example, the `kubectl create` or `kubectl apply` command line).
715+
- `ServiceNodePortStaticSubrange`: Enables the use of different port allocation
716+
strategies for NodePort Services. For more details, see
717+
[reserve NodePort ranges to avoid collisions](/docs/concepts/services-networking/service/#avoid-nodeport-collisions).
715718
- `SidecarContainers`: Allow setting the `restartPolicy` of an init container to
716719
`Always` so that the container becomes a sidecar container (restartable init containers).
717-
See
718-
[Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/init-containers/#sidecar-containers-and-restartpolicy)
720+
See [Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/init-containers/#sidecar-containers-and-restartpolicy)
719721
for more details.
720722
- `SizeMemoryBackedVolumes`: Enable kubelets to determine the size limit for
721723
memory-backed volumes (mainly `emptyDir` volumes).

0 commit comments

Comments
 (0)