Skip to content

Commit

Permalink
Postgres 16 og ikke HA i dev
Browse files Browse the repository at this point in the history
Fjern high availability og autoresize av
disker i dev-miljø.
  • Loading branch information
Oddsor committed Jul 15, 2024
1 parent 7ddf65c commit 10aaff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .nais/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .nais/nais.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .nais/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 10aaff1

Please sign in to comment.