-
Notifications
You must be signed in to change notification settings - Fork 742
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
Ramdomize SNAT not working #407
Comments
@taylorb-syd @mogren any insight would be appreciated! |
Hi there, @InAnimaTe, first, can we get your clusters CNI version to confirm if you're running a compatible version:
Next, can you also confirm if you refreshed your workers after adding the environment variable to the DaemonSet? I outlined this limitation in PR #246 here. |
Here's what the daemonset looks like:
I have not rebooted the worker nodes yet. Let me work on that now and see what I've got after that! In any case, if rebooting is necessary, the docs should be updated to reflect this; I can make that PR. |
Just realized the SNAT change is in 1.4.0 and |
ref eksctl-io/eksctl#736 waiting because 1.4.0 is not AMI default. |
Ok now it seems to be working closer as to expected:
^This is without a reboot. While new lines are added, those new Rebooting the nodes now to see what things look like after the fact: RESULT below:
Looks like we're all good! (I could have manually pulled out the other rule with a @taylorb-syd can you weigh here on documentation etc..? Should I just submit a PR or are you working on some updates there? Additionally, any idea when a newer version of iptables will be used? Would really like |
Going to close as the core issue seems to be solved. Using eksctl, I'm able to apply the snat patch and then spawn my nodegroup, so no manual rebooting needed. |
Sans me possibly doing this wrong, I've made the variable exist to enable randomization for snat rules, but I'm not seeing this being applied in the iptables rules (when running
iptables-save
from aaws-node
pod viakubectl exec -it aws-node-pvx48 /bin/sh -n kube-system
). When I edit the daemonset, the pods re-roll but nothing seems to change (let me know if I'm doing this wrong).Full
iptables-save
can be found here. Also tried withprng
but then realized iptables in only version 1.4; interested as to if that could be increased or if there's a newer version I can use.Thanks!
The text was updated successfully, but these errors were encountered: