diff --git a/.nais/dev.yml b/.nais/dev.yml index 70f3de11..36954612 100644 --- a/.nais/dev.yml +++ b/.nais/dev.yml @@ -12,6 +12,7 @@ env: PROXY_CLIENT_ID: dev-fss.arbeidsgiver.tiltak-proxy MILJO: dev-gcp db-tier: db-f1-micro +db-high-availability: false memory-limit: 3000Mi memory-requests: 1000Mi unleash-environment: development diff --git a/.nais/nais.yml b/.nais/nais.yml index 0170a85a..3c4f1038 100644 --- a/.nais/nais.yml +++ b/.nais/nais.yml @@ -62,10 +62,10 @@ spec: leaderElection: true gcp: sqlInstances: - - type: POSTGRES_15 + - type: POSTGRES_16 tier: {{db-tier}} cascadingDelete: false - highAvailability: true + highAvailability: {{ db-high-availability }} diskAutoresize: true diskAutoresizeLimit: 60 databases: diff --git a/.nais/prod.yml b/.nais/prod.yml index 1c657c69..c4a351e4 100644 --- a/.nais/prod.yml +++ b/.nais/prod.yml @@ -12,6 +12,7 @@ env: PROXY_CLIENT_ID: prod-fss.arbeidsgiver.tiltak-proxy MILJO: prod-gcp db-tier: db-custom-2-7680 +db-high-availability: true memory-limit: 6000Mi memory-requests: 4000Mi unleash-environment: production