Skip to content

Commit eb62502

Browse files
update document for promoting ServiceLoadBalancerClass to beta
1 parent 2923e6b commit eb62502

File tree

1 file changed

+4
-5
lines changed
  • content/en/docs/concepts/services-networking

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -642,12 +642,12 @@ You must enable the `ServiceLBNodePortControl` feature gate to use this field.
642642

643643
#### Specifying class of load balancer implementation {#load-balancer-class}
644644

645-
{{< feature-state for_k8s_version="v1.21" state="alpha" >}}
645+
{{< feature-state for_k8s_version="v1.22" state="beta" >}}
646646

647-
Starting in v1.21, you can optionally specify the class of a load balancer implementation for
648-
`LoadBalancer` type of Service by setting the field `spec.loadBalancerClass`.
647+
`spec.loadBalancerClass` enables you to use a load balancer implementation other than the cloud provider default. This feature is available from v1.21, you must enable the `ServiceLoadBalancerClass` feature gate to use this field in v1.21, and the feature gate is enabled by default from v1.22 onwards.
649648
By default, `spec.loadBalancerClass` is `nil` and a `LoadBalancer` type of Service uses
650-
the cloud provider's default load balancer implementation.
649+
the cloud provider's default load balancer implementation if the cluster is configured with
650+
a cloud provider using the `--cloud-provider` component flag.
651651
If `spec.loadBalancerClass` is specified, it is assumed that a load balancer
652652
implementation that matches the specified class is watching for Services.
653653
Any default load balancer implementation (for example, the one provided by
@@ -657,7 +657,6 @@ Once set, it cannot be changed.
657657
The value of `spec.loadBalancerClass` must be a label-style identifier,
658658
with an optional prefix such as "`internal-vip`" or "`example.com/internal-vip`".
659659
Unprefixed names are reserved for end-users.
660-
You must enable the `ServiceLoadBalancerClass` feature gate to use this field.
661660

662661
#### Internal load balancer
663662

0 commit comments

Comments
 (0)