-
Notifications
You must be signed in to change notification settings - Fork 467
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 debian-iptables for k8s-dns-node-cache, bump debian-base version #367
Conversation
Hi @champtar. Thanks for your PR. I'm waiting for a kubernetes 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/test-infra repository. |
|
/ok-to-test |
iptables-legacy is working as expected with this patch, but when using iptables-nft it's adding the 'raw' rules in loop |
/hold |
Thanks for filing this.. I see you also noted that the issue is happening with debian-buster. So does that mean we cannot use the updated v2.0.0 debian base image either? |
@prameshj we can update, but iptables-nft will be broken, so I prefer to wait to reintroduce the change. iptables-legacy seems fine. |
ok. Would you mind submitting another PR to upgrade base image to 2.0.0 and no other change? There are some vulnerability fixes that went into the latest base image which would be good to pick up. I can submit one too if needed. |
In that case we can merge this code explicitly stating that nft support is broken ? (I'll change the commit message). So everything will be tested and the only missing piece will be a version bump for iptables image |
BTW the iptables bug report: https://bugzilla.netfilter.org/show_bug.cgi?id=1422 |
@champtar can you send out another PR, which will use the debian base for node-cache as well? We can merge that PR right away since it is valuable to go to the latest debian base. |
@prameshj ok will do that likely today |
to be rebased on top of #370 when merged |
@prameshj I don't think Travis is going to work :( |
@champtar No I do NOT need to make any changes to the CNI (Azure in my case) with the ebtables option active. That's all I need and there are for me clear advantages in not having to modify the CNI and being able to control all the setup in a single place. |
/approve |
@prameshj Travis is ok now, but it didn't update the PR status |
@prameshj LGTM ? |
yup. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: champtar, luigibk, prameshj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@prameshj do you already have a date in mind for the next release ? |
I just pushed tag 1.16.0. |
Hi @prameshj,
|
They will be available once kubernetes/k8s.io#1427 merges. |
Thanks ! |
This new version uses the same base image as kube-proxy (k8s.gcr.io/build-image/debian-iptables) This allow to automatically pick iptables-legacy or iptables-nft, and be compatible with RHEL/CentOS 8 kubernetes/dns#367 Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This new version uses the same base image as kube-proxy (k8s.gcr.io/build-image/debian-iptables) This allow to automatically pick iptables-legacy or iptables-nft, and be compatible with RHEL/CentOS 8 kubernetes/dns#367 Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This new version uses the same base image as kube-proxy (k8s.gcr.io/build-image/debian-iptables) This allow to automatically pick iptables-legacy or iptables-nft, and be compatible with RHEL/CentOS 8 kubernetes/dns#367 Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit e909f84)
This new version uses the same base image as kube-proxy (k8s.gcr.io/build-image/debian-iptables) This allow to automatically pick iptables-legacy or iptables-nft, and be compatible with RHEL/CentOS 8 kubernetes/dns#367 Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit e909f84)
This new version uses the same base image as kube-proxy (k8s.gcr.io/build-image/debian-iptables) This allow to automatically pick iptables-legacy or iptables-nft, and be compatible with RHEL/CentOS 8 kubernetes/dns#367 Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
debian-iptables container transparently select iptables-legacy or iptables-nft since v12.0.0:
kubernetes/kubernetes#82966
This fixes #338