Skip to content

Commit

Permalink
chore: update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
daniluk4000 committed Dec 2, 2024
1 parent 21b0255 commit 308607d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .config/k8s/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ metadata:
name: ingress-default
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_http_version 1.1;
proxy_set_header Upgrade "websocket";
proxy_set_header Connection "Upgrade";
spec:
rules:
- host: "do-next.vatsim-radar.com"
Expand All @@ -16,3 +22,10 @@ spec:
name: app-next
port:
number: 3000
- pathType: Prefix
path: "/ws"
backend:
service:
name: app-worker
port:
number: 8800
4 changes: 2 additions & 2 deletions .config/k8s/next/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
imagePullPolicy: Always
command: ["/radar/.config/worker-prod.sh"]
ports:
- containerPort: 3000
- containerPort: 8880
volumeMounts:
- name: radar-data
mountPath: /radar/src/data
Expand Down Expand Up @@ -106,7 +106,7 @@ metadata:
name: worker-next
spec:
ports:
- port: 3000
- port: 8880
selector:
app: worker-next
---
Expand Down

0 comments on commit 308607d

Please sign in to comment.