Skip to content

Commit f111d17

Browse files
authored
Merge pull request #4610 from akiki-liang0/gke-h4d-compact
add compact placement to H4D GKE blueprint
2 parents 02cf54c + 9ea666a commit f111d17

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

examples/gke-h4d/gke-h4d.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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
[{

0 commit comments

Comments
 (0)