We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8249d10 commit 34d397dCopy full SHA for 34d397d
gke.tf
@@ -103,7 +103,18 @@ resource "google_container_node_pool" "nodes" {
103
104
#trivy:ignore:AVD-GCP-0048
105
node_config {
106
- machine_type = var.gke_nodes_machine_type
+ machine_type = var.gke_nodes_machine_type
107
+
108
+ resource_labels = {
109
+ "goog-gke-node-pool-provisioning-model" = "on-demand"
110
+ }
111
112
+ kubelet_config {
113
+ cpu_cfs_quota = false
114
+ pod_pids_limit = 0
115
+ cpu_manager_policy = ""
116
117
118
metadata = { disable-legacy-endpoints = true }
119
oauth_scopes = ["https://www.googleapis.com/auth/cloud-platform"]
120
service_account = google_service_account.gke_service_account.email
0 commit comments