Skip to content

Commit 0cf3495

Browse files
committed
contrib: add control-plane toleration for open-vm-tools
From Kubernetes v1.20.0 Release notes: The label applied to control-plane nodes "node-role.kubernetes.io/master" is now deprecated and will be removed in a future release after a GA deprecation period. Introduce a new label "node-role.kubernetes.io/control-plane" that will be applied in parallel to "node-role.kubernetes.io/master" until the removal of the "node-role.kubernetes.io/master" label. xref: https://kubernetes.io/docs/setup/release/notes/#no-really-you-must-read-this-before-you-upgrade Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
1 parent a13ff6b commit 0cf3495

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/open-vm-tools/open-vm-tools-ds.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ spec:
2525
- key: node-role.kubernetes.io/master
2626
operator: Exists
2727
effect: NoSchedule
28+
- key: node-role.kubernetes.io/control-plane
29+
- key: node-role.kubernetes.io/control-plane
30+
operator: Exists
31+
effect: NoSchedule
2832
containers:
2933
- image: linuxkit/open-vm-tools:v0.8
3034
name: open-vm-tools

0 commit comments

Comments
 (0)