8000 add VXLAN_PORT allow rules, do not block on ping to pod-gateway by diseq · Pull Request #71 · angelnu/pod-gateway · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add VXLAN_PORT allow rules, do not block on ping to pod-gateway #71

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

Merged
merged 2 commits into from
May 3, 2025

Conversation

diseq
Copy link
@diseq diseq commented Mar 1, 2025

Description of the change

If the VXLAN_PORT is set (e.g. 4789) additional firewall rules are required.

Additionally, the pod gateway ping in the client could not be performed (due to kubeproxy replacement) and therefore made optional. Connectivity issues are still detected either if the dhclient or the ping to gateway on VXLAN fails.

Benefits

Makes pod-gateway working in cilium

@@ -65,7 +65,7 @@ ip addr
ip route

# Check we can connect to the GATEWAY IP
ping -c "${CONNECTION_RETRY_COUNT}" "$GATEWAY_IP"
ping -c "${CONNECTION_RETRY_COUNT}" "$GATEWAY_IP" || true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

Could we keep the check? Perhaps by allowing ICMP in iptables

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me check. using cilum with kube-proxy replacement I have not been able to ping.
not sure if that is related.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does work with Cilium's kube-proxy replacement aka the ping does work, so I'm not sue where you're running into issues?

@angelnu
Copy link
Owner
angelnu commented May 3, 2025

I re-added the ping. Thanks @samip5

@angelnu angelnu merged commit 3651afc into angelnu:main May 3, 2025
@samip5
Copy link
samip5 commented May 4, 2025

I re-added the ping. Thanks @samip5

I think the problem, this author is encountering is that the networkpolicy that's included is pretty much every time applied. No matter how many times one tries to disable it in chart.

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

Successfully merging this pull request may close these issues.

3 participants
0