summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2023-01-14 15:33:33 +0800
committerGitHub <noreply@github.com>2023-01-14 15:33:33 +0800
commitc96b3c5da786deaa10abc694bd8233d21d755243 (patch)
tree2bc25570afb36b658b982de71bfaf47256da1625 /build
parentMerge pull request #4533 from gy95/containerd (diff)
parentk8s: Add node-role.kubernetes.io/control-plane taint (diff)
downloadkubeedge-c96b3c5da786deaa10abc694bd8233d21d755243.tar.gz
Merge pull request #4529 from my-git9/cleanup/tag1
k8s: Add node-role.kubernetes.io/control-plane taint
Diffstat (limited to 'build')
-rw-r--r--build/controllermanager/controllermanager-deploy.yaml3
-rw-r--r--build/iptablesmanager/iptablesmanager-ds.yaml2
2 files changed, 5 insertions, 0 deletions
diff --git a/build/controllermanager/controllermanager-deploy.yaml b/build/controllermanager/controllermanager-deploy.yaml
index 95538cb13..3535ce348 100644
--- a/build/controllermanager/controllermanager-deploy.yaml
+++ b/build/controllermanager/controllermanager-deploy.yaml
@@ -34,3 +34,6 @@ spec:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
+ - key: "node-role.kubernetes.io/control-plane"
+ operator: "Exists"
+ effect: "NoSchedule"
diff --git a/build/iptablesmanager/iptablesmanager-ds.yaml b/build/iptablesmanager/iptablesmanager-ds.yaml
index dae2b7df2..8fb9219da 100644
--- a/build/iptablesmanager/iptablesmanager-ds.yaml
+++ b/build/iptablesmanager/iptablesmanager-ds.yaml
@@ -24,6 +24,8 @@ spec:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
+ - key: node-role.kubernetes.io/control-plane
+ effect: Exists
restartPolicy: Always
containers:
- name: iptables-manager