Skip to content

Commit

Permalink
add initial node coutn and cluster autoscalling
Browse files Browse the repository at this point in the history
  • Loading branch information
VERDOM committed Feb 21, 2024
1 parent 814b7e5 commit d6df637
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ resource "google_container_cluster" "primary" {
}
cluster_autoscaling {
enabled = true
resource_limits {
resource_type = "cpu"
minimum = 1
maximum = 100
}

resource_limits {
resource_type = "memory"
minimum = 1000
Expand Down

0 comments on commit d6df637

Please sign in to comment.