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

Support for kube-proxy nftables backend (KEP-3866) #3842

Open
twz123 opened this issue Dec 20, 2023 · 0 comments
Open

Support for kube-proxy nftables backend (KEP-3866) #3842

twz123 opened this issue Dec 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@twz123
Copy link
Member

twz123 commented Dec 20, 2023

Tracking issue for supporting the new nftables backend described in KEP-3866 which landed as an alpha feature in Kubernetes 1.29.

Excerpt from the 1.29 changelog:

kube-proxy now has a new nftables-based mode, available by running

kube-proxy --feature-gates NFTablesProxyMode=true --proxy-mode nftables

This is currently an alpha-level feature and while it probably will not eat your data, it may nibble at it a bit. (It passes e2e testing but has not yet seen real-world use.)

At this point it should be functionally mostly identical to the iptables mode, except that it does not (and will not) support Service NodePorts on 127.0.0.1. (Also note that there are currently no command-line arguments for the nftables-specific config; you will need to use a config file if you want to set the equivalent of any of the --iptables-xxx options.)

As this code is still very new, it has not been heavily optimized yet; while it is expected to eventually have better performance than the iptables backend, very little performance testing has been done so far.

NB: The kube-proxy image will most likely need to include the nft binary for this.

@twz123 twz123 added the enhancement New feature or request label Dec 20, 2023
@twz123 twz123 mentioned this issue Dec 20, 2023
12 tasks
@twz123 twz123 mentioned this issue Feb 22, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant