hcloud-cloud-controller-manager icon indicating copy to clipboard operation
hcloud-cloud-controller-manager copied to clipboard

feat(load-balancer): Enable Proxy Protocol for each service/port separately

Open WAlekseev opened this issue 2 years ago • 7 comments

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!

WAlekseev avatar Oct 24 '22 14:10 WAlekseev

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.

github-actions[bot] avatar Dec 24 '22 12:12 github-actions[bot]

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.

morremeyer avatar May 14 '23 18:05 morremeyer

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.

github-actions[bot] avatar Jul 14 '23 12:07 github-actions[bot]

Not stale. Sorry for the spam, but these auto-closing bots force this 😞

morremeyer avatar Jul 14 '23 13:07 morremeyer

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.

github-actions[bot] avatar Sep 13 '23 12:09 github-actions[bot]

I have the same problem, I need to specify which ports use the proxy protocol.

bernatvadell avatar Sep 19 '23 14:09 bernatvadell

@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.

morsik avatar Jan 25 '24 23:01 morsik