-
Notifications
You must be signed in to change notification settings - Fork 505
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
Add nftables binary to the distroless-iptables image #3320
Add nftables binary to the distroless-iptables image #3320
Conversation
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.
/lgtm
/hold
for other folks to take a look as well
/lgtm |
lol /lgtm |
/hold cancel I would not rename it, this is the kube-proxy base image , and it should support all the official modes, being nftables one of them per the reasons explained in the KEP https://github.com/kubernetes/enhancements/blob/master/keps/sig-network/3866-nftables-proxy/README.md
Thanks |
/hold I forget we need to bump the version |
see e5e7b63 for reference |
ab7b60a
to
7127390
Compare
I bumped it from v0.3.3 to v0.4.0... adding nftables support seemed minor-version-bump-worthy |
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.
@danwinship are you going to promote the image as well?
/unhold
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danwinship, saschagrunert, xmudrii 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 |
"This is a great image! I think everyone should use it!" Um... I assume that's not what you meant? |
Well, the day you get tired of software developing you can work with marketing @danwinship But specifically for image promotion: https://github.com/kubernetes/k8s.io/blob/3d65e59aceec210430ddc6d9f765028640ff3c07/k8s.gcr.io/images/k8s-staging-build-image/images.yaml#L235 |
Checksum for image promotion should be at the end of this job: But @cpanato just did a 0.4.1 to bump also Go version on #3321 so probably we should go straight to 0.4.1. |
No, but I appreciate the promotion! 🙏
Good, thanks for checking! |
did the promotion for both images just to be there :) |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds the nftables binary to the (now-somewhat-badly-named)
distroless-iptables
image, so that it will support the new kube-proxy nftables backend (KEP-3866).Which issue(s) this PR fixes:
None
but it unblocks kubernetes/kubernetes#121046
Special notes for your reviewer:
We could create separate images for
kube-proxy --proxy-mode iptables
(which would contain iptables and the iptables-wrapper script) andkube-proxy --proxy-mode nftables
(which would contain nftables and no iptables) but that seems like that would be bad, at least while nftables is in alpha, since it would make it much harder to switch between the two modes.We could perhaps rename the image to
distroless-kube-proxy-base
or something, though that would imply it contains ipvs too, which I think it doesn't, although in that case I'm not sure how the e2e ipvs job works (but maybe we could just do the same thing for nftables?). It's not terrible to have it be calleddistroless-iptables
anyway. At least for now.Does this PR introduce a user-facing change?
cc @aojea @rikatz