Does azure load balancer support websockets ?

Desmond Sindatry 46 Reputation points
2022-04-06T17:12:13.093+00:00

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 Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,867 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
404 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 23,031 Reputation points Microsoft Employee
    2022-04-08T00:24:37.827+00:00

    Hello @Desmond Sindatry , 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!