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

No need to set accept_ra or accept_redirects for non-primary interfaces #2708

Merged
merged 1 commit into from Dec 15, 2023

Conversation

jdn5126
Copy link
Contributor

@jdn5126 jdn5126 commented Dec 11, 2023

What type of PR is this?
cleanup

Which issue does this PR fix:
N/A

What does this PR do / Why do we need it:
This PR removes the IPv6 sysctl setup done in the VPC CNI init container for accept_ra and accept_redirects. Our IPv6 implementation does not rely on RA for non-primary interfaces, so these sysctls do not need to be set.

If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:
N/A

Testing done on this change:
Verified that the pod-eni integration test suite passes with and without these sysctls. Also verified that the RA route getting installed for the trunk ENI has no impact.

Will this PR introduce any new dependencies?:
No

Will this break upgrades or downgrades? Has updating a running cluster been tested?:
No, Yes

Does this change require updates to the CNI daemonset config files to work?:
No

Does this PR introduce any user-facing change?:
No


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jdn5126 jdn5126 requested a review from a team as a code owner December 11, 2023 17:15
Copy link
Member

@dims dims left a comment

Choose a reason for hiding this comment

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

LGTM

@jdn5126 jdn5126 merged commit 2c8af2d into aws:master Dec 15, 2023
6 checks passed
@jdn5126 jdn5126 deleted the no_ra branch December 15, 2023 21:45
jchen6585 pushed a commit to jchen6585/amazon-vpc-cni-k8s that referenced this pull request Dec 21, 2023
jdn5126 added a commit to jdn5126/amazon-vpc-cni-k8s that referenced this pull request Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants