ingress icon indicating copy to clipboard operation
ingress copied to clipboard

Sticky session support

Open Yapcheekian opened this issue 4 years ago • 3 comments

Hi, in Caddy v2, there is a lb_policy option for the reverse_proxy directive. https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#load-balancing

Is this feature available on caddy ingress controller as well?

Thanks

Yapcheekian avatar Nov 05 '21 18:11 Yapcheekian

Hi, for now the load balancing logic isn't handled by caddy ingress but by kube proxy (we just send traffic to the service). I'd like to add this feature but lack time.

Embraser01 avatar Nov 08 '21 08:11 Embraser01

It's been a while, but I'm using this for my SignalR service, and I was hoping to use sticky sessions to allow websocket negotiation. Hoping this is still being considered.

TyrenDe avatar Jul 26 '23 21:07 TyrenDe

Adding support for caddy load balancing (with all the load balancing rules including sticky session) is a big task but is necessary for a lot of caddy features. I still lack time but this is still in my top priorities for this project 👍

Embraser01 avatar Sep 03 '23 15:09 Embraser01