File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
concepts/services-networking
reference/command-line-tools-reference Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -717,20 +717,14 @@ The set of protocols that can be used for LoadBalancer type of Services is still
717
717
718
718
# ### Disabling load balancer NodePort allocation {#load-balancer-nodeport-allocation}
719
719
720
- {{< feature-state for_k8s_version="v1.22 " state="beta " >}}
720
+ {{< feature-state for_k8s_version="v1.24 " state="stable " >}}
721
721
722
722
You can optionally disable node port allocation for a Service of `type=LoadBalancer`, by setting
723
723
the field `spec.allocateLoadBalancerNodePorts` to `false`. This should only be used for load balancer implementations
724
724
that route traffic directly to pods as opposed to using node ports. By default, `spec.allocateLoadBalancerNodePorts`
725
725
is `true` and type LoadBalancer Services will continue to allocate node ports. If `spec.allocateLoadBalancerNodePorts`
726
726
is set to `false` on an existing Service with allocated node ports, those node ports will **not** be de-allocated automatically.
727
727
You must explicitly remove the `nodePorts` entry in every Service port to de-allocate those node ports.
728
- Your cluster must have the `ServiceLBNodePortControl`
729
- [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
730
- enabled to use this field.
731
- For Kubernetes v{{< skew currentVersion >}}, this feature gate is enabled by default,
732
- and you can use the `spec.allocateLoadBalancerNodePorts` field. For clusters running
733
- other versions of Kubernetes, check the documentation for that release.
734
728
735
729
# ### Specifying class of load balancer implementation {#load-balancer-class}
736
730
Original file line number Diff line number Diff line change @@ -178,8 +178,6 @@ different Kubernetes components.
178
178
| ` SeccompDefault ` | ` false ` | Alpha | 1.22 | |
179
179
| ` ServiceInternalTrafficPolicy ` | ` false ` | Alpha | 1.21 | 1.21 |
180
180
| ` ServiceInternalTrafficPolicy ` | ` true ` | Beta | 1.22 | |
181
- | ` ServiceLBNodePortControl ` | ` false ` | Alpha | 1.20 | 1.21 |
182
- | ` ServiceLBNodePortControl ` | ` true ` | Beta | 1.22 | |
183
181
| ` SizeMemoryBackedVolumes ` | ` false ` | Alpha | 1.20 | 1.21 |
184
182
| ` SizeMemoryBackedVolumes ` | ` true ` | Beta | 1.22 | |
185
183
| ` StatefulSetAutoDeletePVC ` | ` false ` | Alpha | 1.22 | |
@@ -451,6 +449,9 @@ different Kubernetes components.
451
449
| ` ServiceAppProtocol ` | ` false ` | Alpha | 1.18 | 1.18 |
452
450
| ` ServiceAppProtocol ` | ` true ` | Beta | 1.19 | 1.19 |
453
451
| ` ServiceAppProtocol ` | ` true ` | GA | 1.20 | - |
452
+ | ` ServiceLBNodePortControl ` | ` false ` | Alpha | 1.20 | 1.21 |
453
+ | ` ServiceLBNodePortControl ` | ` true ` | Beta | 1.22 | 1.23 |
454
+ | ` ServiceLBNodePortControl ` | ` true ` | GA | 1.24 | - |
454
455
| ` ServiceLoadBalancerClass ` | ` false ` | Alpha | 1.21 | 1.21 |
455
456
| ` ServiceLoadBalancerClass ` | ` true ` | Beta | 1.22 | 1.23 |
456
457
| ` ServiceLoadBalancerClass ` | ` true ` | GA | 1.24 | - |
You can’t perform that action at this time.
0 commit comments