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

Persist the bridge-nf-call-iptables across rke2 restart #884

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
files: persist the bridge-nf-call-iptables across rke2 restart
The bridge-nf-call-iptables should be disabled by network-controller.
But rke2 will toggle it back to enable. Need to make sure it stays
at disabled.

Signed-off-by: Chris Chiu <[email protected]>
  • Loading branch information
mingshuoqiu authored and mschiu77 committed Nov 26, 2024
commit 853e4e3a7f5d7a70e45f05aaaebf0911ce5b9dab
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Wants=time-sync.target

[Service]
ExecStartPre=/usr/sbin/harv-update-rke2-server-url agent
ExecStartPost=/sbin/sysctl -w net.bridge.bridge-nf-call-iptables=0
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Wants=time-sync.target

[Service]
ExecStartPre=/usr/sbin/harv-update-rke2-server-url server
ExecStartPost=/sbin/sysctl -w net.bridge.bridge-nf-call-iptables=0
Loading