From 8078efd39c2dc0fcb9bf2a631ab2ed091f0db87d Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sun, 10 Dec 2023 14:38:06 +0000 Subject: [PATCH] test: fix capz windows test failure fix capz windows test failure --- deploy/example/smb-provisioner/smb-server-lb.yaml | 7 +++++++ deploy/example/smb-provisioner/smb-server.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/deploy/example/smb-provisioner/smb-server-lb.yaml b/deploy/example/smb-provisioner/smb-server-lb.yaml index 66c52516400..ddd50ad5b6e 100644 --- a/deploy/example/smb-provisioner/smb-server-lb.yaml +++ b/deploy/example/smb-provisioner/smb-server-lb.yaml @@ -30,6 +30,13 @@ spec: spec: nodeSelector: "kubernetes.io/os": linux + tolerations: + - key: "node-role.kubernetes.io/controlplane" + operator: "Exists" + effect: "NoSchedule" + - key: "node-role.kubernetes.io/control-plane" + operator: "Exists" + effect: "NoSchedule" containers: - name: smb-server image: andyzhangx/samba:win-fix diff --git a/deploy/example/smb-provisioner/smb-server.yaml b/deploy/example/smb-provisioner/smb-server.yaml index 588e77a4fd4..a33158e28bd 100644 --- a/deploy/example/smb-provisioner/smb-server.yaml +++ b/deploy/example/smb-provisioner/smb-server.yaml @@ -30,6 +30,13 @@ spec: spec: nodeSelector: "kubernetes.io/os": linux + tolerations: + - key: "node-role.kubernetes.io/controlplane" + operator: "Exists" + effect: "NoSchedule" + - key: "node-role.kubernetes.io/control-plane" + operator: "Exists" + effect: "NoSchedule" containers: - name: smb-server image: andyzhangx/samba:win-fix