Skip to content

Commit

Permalink
add missing cpu manager policy
Browse files Browse the repository at this point in the history
Signed-off-by: Hayden Blauzvern <[email protected]>
  • Loading branch information
haydentherapper committed Aug 21, 2024
1 parent 2488d07 commit c24b382
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions terraform/gcp/modules/gke_cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ resource "google_container_cluster" "cluster" {
service_account = google_service_account.gke-sa.email
oauth_scopes = var.oauth_scopes
kubelet_config {
cpu_cfs_quota = false
pod_pids_limit = 0
cpu_cfs_quota = false
pod_pids_limit = 0
cpu_manager_policy = "none"
}
}

Expand Down
5 changes: 3 additions & 2 deletions terraform/gcp/modules/gke_cluster/node_pool.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ resource "google_container_node_pool" "cluster_nodes" {
oauth_scopes = ["https://www.googleapis.com/auth/cloud-platform"]

kubelet_config {
cpu_cfs_quota = false
pod_pids_limit = 0
cpu_cfs_quota = false
pod_pids_limit = 0
cpu_manager_policy = "none"
}

// Protect node metadata and enable Workload Identity
Expand Down

0 comments on commit c24b382

Please sign in to comment.