Skip to content

Commit af529a6

Browse files
authored
fix: Tolerate all NoSchedule taints for NFD and CSI deployments (#1074)
This allows tainting nodepools and still using e.g. GPUs or CSI.
1 parent b517a38 commit af529a6

File tree

7 files changed

+2
-7
lines changed

7 files changed

+2
-7
lines changed

charts/cluster-api-runtime-extensions-nutanix/addons/csi/aws-ebs/values-template.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ controller:
1313
operator: Exists
1414
tolerationSeconds: 300
1515
- effect: NoSchedule
16-
key: node-role.kubernetes.io/control-plane
1716
operator: Exists
1817
node:
1918
priorityClassName: system-node-critical

charts/cluster-api-runtime-extensions-nutanix/addons/csi/local-path/values-template.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ tolerations:
1010
operator: Exists
1111
tolerationSeconds: 300
1212
- effect: NoSchedule
13-
key: node-role.kubernetes.io/control-plane
1413
operator: Exists

charts/cluster-api-runtime-extensions-nutanix/addons/csi/nutanix/values-template.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ tolerations:
1111
operator: Exists
1212
tolerationSeconds: 300
1313
- effect: NoSchedule
14-
key: node-role.kubernetes.io/control-plane
1514
operator: Exists

charts/cluster-api-runtime-extensions-nutanix/addons/nfd/values-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ worker: ### <NFD-WORKER-CONF-START-DO-NOT-REMOVE>
2929
- "vendor"
3030
tolerations:
3131
- effect: NoSchedule
32-
key: node-role.kubernetes.io/control-plane
32+
operator: Exists
3333

3434
gc:
3535
tolerations:

charts/cluster-api-runtime-extensions-nutanix/templates/csi/aws-ebs/manifests/aws-ebs-csi-configmap.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,6 @@ data:
778778
operator: Exists
779779
tolerationSeconds: 300
780780
- effect: NoSchedule
781-
key: node-role.kubernetes.io/control-plane
782781
operator: Exists
783782
volumes:
784783
- emptyDir: {}

charts/cluster-api-runtime-extensions-nutanix/templates/csi/local-path/manifests/local-path-provisioner-csi-configmap.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ data:
249249
operator: Exists
250250
tolerationSeconds: 300
251251
- effect: NoSchedule
252-
key: node-role.kubernetes.io/control-plane
253252
operator: Exists
254253
volumes:
255254
- configMap:

charts/cluster-api-runtime-extensions-nutanix/templates/nfd/manifests/node-feature-discovery-configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ data:
10911091
serviceAccountName: node-feature-discovery-worker
10921092
tolerations:
10931093
- effect: NoSchedule
1094-
key: node-role.kubernetes.io/control-plane
1094+
operator: Exists
10951095
volumes:
10961096
- hostPath:
10971097
path: /boot

0 commit comments

Comments
 (0)