Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
daniluk4000 committed Dec 28, 2024
1 parent 741a710 commit 4e3e916
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .config/k8s/main/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
- containerPort: 3000
resources:
requests:
cpu: 400m
cpu: 600m
memory: 300Mi
limits:
cpu: 950m
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
imagePullSecrets:
- name: ghcr-login-secret
nodeSelector:
doks.digitalocean.com/node-pool: premium
doks.digitalocean.com/node-pool: basic-2-2
containers:
- name: worker
image: ghcr.io/vatsim-radar/vatsim-radar/production
Expand All @@ -72,7 +72,7 @@ spec:
- containerPort: 8880
resources:
requests:
cpu: 400m
cpu: 600m
memory: 300Mi
limits:
cpu: 1000m
Expand Down Expand Up @@ -123,7 +123,7 @@ spec:
name: cpu
target:
type: Utilization
averageUtilization: 220
averageUtilization: 140
behavior:
scaleDown:
stabilizationWindowSeconds: 120
8 changes: 4 additions & 4 deletions .config/k8s/next/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
- containerPort: 3000
resources:
requests:
cpu: 400m
cpu: 600m
memory: 300Mi
limits:
cpu: 950m
Expand All @@ -40,7 +40,7 @@ spec:
imagePullSecrets:
- name: ghcr-login-secret
nodeSelector:
doks.digitalocean.com/node-pool: premium
doks.digitalocean.com/node-pool: basic-2-2
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -62,7 +62,7 @@ spec:
imagePullSecrets:
- name: ghcr-login-secret
nodeSelector:
doks.digitalocean.com/node-pool: premium
doks.digitalocean.com/node-pool: basic-2-2
containers:
- name: worker
image: ghcr.io/vatsim-radar/vatsim-radar/next
Expand All @@ -72,7 +72,7 @@ spec:
- containerPort: 8880
resources:
requests:
cpu: 400m
cpu: 600m
memory: 300Mi
limits:
cpu: 1000m
Expand Down

0 comments on commit 4e3e916

Please sign in to comment.