File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,6 +157,23 @@ deployment_groups:
157157 zones : [$(vars.zone)]
158158 disk_size_gb : $(vars.h4d_node_pool_disk_size_gb)
159159 static_node_count : $(vars.static_node_count)
160+ taints :
161+ # (Optional, but suggested)
162+ # In order prevent scheduling of generic workloads onto the H4D nodepool,
163+ # we suggest a Kubernetes taint. In order to schedule workloads, add the following
164+ # tolerance to a PodSpec that you want to allow to use the H4D nodes. See
165+ # https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ for
166+ # details
167+ # tolerations:
168+ # - key: "node-type"
169+ # operator: "Equal"
170+ # value: "h4d"
171+ # effect: "NoSchedule"
172+ - key : node-type
173+ value : h4d
174+ effect : NoSchedule
175+ placement_policy :
176+ type : COMPACT
160177 additional_networks :
161178 $(concat(
162179 [{
You can’t perform that action at this time.
0 commit comments