question

DesmondSindatry-6106 avatar image
0 Votes"
DesmondSindatry-6106 asked ChaitanyaNaykodiMSFT-9638 answered

Does azure load balancer support websockets ?

Does azure standard load balancer support websockets.

Background:

I have an app that runs in a AKS cluster and I have exposed the service using loadbalancer with annotation

service.beta.kubernetes.io/azure-load-balancer-internal: "true

The HTTPS UI works but does not support websockets.

Thank you,
Desmond



azure-kubernetes-serviceazure-load-balancer
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered

Hello @DesmondSindatry-6106, Welcome to the Microsoft Q&A forum.

Azure Load balancer does not support WebSockets. You can consider using Application Gateway as it natively supports WebSockets. You can explore Application Gateway Ingress Controller (AGIC) which is a Kubernetes application, which makes it possible for Azure Kubernetes Service (AKS) customers to leverage Azure's native Application Gateway L7 load-balancer to expose cloud software to the Internet.

If it helps you can go through this documentation to help decide on a load balancing solution for your scenario.

Please let me know if you have any additional questions. Thank you!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.