From 338c7b1347b9ea58b89384875d3b5d37885a043f Mon Sep 17 00:00:00 2001 From: Aohan Yang Date: Mon, 16 Sep 2024 23:37:08 +0800 Subject: [PATCH] Promote LoadBalancerIPMode to GA Ref - https://github.com/kubernetes/kubernetes/pull/127348 --- content/en/docs/concepts/services-networking/service.md | 7 ++----- .../feature-gates/load-balancer-ip-mode.md | 4 ++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/content/en/docs/concepts/services-networking/service.md b/content/en/docs/concepts/services-networking/service.md index 8681d74a53d9b..c14e4765c7429 100644 --- a/content/en/docs/concepts/services-networking/service.md +++ b/content/en/docs/concepts/services-networking/service.md @@ -681,14 +681,11 @@ The value of `spec.loadBalancerClass` must be a label-style identifier, with an optional prefix such as "`internal-vip`" or "`example.com/internal-vip`". Unprefixed names are reserved for end-users. -#### Specifying IPMode of load balancer status {#load-balancer-ip-mode} +#### Load balancer IP address mode {#load-balancer-ip-mode} {{< feature-state feature_gate_name="LoadBalancerIPMode" >}} -As a Beta feature in Kubernetes 1.30, -a [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) -named `LoadBalancerIPMode` allows you to set the `.status.loadBalancer.ingress.ipMode` -for a Service with `type` set to `LoadBalancer`. +For a Service of `type: LoadBalancer`, a controller can set `.status.loadBalancer.ingress.ipMode`. The `.status.loadBalancer.ingress.ipMode` specifies how the load-balancer IP behaves. It may be specified only when the `.status.loadBalancer.ingress.ip` field is also specified. diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates/load-balancer-ip-mode.md b/content/en/docs/reference/command-line-tools-reference/feature-gates/load-balancer-ip-mode.md index 6b87fd3abff38..9b692c6668ec0 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates/load-balancer-ip-mode.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates/load-balancer-ip-mode.md @@ -13,6 +13,10 @@ stages: - stage: beta defaultValue: true fromVersion: "1.30" + toVersion: "1.31" + - stage: stable + defaultValue: true + fromVersion: "1.32" --- Allows setting `ipMode` for Services where `type` is set to `LoadBalancer`. See [Specifying IPMode of load balancer status](/docs/concepts/services-networking/service/#load-balancer-ip-mode)