Skip to content

Commit

Permalink
Skru cpu ned og minne opp (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjerga authored Jan 13, 2025
1 parent 9180c0e commit ea7b9e8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 22 deletions.
21 changes: 9 additions & 12 deletions deploy/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ metadata:
spec:
strategy:
type: Recreate
ingresses:
- https://spinosaurus.intern.dev.nav.no
image: {{image}}
port: 8080
resources:
requests:
cpu: 50m
memory: 1024Mi
limits:
memory: 2048Mi
replicas:
max: 1
min: 1
prometheus:
enabled: false
path: /metrics
Expand All @@ -27,15 +33,6 @@ spec:
path: /health/is-ready
periodSeconds: 10
timeout: 1
replicas:
max: 1
min: 1
resources:
limits:
memory: 1024Mi
requests:
cpu: 500m
memory: 386Mi

secureLogs:
enabled: true
Expand Down
19 changes: 9 additions & 10 deletions deploy/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ spec:
strategy:
type: Recreate
image: {{image}}
port: 8080
resources:
requests:
cpu: 50m
memory: 1024Mi
limits:
memory: 2048Mi
replicas:
max: 1
min: 1
prometheus:
enabled: true
path: /metrics
Expand All @@ -24,15 +32,6 @@ spec:
path: /health/is-ready
periodSeconds: 10
timeout: 2
replicas:
max: 1
min: 1
resources:
limits:
memory: 1024Mi
requests:
cpu: 500m
memory: 386Mi

secureLogs:
enabled: true
Expand Down

0 comments on commit ea7b9e8

Please sign in to comment.