Fix Dozzle UI-to-API connection by adding WebSocket support
Add Traefik WebSocket annotations to ingress to enable real-time log streaming. Without these, the UI cannot establish WebSocket connections to the API backend. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
b88e178ec3
commit
3b80ed550c
1 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ metadata:
|
|||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||
traefik.ingress.kubernetes.io/preserve-host: "true"
|
||||
# WebSocket support for real-time log streaming
|
||||
ingress.kubernetes.io/protocol: http
|
||||
ingress.kubernetes.io/connection-timeout: "3600"
|
||||
traefik.ingress.kubernetes.io/websocket: "true"
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue