From f0da3cf753c854852fa1b91ec8baef1286f54681 Mon Sep 17 00:00:00 2001 From: "Paul \"TBBle\" Hampson" Date: Thu, 3 Feb 2022 00:49:06 +1100 Subject: [PATCH] `ServiceLBNodePortControl` went to beta in v1.22 Looks like this was overlooked to be updated when the feature gate documentation was updated in #28770. Signed-off-by: Paul "TBBle" Hampson --- content/en/docs/concepts/services-networking/service.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/docs/concepts/services-networking/service.md b/content/en/docs/concepts/services-networking/service.md index b642b6f522..e676c85a83 100644 --- a/content/en/docs/concepts/services-networking/service.md +++ b/content/en/docs/concepts/services-networking/service.md @@ -684,7 +684,7 @@ The set of protocols that can be used for LoadBalancer type of Services is still #### Disabling load balancer NodePort allocation {#load-balancer-nodeport-allocation} -{{< feature-state for_k8s_version="v1.20" state="alpha" >}} +{{< feature-state for_k8s_version="v1.22" state="beta" >}} Starting in v1.20, you can optionally disable node port allocation for a Service Type=LoadBalancer by setting the field `spec.allocateLoadBalancerNodePorts` to `false`. This should only be used for load balancer implementations @@ -692,7 +692,8 @@ that route traffic directly to pods as opposed to using node ports. By default, is `true` and type LoadBalancer Services will continue to allocate node ports. If `spec.allocateLoadBalancerNodePorts` is set to `false` on an existing Service with allocated node ports, those node ports will NOT be de-allocated automatically. You must explicitly remove the `nodePorts` entry in every Service port to de-allocate those node ports. -You must enable the `ServiceLBNodePortControl` feature gate to use this field. +You must enable the `ServiceLBNodePortControl` feature gate to use this field in v1.20 and v1.21, +and the feature gate is enabled by default from v1.22 onwards. #### Specifying class of load balancer implementation {#load-balancer-class}