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

Fix iptables rules clean during upgrade #7591

Merged
merged 1 commit into from May 22, 2023

Conversation

rbrtbnfgl
Copy link
Contributor

@rbrtbnfgl rbrtbnfgl commented May 22, 2023

Proposed Changes

Removed the CNI iptables rules clean when an upgrade is done.

Unlike rules managed by the kubelet and kube-router, CNI rules are only created when the pod starts. If we remove them in the install script, networking to existing pods (such portmap rules for nodePort pods) will be broken.

Types of Changes

Verification

Testing

Linked Issues

User-Facing Change


Further Comments

Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
@rbrtbnfgl rbrtbnfgl requested a review from a team as a code owner May 22, 2023 16:39
@rbrtbnfgl rbrtbnfgl merged commit 91c5e0d into k3s-io:master May 22, 2023
8 checks passed
@rbrtbnfgl rbrtbnfgl deleted the fix_upgrade branch May 22, 2023 18:18
Copy link

@VestigeJ VestigeJ left a comment

Choose a reason for hiding this comment

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

This looks good

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

4 participants