Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment on Kubernetes cluster behhind ingress #20

Open
KhalilAwada opened this issue May 12, 2024 · 1 comment
Open

Deployment on Kubernetes cluster behhind ingress #20

KhalilAwada opened this issue May 12, 2024 · 1 comment

Comments

@KhalilAwada
Copy link

KhalilAwada commented May 12, 2024

I'm having trouble configuring cloudamqp/websocket-tcp-relay behind ingress in a Kubernetes cluster

ingress annotations are as following:

annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/configuration-snippet: |-
      proxy_http_version 1.1;
      proxy_set_header Upgrade "websocket";
      proxy_set_header Connection "Upgrade";
    nginx.ingress.kubernetes.io/proxy-body-size: 2500m
    nginx.ingress.kubernetes.io/proxy-read-timeout: '1800'
    nginx.ingress.kubernetes.io/proxy-send-timeout: '1800'
    nginx.org/websocket-services: websocket-tcp-relay
    nginx.ingress.kubernetes.io/protocol: "WebSocket"
    nginx.ingress.kubernetes.io/upgrade-websocket: "true"
spec:
  tls:
    - hosts:
        - <domain>
      secretName: websocket-tcp-relay-tls
  rules:
    - host: <domain>
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: websocket-tcp-relay
                port:
                  number: 15670

Are there any instructions on how to implement this setup ?

@steveb85
Copy link

ever figure this out @KhalilAwada i'm working on this right now.... azure aks if it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants