Skip to content

Commit 43c48ea

Browse files
authored
Merge pull request #28051 from XudongLiuHarold/promote-loadbalancerclass-to-beta
KEP-1959 Update document for promoting loadbalancerclass to beta
2 parents b0f7bd6 + eb62502 commit 43c48ea

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
@@ -643,12 +643,12 @@ You must enable the `ServiceLBNodePortControl` feature gate to use this field.
643643

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

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

648-
Starting in v1.21, you can optionally specify the class of a load balancer implementation for
649-
`LoadBalancer` type of Service by setting the field `spec.loadBalancerClass`.
648+
`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.
650649
By default, `spec.loadBalancerClass` is `nil` and a `LoadBalancer` type of Service uses
651-
the cloud provider's default load balancer implementation.
650+
the cloud provider's default load balancer implementation if the cluster is configured with
651+
a cloud provider using the `--cloud-provider` component flag.
652652
If `spec.loadBalancerClass` is specified, it is assumed that a load balancer
653653
implementation that matches the specified class is watching for Services.
654654
Any default load balancer implementation (for example, the one provided by
@@ -658,7 +658,6 @@ Once set, it cannot be changed.
658658
The value of `spec.loadBalancerClass` must be a label-style identifier,
659659
with an optional prefix such as "`internal-vip`" or "`example.com/internal-vip`".
660660
Unprefixed names are reserved for end-users.
661-
You must enable the `ServiceLoadBalancerClass` feature gate to use this field.
662661

663662
#### Internal load balancer
664663

0 commit comments

Comments
 (0)