first commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: mosquitto-ws
|
||||
namespace: mosquitto
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTP" # Required for WebSocket
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" # Keep connections alive
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: mosquitto.infrastructure.helmholz.cloud
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: mosquitto-ws
|
||||
port:
|
||||
number: 9001
|
||||
Reference in New Issue
Block a user