From 2b0a4a712c66845f515f8a945901854435dcc5f5 Mon Sep 17 00:00:00 2001 From: Vicente Cheng Date: Tue, 28 Nov 2023 11:18:03 +0800 Subject: [PATCH] deploy: allow node-manager pod running on the etcd node Signed-off-by: Vicente Cheng --- manifests/daemonset.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/daemonset.yaml b/manifests/daemonset.yaml index 8f389b8d..1238468e 100644 --- a/manifests/daemonset.yaml +++ b/manifests/daemonset.yaml @@ -21,8 +21,10 @@ spec: tolerations: # this toleration is to have the daemonset runnable on master nodes # remove it if your masters can't run pods - - key: node-role.kubernetes.io/master - effect: NoSchedule + - effect: NoSchedule + key: node-role.kubernetes.io/master + - effect: NoExecute + operator: Exists serviceAccountName: harvester-node-manager containers: - env: