Skip to content

Commit ba3daf2

Browse files
committed
Promote ServiceExternalIP to beta
Fixes: #6743 Signed-off-by: Xu Liu <[email protected]>
1 parent 503239f commit ba3daf2

File tree

11 files changed

+31
-30
lines changed

11 files changed

+31
-30
lines changed

build/charts/antrea/conf/antrea-agent.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ featureGates:
6666
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "SecondaryNetwork" "default" false) }}
6767

6868
# Enable managing external IPs of Services of LoadBalancer type.
69-
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "ServiceExternalIP" "default" false) }}
69+
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "ServiceExternalIP" "default" true) }}
7070

7171
# Enable mirroring or redirecting the traffic Pods send or receive.
7272
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "TrafficControl" "default" false) }}

build/charts/antrea/conf/antrea-controller.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ featureGates:
3232
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "AntreaIPAM" "default" false) }}
3333

3434
# Enable managing external IPs of Services of LoadBalancer type.
35-
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "ServiceExternalIP" "default" false) }}
35+
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "ServiceExternalIP" "default" true) }}
3636

3737
# Enable certificate-based authentication for IPSec tunnel.
3838
{{- include "featureGate" (dict "featureGates" .Values.featureGates "name" "IPsecCertAuth" "default" false) }}

build/yamls/antrea-aks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4015,7 +4015,7 @@ data:
40154015
# SecondaryNetwork: false
40164016
40174017
# Enable managing external IPs of Services of LoadBalancer type.
4018-
# ServiceExternalIP: false
4018+
# ServiceExternalIP: true
40194019
40204020
# Enable mirroring or redirecting the traffic Pods send or receive.
40214021
# TrafficControl: false
@@ -4443,7 +4443,7 @@ data:
44434443
# AntreaIPAM: false
44444444
44454445
# Enable managing external IPs of Services of LoadBalancer type.
4446-
# ServiceExternalIP: false
4446+
# ServiceExternalIP: true
44474447
44484448
# Enable certificate-based authentication for IPSec tunnel.
44494449
# IPsecCertAuth: false
@@ -5406,7 +5406,7 @@ spec:
54065406
kubectl.kubernetes.io/default-container: antrea-agent
54075407
# Automatically restart Pods with a RollingUpdate if the ConfigMap changes
54085408
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5409-
checksum/config: f7ac1903ae9edfd45361cb67b991cb23f708f15cb5cb862bffd70e95dcd776fb
5409+
checksum/config: f16c024c6738bc918d9380162ed9d3c157bc24a46abcfb8e3bf1352efc4da874
54105410
labels:
54115411
app: antrea
54125412
component: antrea-agent
@@ -5644,7 +5644,7 @@ spec:
56445644
annotations:
56455645
# Automatically restart Pod if the ConfigMap changes
56465646
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5647-
checksum/config: f7ac1903ae9edfd45361cb67b991cb23f708f15cb5cb862bffd70e95dcd776fb
5647+
checksum/config: f16c024c6738bc918d9380162ed9d3c157bc24a46abcfb8e3bf1352efc4da874
56485648
labels:
56495649
app: antrea
56505650
component: antrea-controller

build/yamls/antrea-eks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4015,7 +4015,7 @@ data:
40154015
# SecondaryNetwork: false
40164016
40174017
# Enable managing external IPs of Services of LoadBalancer type.
4018-
# ServiceExternalIP: false
4018+
# ServiceExternalIP: true
40194019
40204020
# Enable mirroring or redirecting the traffic Pods send or receive.
40214021
# TrafficControl: false
@@ -4443,7 +4443,7 @@ data:
44434443
# AntreaIPAM: false
44444444
44454445
# Enable managing external IPs of Services of LoadBalancer type.
4446-
# ServiceExternalIP: false
4446+
# ServiceExternalIP: true
44474447
44484448
# Enable certificate-based authentication for IPSec tunnel.
44494449
# IPsecCertAuth: false
@@ -5406,7 +5406,7 @@ spec:
54065406
kubectl.kubernetes.io/default-container: antrea-agent
54075407
# Automatically restart Pods with a RollingUpdate if the ConfigMap changes
54085408
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5409-
checksum/config: f7ac1903ae9edfd45361cb67b991cb23f708f15cb5cb862bffd70e95dcd776fb
5409+
checksum/config: f16c024c6738bc918d9380162ed9d3c157bc24a46abcfb8e3bf1352efc4da874
54105410
labels:
54115411
app: antrea
54125412
component: antrea-agent
@@ -5645,7 +5645,7 @@ spec:
56455645
annotations:
56465646
# Automatically restart Pod if the ConfigMap changes
56475647
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5648-
checksum/config: f7ac1903ae9edfd45361cb67b991cb23f708f15cb5cb862bffd70e95dcd776fb
5648+
checksum/config: f16c024c6738bc918d9380162ed9d3c157bc24a46abcfb8e3bf1352efc4da874
56495649
labels:
56505650
app: antrea
56515651
component: antrea-controller

