You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to setup theia on k8s
My k8s ingress looks like this
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: code-server
namespace: default
annotations:
'kubernetes.io/ingress.class': 'nginx'
'nginx.ingress.kubernetes.io/configuration-snippet': |
rewrite ^/theia/(.*)$ /$1 break;
proxy_set_header Host $host;
spec:
rules:
http:
paths:
backend:
serviceName: theia-svc
servicePort: 80
example.com/theia -> should redirect to the pod which has theia running on localhost:3000
With the above configuration it opens up the page but websocket connections do not work.
Does anyone have any experience with this.
Beta Was this translation helpful? Give feedback.
All reactions