Open rkapoor028 opened 4 years ago
A few questions:
Is there any updated / existing documentation on using a custom ingress controller (Nginx) in conjunction with an AKS cluster with Dev Spaces enabled?
The thought is how to access, for instance, a parent space's deployed service (web app in a browser) without having to setup a dev space (which would use tooling in azds for port-forwarding to localhost or supplying the --public flag to azds prep
&& azds up
)?
Hi @moewill, have you seen this doc (https://docs.microsoft.com/en-us/azure/dev-spaces/how-to/ingress-https-nginx)? Let me know if that doesn't answer your question!
Describe the bug We use nginx-ingress-controller to support routing to the apps deployed in the cluster. We are also support active websockets to those apps using the same nginx ingress controller. Currently nginx-ingress controller is monitoring all namespaces in our AKS cluster.
After turning on Dev Spaces in the same cluster, we are seeing frequent disconnection while maintaining active sockets from our application. Those disconnections go away we stop using DevSpaces in that AKS cluster.
Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1006 ().'
We are suspecting Traefik Ingress Controller being used by DevSpaces is causing conflicts.
To Reproduce Setup Devspaces in AKS Cluster with nginx-ingress controller in use Connect via socket to an application deployed in that AKS Cluster You should be able to see errors like after few seconds Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1006 ().'
**Expected behavior** Azure Dev Spaces Ingress Controller should monitor only the DevSpaces namespaces and not interfere with any existing ingress controller