Skip to content

Commit

Permalink
Merge pull request #1604 from mborsz/patch-2
Browse files Browse the repository at this point in the history
Enable NAP in 'aaa' cluster
  • Loading branch information
k8s-ci-robot authored May 4, 2021
2 parents 9216eda + a5d4b32 commit 04ddf8d
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,20 @@ resource "google_container_cluster" "cluster" {
}
}

// Enable NAP
cluster_autoscaling {
enabled = true
resource_limits {
resource_type = "cpu"
minimum = 2
maximum = 16
}
resource_limits {
resource_type = "memory"
maximum = 64
}
}

// Enable PodSecurityPolicy enforcement
pod_security_policy_config {
enabled = false // TODO: we should turn this on
Expand Down

0 comments on commit 04ddf8d

Please sign in to comment.