Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
increase API limits & max replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
broadeditz committed Dec 5, 2023
1 parent 0181188 commit 85517ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ resource "kubernetes_deployment" "app" {
resources {
requests = {
cpu = local.infra.production ? "1000m" : "100m"
memory = local.infra.production ? "4Gi" : "600Mi"
memory = local.infra.production ? "4.5Gi" : "600Mi"
}
limits = {
cpu = local.infra.production ? "1000m" : "100m"
memory = local.infra.production ? "4Gi" : "600Mi"
memory = local.infra.production ? "4.5Gi" : "600Mi"
}
}

Expand Down Expand Up @@ -336,7 +336,7 @@ resource "kubernetes_horizontal_pod_autoscaler_v2" "api" {
}

min_replicas = 2
max_replicas = 10
max_replicas = 14

metric {
type = "Resource"
Expand Down

0 comments on commit 85517ff

Please sign in to comment.