Skip to content

Commit bd8ccfe

Browse files
authored
Target OCCM DaemonSet to control-plane nodes and tolerate CriticalAddonsOnly taint (#2902)
1 parent 378e53d commit bd8ccfe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

manifests/controller-manager/openstack-cloud-controller-manager-ds.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@ spec:
2424
k8s-app: openstack-cloud-controller-manager
2525
spec:
2626
nodeSelector:
27-
node-role.kubernetes.io/control-plane: ""
27+
node-role.kubernetes.io/control-plane: "true"
2828
securityContext:
2929
runAsUser: 1001
3030
tolerations:
31+
- key: "CriticalAddonsOnly"
32+
operator: "Equal"
33+
value: "true"
34+
effect: "NoExecute"
3135
- key: node.cloudprovider.kubernetes.io/uninitialized
3236
value: "true"
3337
effect: NoSchedule

0 commit comments

Comments
 (0)