Skip to content

Commit 906bfb0

Browse files
authored
Merge pull request #43601 from tengqm/fg-nodeport-range
Fix feature gate for a gate that is not documented
2 parents f151432 + 0f051db commit 906bfb0

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
@@ -730,10 +730,12 @@ Each feature gate is designed for enabling/disabling a specific feature:
730730
- `ServerSideFieldValidation`: Enables server-side field validation. This means the validation
731731
of resource schema is performed at the API server side rather than the client side
732732
(for example, the `kubectl create` or `kubectl apply` command line).
733+
- `ServiceNodePortStaticSubrange`: Enables the use of different port allocation
734+
strategies for NodePort Services. For more details, see
735+
[reserve NodePort ranges to avoid collisions](/docs/concepts/services-networking/service/#avoid-nodeport-collisions).
733736
- `SidecarContainers`: Allow setting the `restartPolicy` of an init container to
734737
`Always` so that the container becomes a sidecar container (restartable init containers).
735-
See
736-
[Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/init-containers/#sidecar-containers-and-restartpolicy)
738+
See [Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/init-containers/#sidecar-containers-and-restartpolicy)
737739
for more details.
738740
- `SizeMemoryBackedVolumes`: Enable kubelets to determine the size limit for
739741
memory-backed volumes (mainly `emptyDir` volumes).

0 commit comments

Comments
 (0)