Skip to content

Commit affff7e

Browse files
committed
Reduce failureThreshold and adjust resource requests in configuration files
1 parent c60c4b9 commit affff7e

File tree

49 files changed

+211
-170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+211
-170
lines changed

apps/altinn3-tilgang-service/config.dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spec:
4141
path: /internal/health/liveness
4242
initialDelay: 10
4343
periodSeconds: 5
44-
failureThreshold: 500
44+
failureThreshold: 10
4545
observability:
4646
logging:
4747
destinations:
@@ -53,7 +53,7 @@ spec:
5353
path: /internal/health/readiness
5454
initialDelay: 10
5555
periodSeconds: 5
56-
failureThreshold: 500
56+
failureThreshold: 10
5757
prometheus:
5858
enabled: true
5959
path: /internal/metrics

apps/altinn3-tilgang-service/config.prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
path: /internal/health/liveness
4646
initialDelay: 10
4747
periodSeconds: 5
48-
failureThreshold: 500
48+
failureThreshold: 10
4949
observability:
5050
logging:
5151
destinations:
@@ -57,7 +57,7 @@ spec:
5757
path: /internal/health/readiness
5858
initialDelay: 10
5959
periodSeconds: 5
60-
failureThreshold: 500
60+
failureThreshold: 10
6161
prometheus:
6262
enabled: true
6363
path: /internal/metrics

apps/app-tilgang-analyse-service/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
path: /internal/health/liveness
3434
initialDelay: 4
3535
periodSeconds: 5
36-
failureThreshold: 500
36+
failureThreshold: 10
3737
observability:
3838
logging:
3939
destinations:
@@ -45,7 +45,7 @@ spec:
4545
path: /internal/health/readiness
4646
initialDelay: 4
4747
periodSeconds: 5
48-
failureThreshold: 500
48+
failureThreshold: 10
4949
prometheus:
5050
enabled: true
5151
path: /internal/metrics

apps/batch-bestilling-service/config.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
path: /internal/health/liveness
3030
initialDelay: 30
3131
periodSeconds: 30
32-
failureThreshold: 500
32+
failureThreshold: 10
3333
observability:
3434
logging:
3535
destinations:
@@ -40,7 +40,7 @@ spec:
4040
readiness:
4141
path: /internal/health/readiness
4242
initialDelay: 30
43-
failureThreshold: 500
43+
failureThreshold: 10
4444
prometheus:
4545
enabled: true
4646
path: /internal/metrics
@@ -49,9 +49,10 @@ spec:
4949
max: 1
5050
resources:
5151
requests:
52-
cpu: 200m
53-
memory: 1024Mi
52+
cpu: 20m
53+
memory: 600Mi
5454
limits:
55+
cpu: 200m
5556
memory: 2048Mi
5657
ingresses:
5758
- "https://testnav-batch-bestilling-service.intern.dev.nav.no"

apps/bruker-service/config.test.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
path: /internal/health/liveness
3333
initialDelay: 4
3434
periodSeconds: 5
35-
failureThreshold: 500
35+
failureThreshold: 10
3636
observability:
3737
logging:
3838
destinations:
@@ -44,7 +44,7 @@ spec:
4444
path: /internal/health/readiness
4545
initialDelay: 4
4646
periodSeconds: 5
47-
failureThreshold: 500
47+
failureThreshold: 10
4848
prometheus:
4949
enabled: true
5050
path: /internal/metrics
@@ -61,9 +61,10 @@ spec:
6161
- name: testnav-bruker-service-dev-db
6262
resources:
6363
requests:
64-
cpu: 200m
65-
memory: 1024Mi
64+
cpu: 20m
65+
memory: 800Mi
6666
limits:
67+
cpu: 200m
6768
memory: 2048Mi
6869
env:
6970
- name: SPRING_PROFILES_ACTIVE

apps/bruker-service/config.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
path: /internal/health/liveness
3232
initialDelay: 4
3333
periodSeconds: 5
34-
failureThreshold: 500
34+
failureThreshold: 10
3535
observability:
3636
logging:
3737
destinations:
@@ -43,7 +43,7 @@ spec:
4343
path: /internal/health/readiness
4444
initialDelay: 4
4545
periodSeconds: 5
46-
failureThreshold: 500
46+
failureThreshold: 10
4747
prometheus:
4848
enabled: true
4949
path: /internal/metrics
@@ -60,9 +60,10 @@ spec:
6060
max: 1
6161
resources:
6262
requests:
63-
cpu: 200m
64-
memory: 1024Mi
63+
cpu: 20m
64+
memory: 900Mi
6565
limits:
66+
cpu: 200m
6667
memory: 2048Mi
6768
env:
6869
- name: SPRING_PROFILES_ACTIVE

apps/dolly-search-service/config.test.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
path: /internal/isAlive
3838
initialDelay: 4
3939
periodSeconds: 5
40-
failureThreshold: 500
40+
failureThreshold: 10
4141
observability:
4242
logging:
4343
destinations:
@@ -49,7 +49,7 @@ spec:
4949
path: /internal/isReady
5050
initialDelay: 4
5151
periodSeconds: 5
52-
failureThreshold: 500
52+
failureThreshold: 10
5353
prometheus:
5454
enabled: true
5555
path: /internal/metrics
@@ -58,9 +58,10 @@ spec:
5858
max: 1
5959
resources:
6060
requests:
61-
cpu: 200m
62-
memory: 1024Mi
61+
cpu: 50m
62+
memory: 800Mi
6363
limits:
64+
cpu: 500m
6465
memory: 2048Mi
6566
env:
6667
- name: SPRING_PROFILES_ACTIVE

