Skip to content

Commit 50703b0

Browse files
authored
Merge pull request #306 from jgehrcke/jp/cdpod-tolerations
Add wildcard tolerations to ComputeDomain pods (issue #305)
2 parents 954b839 + 3797fde commit 50703b0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

templates/compute-domain-daemon.tmpl.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ spec:
6868
test "$(nvidia-imex-ctl -q)" = "READY"
6969
initialDelaySeconds: 10
7070
periodSeconds: 5
71+
# Repel all node taints.
72+
# See https://github.com/NVIDIA/k8s-dra-driver-gpu/issues/305
73+
tolerations:
74+
- operator: "Exists"
75+
effect: "NoSchedule"
76+
- operator: "Exists"
77+
effect: "NoExecute"
78+
- operator: "Exists"
79+
effect: "PreferNoSchedule"
7180
resourceClaims:
7281
- name: compute-domain-daemon
7382
resourceClaimTemplateName: {{ .ResourceClaimTemplateName }}

0 commit comments

Comments
 (0)