-
Notifications
You must be signed in to change notification settings - Fork 3k
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
docs: Fix command for overwriting iptables on kube-proxy replacement install #16264
Conversation
Commit a55db194ecfb21110c14dd104fe896cee6b25f41 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The change looks good, but I would be curious to understand why the previous command wouldn't work. What error did you get?
Didn't get a clear error. The changes didn't got applied. These errors occured.
But with this command the changes got applied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, did you run the command with sudo
? Process substitution might be at play here.
If so, let's update the command indeed to avoid other people to hit the same issue.
Yea, added |
Yes, I suppose this is because of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@qmonnet but wouldn't we need something like sudo iptables-save | grep -v KUBE | sudo iptables-restore
? at the very least: sudo su -c "iptables-save | grep -v KUBE | iptables-restore"
?
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Updated the restore iptables command because this command wasn't working on Ubuntu 20.10 arm64.