apps/dolly-search-service/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
path: /internal/isAlive
3939
initialDelay: 4
4040
periodSeconds: 5
41-
failureThreshold: 500
41+
failureThreshold: 10
4242
observability:
4343
logging:
4444
destinations:
@@ -50,7 +50,7 @@ spec:
5050
path: /internal/isReady
5151
initialDelay: 4
5252
periodSeconds: 5
53-
failureThreshold: 500
53+
failureThreshold: 10
5454
prometheus:
5555
enabled: true
5656
path: /internal/metrics
@@ -59,9 +59,10 @@ spec:
5959
max: 1
6060
resources:
6161
requests:
62-
cpu: 200m
62+
cpu: 50m
6363
memory: 1024Mi
6464
limits:
65+
cpu: 500m
6566
memory: 2048Mi
6667
env:
6768
- name: SPRING_PROFILES_ACTIVE

apps/dollystatus/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
path: /internal/health/liveness
1919
initialDelay: 4
2020
periodSeconds: 5
21-
failureThreshold: 500
21+
failureThreshold: 10
2222
observability:
2323
logging:
2424
destinations:
@@ -30,7 +30,7 @@ spec:
3030
path: /internal/health/readiness
3131
initialDelay: 4
3232
periodSeconds: 5
33-
failureThreshold: 500
33+
failureThreshold: 10
3434
prometheus:
3535
enabled: true
3636
path: /internal/metrics

apps/endringsmelding-frontend/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ spec:
4444
- application: testnorge-profil-api
4545
- application: testnorge-profil-api-dev
4646
resources:
47+
requests:
48+
cpu: 50m
49+
memory: 600Mi
4750
limits:
51+
cpu: 400m
4852
memory: 2048Mi
49-
requests:
50-
cpu: 200m
51-
memory: 1024Mi
5253
image: "{{image}}"
5354
ingresses:
5455
- "https://testnav-endringsmelding.intern.dev.nav.no"

apps/endringsmelding-service/config.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
path: /internal/health/liveness
3636
initialDelay: 4
3737
periodSeconds: 5
38-
failureThreshold: 500
38+
failureThreshold: 10
3939
observability:
4040
logging:
4141
destinations:
@@ -47,7 +47,7 @@ spec:
4747
path: /internal/health/readiness
4848
initialDelay: 4
4949
periodSeconds: 5
50-
failureThreshold: 500
50+
failureThreshold: 10
5151
prometheus:
5252
enabled: true
5353
path: /internal/metrics
@@ -56,9 +56,10 @@ spec:
5656
max: 1
5757
resources:
5858
requests:
59-
cpu: 200m
60-
memory: 4000Mi
59+
cpu: 50m
60+
memory: 800Mi
6161
limits:
62-
memory: 5000Mi
62+
cpu: 400m
63+
memory: 2048Mi
6364
ingresses:
6465
- "https://testnav-endringsmelding-service.intern.dev.nav.no"

apps/faste-data-frontend/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ spec:
4848
min: 1
4949
max: 1
5050
resources:
51+
requests:
52+
cpu: 50m
53+
memory: 600Mi
5154
limits:
55+
cpu: 500m
5256
memory: 2048Mi
53-
requests:
54-
cpu: 300m
55-
memory: 1024Mi
5657
image: "{{image}}"
5758
ingresses:
5859
- "https://testnav-faste-data.intern.dev.nav.no"

apps/generer-navn-service/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
path: /internal/health/liveness
5151
initialDelay: 4
5252
periodSeconds: 5
53-
failureThreshold: 500
53+
failureThreshold: 10
5454
observability:
5555
logging:
5656
destinations:
@@ -62,7 +62,7 @@ spec:
6262
path: /internal/health/readiness
6363
initialDelay: 4
6464
periodSeconds: 5
65-
failureThreshold: 500
65+
failureThreshold: 10
6666
prometheus:
6767
enabled: true
6868
path: /internal/metrics

apps/helsepersonell-service/config.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
path: /internal/health/liveness
3434
initialDelay: 4
3535
periodSeconds: 5
36-
failureThreshold: 500
36+
failureThreshold: 10
3737
observability:
3838
logging:
3939
destinations:
@@ -45,7 +45,7 @@ spec:
4545
path: /internal/health/readiness
4646
initialDelay: 4
4747
periodSeconds: 5
48-
failureThreshold: 500
48+
failureThreshold: 10
4949
prometheus:
5050
enabled: true
5151
path: /internal/metrics
@@ -54,9 +54,10 @@ spec:
5454
max: 1
5555
resources:
5656
requests:
57-
cpu: 100m
58-
memory: 1000Mi
57+
cpu: 20m
58+
memory: 800Mi
5959
limits:
60+
cpu: 400m
6061
memory: 2000Mi
6162
ingresses:
6263
- "https://testnav-helsepersonell-service.intern.dev.nav.no"

apps/inntektsmelding-generator-service/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ spec:
4545
min: 1
4646
max: 1
4747
resources:
48+
requests:
49+
cpu: 20m
50+
memory: 600Mi
4851
limits:
52+
cpu: 100m
4953
memory: 2048Mi
50-
requests:
51-
cpu: 200m
52-
memory: 1024Mi
5354
ingresses:
5455
- "https://testnav-inntektsmelding-generator-service.intern.dev.nav.no"

apps/inntektsmelding-service/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ spec:
5959
min: 1
6060
max: 1
6161
resources:
62-
limits:
63-
memory: 2048Mi
6462
requests:
63+
cpu: 20m
64+
memory: 800Mi
65+
limits:
6566
cpu: 200m
66-
memory: 1024Mi
67+
memory: 2048Mi
6768
ingresses:
6869
- "https://testnav-inntektsmelding-service.intern.dev.nav.no"

0 commit comments

Comments
 (0)