Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote feature gate EndpointSlice to GA #5393

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

hongliangl
Copy link
Contributor

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the EndpointSlice and TopologyAwareHints section for the change.
I suppose - EndpointSlice is enabled can be removed for TopologyAwareHints?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not addressed? I think we can update the line EndpointSlice is enabled. as below?

EndpointSlice API version v1 is supported and set as enabled in Kubernetes

@hongliangl hongliangl added the action/release-note Indicates a PR that should be included in release notes. label Aug 18, 2023
@luolanzone luolanzone added this to the Antrea v1.14 release milestone Sep 18, 2023
luolanzone
luolanzone previously approved these changes Sep 18, 2023
Copy link
Contributor

@luolanzone luolanzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luolanzone
Copy link
Contributor

@hongliangl please resolve code conflicts.

@hongliangl hongliangl force-pushed the 20230816-upgrade-proxy branch 2 times, most recently from 0969ae5 to e8453fe Compare September 18, 2023 13:42
@@ -101,7 +101,7 @@ for more information about TopologyAwareHints.
#### Requirements for this Feature

- `AntreaProxy` is enabled.
- `EndpointSlice` is enabled.
- EndpointSlice API version v1 is supported and set as enabled in Kubernetes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- EndpointSlice API version v1 is supported and set as enabled in Kubernetes.
- EndpointSlice API version v1 is available in Kubernetes.

@@ -155,7 +156,7 @@ var (
AntreaPolicy: {Default: true, PreRelease: featuregate.Beta},
AntreaProxy: {Default: true, PreRelease: featuregate.Beta},
Egress: {Default: true, PreRelease: featuregate.Beta},
EndpointSlice: {Default: true, PreRelease: featuregate.Beta},
EndpointSlice: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel we can be more conservative and do not lock it to true since the code is able to handle Endpoint API anyway. This leaves a workaround when there is something wrong with EndpointSlice API.
It's necessary to lock a feature gate to true the code is changed to not support its false case, like no longer checking the feature gate when executing related code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If so, do we need to add an option to replace feature gate EndpointSlice?

Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
@hongliangl hongliangl force-pushed the 20230816-upgrade-proxy branch from e8453fe to 81e1944 Compare September 20, 2023 06:51
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tnqn
Copy link
Member

tnqn commented Sep 20, 2023

/test-all

@tnqn
Copy link
Member

tnqn commented Sep 20, 2023

/test-conformance

@tnqn tnqn merged commit c65299e into antrea-io:main Sep 20, 2023
@hongliangl hongliangl deleted the 20230816-upgrade-proxy branch September 20, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/release-note Indicates a PR that should be included in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants