From 94fa70fa04d09ccde780ee9bc082f9c6ac19d123 Mon Sep 17 00:00:00 2001 From: Nils Martin Sande Date: Tue, 2 Jul 2024 06:22:53 +0200 Subject: [PATCH] Ednret til min/max 2 noder for inngang-api --- apps/api-start-stopp-perioder/nais/nais-dev.yaml | 8 ++++---- apps/api-start-stopp-perioder/nais/nais-prod.yaml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/api-start-stopp-perioder/nais/nais-dev.yaml b/apps/api-start-stopp-perioder/nais/nais-dev.yaml index b2903a5e..da1dedcc 100644 --- a/apps/api-start-stopp-perioder/nais/nais-dev.yaml +++ b/apps/api-start-stopp-perioder/nais/nais-dev.yaml @@ -13,9 +13,9 @@ spec: port: 8080 resources: limits: - memory: 1024Mi + memory: 512Mi requests: - cpu: 200m + cpu: 20m memory: 256Mi tokenx: enabled: true @@ -42,8 +42,8 @@ spec: - name: HENDELSELOGG_TOPIC value: "paw.arbeidssoker-hendelseslogg-v1" replicas: - min: 1 - max: 1 + min: 2 + max: 2 liveness: path: /internal/isAlive initialDelay: 10 diff --git a/apps/api-start-stopp-perioder/nais/nais-prod.yaml b/apps/api-start-stopp-perioder/nais/nais-prod.yaml index 83c41704..34725414 100644 --- a/apps/api-start-stopp-perioder/nais/nais-prod.yaml +++ b/apps/api-start-stopp-perioder/nais/nais-prod.yaml @@ -15,7 +15,7 @@ spec: limits: memory: 1024Mi requests: - cpu: 200m + cpu: 25m memory: 256Mi tokenx: enabled: true @@ -42,8 +42,8 @@ spec: - name: HENDELSELOGG_TOPIC value: "paw.arbeidssoker-hendelseslogg-v1" replicas: - min: 1 - max: 1 + min: 2 + max: 2 liveness: path: /internal/isAlive initialDelay: 10