Skip to content

Commit

Permalink
Promote ServiceExternalIP to beta
Browse files Browse the repository at this point in the history
Fixes: #6743

Signed-off-by: Xu Liu <[email protected]>
  • Loading branch information
xliuxu committed Jan 8, 2025
1 parent 503239f commit 71e9203
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/feature-gates.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ edit the Agent configuration in the
| `AntreaIPAM` | Agent + Controller | `false` | Alpha | v1.4 | N/A | N/A | Yes | |
| `Multicast` | Agent + Controller | `true` | Beta | v1.5 | v1.12 | N/A | Yes | |
| `SecondaryNetwork` | Agent | `false` | Alpha | v1.5 | N/A | N/A | Yes | |
| `ServiceExternalIP` | Agent + Controller | `false` | Alpha | v1.5 | N/A | N/A | Yes | |
| `ServiceExternalIP` | Agent + Controller | `false` | Beta | v1.5 | v2.3 | N/A | Yes | |
| `TrafficControl` | Agent | `false` | Alpha | v1.7 | N/A | N/A | No | |
| `Multicluster` | Agent + Controller | `false` | Alpha | v1.7 | N/A | N/A | Yes | Controller side feature gate added in v1.10.0 |
| `IPsecCertAuth` | Agent + Controller | `false` | Alpha | v1.7 | N/A | N/A | No | |
Expand Down
8 changes: 4 additions & 4 deletions docs/service-loadbalancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ no extra configuration change is needed.

#### Enable Service external IP management feature

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

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

Expand Down
3 changes: 2 additions & 1 deletion pkg/features/antrea_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ const (
SecondaryNetwork featuregate.Feature = "SecondaryNetwork"

// alpha: v1.5
// beta: v2.3
// Enable controlling Services with ExternalIP.
ServiceExternalIP featuregate.Feature = "ServiceExternalIP"

Expand Down Expand Up @@ -209,7 +210,7 @@ var (
Multicast: {Default: true, PreRelease: featuregate.Beta},
Multicluster: {Default: false, PreRelease: featuregate.Alpha},
SecondaryNetwork: {Default: false, PreRelease: featuregate.Alpha},
ServiceExternalIP: {Default: false, PreRelease: featuregate.Alpha},
ServiceExternalIP: {Default: true, PreRelease: featuregate.Beta},
TrafficControl: {Default: false, PreRelease: featuregate.Alpha},
IPsecCertAuth: {Default: false, PreRelease: featuregate.Alpha},
ExternalNode: {Default: false, PreRelease: featuregate.Alpha},
Expand Down

0 comments on commit 71e9203

Please sign in to comment.