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

Error: Unable to redirect iptables binaries in v2.9.2 #105

Closed
bandesz opened this issue Mar 8, 2023 · 1 comment
Closed

Error: Unable to redirect iptables binaries in v2.9.2 #105

bandesz opened this issue Mar 8, 2023 · 1 comment

Comments

@bandesz
Copy link

bandesz commented Mar 8, 2023

What

I've tried to use the latest v2.9.2 image, but I get an error when the agent tries to execute iptables commands.

v.2.9.2 errors:

$ docker run -it --entrypoint "/usr/sbin/iptables" --rm registry.k8s.io/networking/ip-masq-agent:v2.9.2 --version
Unable to redirect iptables binaries. (Are you running in an unprivileged pod?)
ERROR: No valid subcommand given.
Valid subcommands:
[...]

Also tried with --priviliged, same result.

v2.9.0 works:

$ docker run -it --entrypoint "/usr/sbin/iptables" --rm registry.k8s.io/networking/ip-masq-agent:v2.9.0 --version
iptables v1.8.7 (nf_tables)
@bandesz
Copy link
Author

bandesz commented Mar 8, 2023

Fixed by #102, it works in the v2.9.3 image.

@bandesz bandesz closed this as completed Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant