diff --git a/content/en/docs/concepts/services-networking/service.md b/content/en/docs/concepts/services-networking/service.md index 8bf255efac..53a1a9ac47 100644 --- a/content/en/docs/concepts/services-networking/service.md +++ b/content/en/docs/concepts/services-networking/service.md @@ -518,7 +518,7 @@ spec: nodePort: 30007 ``` -#### Reserve Nodeport Ranges to avoid collisions when port assigning +#### Reserve Nodeport ranges to avoid collisions {#avoid-nodeport-collisions} {{< feature-state for_k8s_version="v1.28" state="beta" >}} @@ -531,7 +531,6 @@ is divided into two bands. Dynamic port assignment uses the upper band by defaul the lower band once the upper band has been exhausted. Users can then allocate from the lower band with a lower risk of port collision. - #### Custom IP address configuration for `type: NodePort` Services {#service-nodeport-custom-listen-address} You can set up nodes in your cluster to use a particular IP address for serving node port diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates.md b/content/en/docs/reference/command-line-tools-reference/feature-gates.md index c4569dd047..4a42c46363 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates.md @@ -730,10 +730,12 @@ Each feature gate is designed for enabling/disabling a specific feature: - `ServerSideFieldValidation`: Enables server-side field validation. This means the validation of resource schema is performed at the API server side rather than the client side (for example, the `kubectl create` or `kubectl apply` command line). +- `ServiceNodePortStaticSubrange`: Enables the use of different port allocation + strategies for NodePort Services. For more details, see + [reserve NodePort ranges to avoid collisions](/docs/concepts/services-networking/service/#avoid-nodeport-collisions). - `SidecarContainers`: Allow setting the `restartPolicy` of an init container to `Always` so that the container becomes a sidecar container (restartable init containers). - See - [Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/init-containers/#sidecar-containers-and-restartpolicy) + See [Sidecar containers and restartPolicy](/docs/concepts/workloads/pods/init-containers/#sidecar-containers-and-restartpolicy) for more details. - `SizeMemoryBackedVolumes`: Enable kubelets to determine the size limit for memory-backed volumes (mainly `emptyDir` volumes).