build/yamls/antrea-gke.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4015,7 +4015,7 @@ data:
40154015
# SecondaryNetwork: false
40164016
40174017
# Enable managing external IPs of Services of LoadBalancer type.
4018-
# ServiceExternalIP: false
4018+
# ServiceExternalIP: true
40194019
40204020
# Enable mirroring or redirecting the traffic Pods send or receive.
40214021
# TrafficControl: false
@@ -4443,7 +4443,7 @@ data:
44434443
# AntreaIPAM: false
44444444
44454445
# Enable managing external IPs of Services of LoadBalancer type.
4446-
# ServiceExternalIP: false
4446+
# ServiceExternalIP: true
44474447
44484448
# Enable certificate-based authentication for IPSec tunnel.
44494449
# IPsecCertAuth: false
@@ -5406,7 +5406,7 @@ spec:
54065406
kubectl.kubernetes.io/default-container: antrea-agent
54075407
# Automatically restart Pods with a RollingUpdate if the ConfigMap changes
54085408
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5409-
checksum/config: 00ba3a60f132691721ba2e84c5c8f0a9eddc32593b38798de8f59d52fff54169
5409+
checksum/config: 27a80abe8607c376342dcaaf8eff6763d6532cbd778653cd9efdbc1f756893fc
54105410
labels:
54115411
app: antrea
54125412
component: antrea-agent
@@ -5642,7 +5642,7 @@ spec:
56425642
annotations:
56435643
# Automatically restart Pod if the ConfigMap changes
56445644
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5645-
checksum/config: 00ba3a60f132691721ba2e84c5c8f0a9eddc32593b38798de8f59d52fff54169
5645+
checksum/config: 27a80abe8607c376342dcaaf8eff6763d6532cbd778653cd9efdbc1f756893fc
56465646
labels:
56475647
app: antrea
56485648
component: antrea-controller

build/yamls/antrea-ipsec.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4028,7 +4028,7 @@ data:
40284028
# SecondaryNetwork: false
40294029
40304030
# Enable managing external IPs of Services of LoadBalancer type.
4031-
# ServiceExternalIP: false
4031+
# ServiceExternalIP: true
40324032
40334033
# Enable mirroring or redirecting the traffic Pods send or receive.
40344034
# TrafficControl: false
@@ -4456,7 +4456,7 @@ data:
44564456
# AntreaIPAM: false
44574457
44584458
# Enable managing external IPs of Services of LoadBalancer type.
4459-
# ServiceExternalIP: false
4459+
# ServiceExternalIP: true
44604460
44614461
# Enable certificate-based authentication for IPSec tunnel.
44624462
# IPsecCertAuth: false
@@ -5419,7 +5419,7 @@ spec:
54195419
kubectl.kubernetes.io/default-container: antrea-agent
54205420
# Automatically restart Pods with a RollingUpdate if the ConfigMap changes
54215421
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5422-
checksum/config: 4b9bbfbbda1ab405ade14e797ea88fbd6f3795bb6aae9df0496409d542799145
5422+
checksum/config: 23393366d3c95e779b7d3009fa7fa686ae6c3fc5458fa2f9844d1437d9e7489f
54235423
checksum/ipsec-secret: d0eb9c52d0cd4311b6d252a951126bf9bea27ec05590bed8a394f0f792dcb2a4
54245424
labels:
54255425
app: antrea
@@ -5701,7 +5701,7 @@ spec:
57015701
annotations:
57025702
# Automatically restart Pod if the ConfigMap changes
57035703
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5704-
checksum/config: 4b9bbfbbda1ab405ade14e797ea88fbd6f3795bb6aae9df0496409d542799145
5704+
checksum/config: 23393366d3c95e779b7d3009fa7fa686ae6c3fc5458fa2f9844d1437d9e7489f
57055705
labels:
57065706
app: antrea
57075707
component: antrea-controller

build/yamls/antrea.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4015,7 +4015,7 @@ data:
40154015
# SecondaryNetwork: false
40164016
40174017
# Enable managing external IPs of Services of LoadBalancer type.
4018-
# ServiceExternalIP: false
4018+
# ServiceExternalIP: true
40194019
40204020
# Enable mirroring or redirecting the traffic Pods send or receive.
40214021
# TrafficControl: false
@@ -4443,7 +4443,7 @@ data:
44434443
# AntreaIPAM: false
44444444
44454445
# Enable managing external IPs of Services of LoadBalancer type.
4446-
# ServiceExternalIP: false
4446+
# ServiceExternalIP: true
44474447
44484448
# Enable certificate-based authentication for IPSec tunnel.
44494449
# IPsecCertAuth: false
@@ -5406,7 +5406,7 @@ spec:
54065406
kubectl.kubernetes.io/default-container: antrea-agent
54075407
# Automatically restart Pods with a RollingUpdate if the ConfigMap changes
54085408
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5409-
checksum/config: e4e94ba89524d8fdc7eb3ad6e0f6948767f3d92ef767f17c47da348f08b5c2e0
5409+
checksum/config: fa14018895e56003a3e9192d0fa164cc40e204091f630edc7e9e74de5b450da7
54105410
labels:
54115411
app: antrea
54125412
component: antrea-agent
@@ -5642,7 +5642,7 @@ spec:
56425642
annotations:
56435643
# Automatically restart Pod if the ConfigMap changes
56445644
# See https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
5645-
checksum/config: e4e94ba89524d8fdc7eb3ad6e0f6948767f3d92ef767f17c47da348f08b5c2e0
5645+
checksum/config: fa14018895e56003a3e9192d0fa164cc40e204091f630edc7e9e74de5b450da7
56465646
labels:
56475647
app: antrea
56485648
component: antrea-controller

