From 3096d90779f175b797f13edc25029efc2db9d835 Mon Sep 17 00:00:00 2001 From: rohow Date: Thu, 5 Dec 2024 11:20:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(velero):=20=E4=BC=98=E5=8C=96=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=B8=A6=E5=AE=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/infra/devops/velero/helmchart.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/infra/devops/velero/helmchart.yaml b/apps/infra/devops/velero/helmchart.yaml index 62b4c62..225311b 100644 --- a/apps/infra/devops/velero/helmchart.yaml +++ b/apps/infra/devops/velero/helmchart.yaml @@ -18,10 +18,14 @@ spec: operator: In values: - "cn-sh" - tolerations: - - key: "node-role.kubernetes.io/master" - operator: "Exists" - effect: "NoSchedule" + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 1 + preference: + matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - homea deployNodeAgent: true snapshotsEnabled: false configuration: