hcloud-cloud-controller-manager
hcloud-cloud-controller-manager copied to clipboard
feat(load-balancer): Enable Proxy Protocol for each service/port separately
Is it possible to toggle proxyprotocol: enable/disable option per service with load balancer?
If I use annotation like
load-balancer.hetzner.cloud/uses-proxyprotocol: "true"
It forces proxy protocol on all ports described in manifest for Service type LoadBalancer.
Thanks!
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
I'm having this exact issue right now - I'd like to be able to use proxy protocol for HTTP and HTTPS, but not for SSH on one LB.
Enabling this configuration per service (i.e. port on the Kubernetes Service object) would make this possible.
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
Not stale. Sorry for the spam, but these auto-closing bots force this 😞
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
I have the same problem, I need to specify which ports use the proxy protocol.
@morremeyer port 22 gives me GitLab vibes... if I'm correct, then check this (if you still have this issue) -> https://docs.gitlab.com/ee/administration/operations/gitlab_sshd.html?tab=Helm+chart+%28Kubernetes%29#proxy-protocol-support
This worked for me, and GitLab Shell now works correctly with PROXY protocol.