docs/feature-gates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ edit the Agent configuration in the
4848
| `AntreaIPAM` | Agent + Controller | `false` | Alpha | v1.4 | N/A | N/A | Yes | |
4949
| `Multicast` | Agent + Controller | `true` | Beta | v1.5 | v1.12 | N/A | Yes | |
5050
| `SecondaryNetwork` | Agent | `false` | Alpha | v1.5 | N/A | N/A | Yes | |
51-
| `ServiceExternalIP` | Agent + Controller | `false` | Alpha | v1.5 | N/A | N/A | Yes | |
51+
| `ServiceExternalIP` | Agent + Controller | `false` | Beta | v1.5 | v2.3 | N/A | Yes | |
5252
| `TrafficControl` | Agent | `false` | Alpha | v1.7 | N/A | N/A | No | |
5353
| `Multicluster` | Agent + Controller | `false` | Alpha | v1.7 | N/A | N/A | Yes | Controller side feature gate added in v1.10.0 |
5454
| `IPsecCertAuth` | Agent + Controller | `false` | Alpha | v1.7 | N/A | N/A | No | |

docs/service-loadbalancer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ no extra configuration change is needed.
6363

6464
#### Enable Service external IP management feature
6565

66-
At this moment, external IP management for Services is an alpha feature of
67-
Antrea. The `ServiceExternalIP` feature gate of `antrea-agent` and
68-
`antrea-controller` must be enabled for the feature to work. You can enable
66+
The `ServiceExternalIP` feature is enabled by default since Antrea 2.3. If you are
67+
using previous versions, the `ServiceExternalIP` feature gate of `antrea-agent`
68+
and `antrea-controller` must be enabled for the feature to work. You can enable
6969
the `ServiceExternalIP` feature gate in the `antrea-config` ConfigMap in
7070
the Antrea deployment YAML:
7171

@@ -311,7 +311,7 @@ MetalLB.
311311
As MetalLB will allocate external IPs for all Services of type LoadBalancer,
312312
once it is running, the Service external IP management feature of Antrea should
313313
not be enabled to avoid conflicts with MetalLB. You can deploy Antrea with the
314-
default configuration (in which the `ServiceExternalIP` feature gate of
314+
ServiceExternalIP feature disabled (in which the `ServiceExternalIP` feature gate of
315315
`antrea-agent` is set to `false`). MetalLB can work with both Antrea Proxy and
316316
`kube-proxy` configurations of `antrea-agent`.
317317

pkg/apiserver/handlers/featuregates/handler_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func Test_getGatesResponse(t *testing.T) {
7575
{Component: "agent", Name: "NodePortLocal", Status: "Enabled", Version: "GA"},
7676
{Component: "agent", Name: "PacketCapture", Status: "Disabled", Version: "ALPHA"},
7777
{Component: "agent", Name: "SecondaryNetwork", Status: "Disabled", Version: "ALPHA"},
78-
{Component: "agent", Name: "ServiceExternalIP", Status: "Disabled", Version: "ALPHA"},
78+
{Component: "agent", Name: "ServiceExternalIP", Status: "Enabled", Version: "BETA"},
7979
{Component: "agent", Name: "ServiceTrafficDistribution", Status: "Enabled", Version: "BETA"},
8080
{Component: "agent", Name: "SupportBundleCollection", Status: "Disabled", Version: "ALPHA"},
8181
{Component: "agent", Name: "TopologyAwareHints", Status: "Enabled", Version: "BETA"},
@@ -207,7 +207,7 @@ func Test_getControllerGatesResponse(t *testing.T) {
207207
{Component: "controller", Name: "Multicluster", Status: "Disabled", Version: "ALPHA"},
208208
{Component: "controller", Name: "NetworkPolicyStats", Status: "Enabled", Version: "BETA"},
209209
{Component: "controller", Name: "NodeIPAM", Status: "Enabled", Version: "BETA"},
210-
{Component: "controller", Name: "ServiceExternalIP", Status: "Disabled", Version: "ALPHA"},
210+
{Component: "controller", Name: "ServiceExternalIP", Status: "Enabled", Version: "BETA"},
211211
{Component: "controller", Name: "SupportBundleCollection", Status: "Disabled", Version: "ALPHA"},
212212
{Component: "controller", Name: "Traceflow", Status: "Enabled", Version: "BETA"},
213213
},

0 commit comments

Comments
 (0)