shaki
shaki

Reputation: 230

Kubernetes with an UDP loadbalancer with sticky sessions based on IP

I'm trying to deploy an UDP-based application on kubernetes, but I'm having troubles finding a suitable cloud provider that has an UDP loadbalancer with IP-based sticky sessions.

I have tried using DigitalOcean Kubernetes Service (DOKS) but they don't support UDP loadbalancers.

EKS (AWS' kubernetes service) provides UDP support with NLB for example, but they don't seem to have sticky sessions on that type of loadbalancer, only on the classic LB.

Is there another cloud provider (I'm thinking of GCE or Azure) that provides my required functionalities out of the box?

I'm asking this here to know if anyone else has had the same problem and maybe has already tried various solutions, and has already found the perfect fit.

Upvotes: 1

Views: 1197

Answers (2)

shaki
shaki

Reputation: 230

As @jordanm posted, the answer was to apply the stickiness parameter through the ec2 console.

Upvotes: 1

Glen Costigan
Glen Costigan

Reputation: 728

I know in Nginx Ingress Controller (which I know works with AWS and NLB with UDP support as you stated) can expose UDP services and supports sticky sessions. I have not done this in AWS or any other cloud provider, but I have with similar use cases on bare-metal.

Upvotes: 2

Related Questions