简体   繁体   中英

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.

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM