Skip to content

Commit

Permalink
Skaler ned ressursbruk
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgfa committed Sep 30, 2024
1 parent 1b651da commit b1af4f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .nais/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,18 @@ spec:
enabled: true
resources:
requests:
cpu: 200m
memory: 512Mi
cpu: 5m
memory: 200Mi
limits:
cpu: 3000m
memory: 1536Mi
memory: 2048Mi
ingresses:
- https://modiapersonoversikt.intern.dev.nav.no
- https://modiapersonoversikt.ansatt.dev.nav.no
- https://modiaflate.intern.dev.nav.no
replicas:
min: 2
max: 4
cpuThresholdPercentage: 60
min: 1
max: 2
cpuThresholdPercentage: 200
azure:
application:
enabled: true
Expand Down
6 changes: 3 additions & 3 deletions .nais/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ spec:
resources:
requests:
cpu: 100m
memory: 4096Mi
memory: 400Mi
limits:
memory: 6144Mi
memory: 2048Mi
ingresses:
- https://modiapersonoversikt.intern.nav.no
- https://modiaflate.intern.nav.no
Expand All @@ -39,7 +39,7 @@ spec:
max: 6
scalingStrategy:
cpu:
thresholdPercentage: 50
thresholdPercentage: 100
azure:
application:
enabled: true
Expand Down

0 comments on commit b1af4f3

Please sign in to comment.