summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorzhu733756 <zhu733756@kubesphere.io>2021-11-19 16:59:20 +0800
committerzhu733756 <zhu733756@kubesphere.io>2021-11-19 17:04:05 +0800
commitf0d21b86bc7f90d8fc8c687e0080ea889f86ad64 (patch)
tree10cfe9293e2e2d0bb15edf03d946bc459c2914e4 /build
parentfix useless forwordPort, add node affinity to the iptables manager ds (diff)
downloadkubeedge-f0d21b86bc7f90d8fc8c687e0080ea889f86ad64.tar.gz
make iptablesmgr node affinity to the master node
Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
Diffstat (limited to 'build')
-rw-r--r--build/iptablesManager/iptablesManager-ds.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/iptablesManager/iptablesManager-ds.yaml b/build/iptablesManager/iptablesManager-ds.yaml
index b626f656a..dae2b7df2 100644
--- a/build/iptablesManager/iptablesManager-ds.yaml
+++ b/build/iptablesManager/iptablesManager-ds.yaml
@@ -22,8 +22,8 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- - key: node-role.kubernetes.io/edge
- operator: DoesNotExist
+ - key: node-role.kubernetes.io/master
+ operator: Exists
restartPolicy: Always
containers:
- name: iptables-manager