-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
use kube-vip image with iptables command #11838
Conversation
Signed-off-by: KubeKyrie <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: KubeKyrie The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @KubeKyrie. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
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.
You are changing the default value.
Is there a reason other than fixing the iptables command not found?
@tico88612 No other reasons. Just for we could use iptables command. |
HI @KubeKyrie If changing the default values is not absolutely necessary, we propose adding documentation to clarify the current defaults instead. This approach would help maintain consistency while providing users with the information they need. |
Hi @yankay @tico88612 , sorry for I maybe didn't make myself clear. One truth is that kube-vip with iptables is necessary since kube-vip v0.8.0, and this is introduced by default forward mode Otherwise kube-vip controller did not work normally and we must manually change the image. So I think this is a bug-fix, not change of default value. Thanks. |
This still sounds weird. I've been looking through the documentation and it seems to be related to kube-vip Egress, or maybe it's related to the user's operating system (some systems like RHEL and Rocky Linux have deprecated I think a better solution would be to just switch the desired image with a variable instead of changing the default image. |
OK, that makes sense. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Kube-vip has two image version, one with iptables command and one not. Everything else is the same.
See https://github.com/kube-vip/kube-vip/pkgs/container/kube-vip-iptables
And we 'd better use
kube-vip-iptables
.Which issue(s) this PR fixes:
Fixes #
Fix the iptables command not dound.
Special notes for your reviewer:
Does this PR introduce a user-facing change?: