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

How can I route all traffic through my gateway node? Do I really need to define destination IP address? #32

Open
ammartaj53 opened this issue Jun 20, 2024 · 0 comments

Comments

@ammartaj53
Copy link

ammartaj53 commented Jun 20, 2024

I am running 2 different curls, one is showing my Gateway node IP and another one is showing my Worker Node IP.

Gateway IP: (which should be the case)
$ kubectl exec -it curl-test -- curl ifconfig.me
143.244.140.251

Node IP: (not intended)
$ kubectl exec -it curl-test -- curl icanhazip.com
143.110.189.242

My static route is setup using file given as an example here public-egress.yaml and I have not defined any specific destination IP for any of the above URL.

Please help.

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