From 39ad7757f83154e14bbff088ee7bdd5ce59d7afa Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Sat, 10 Jan 2026 18:35:15 +0900 Subject: [PATCH] REFACTOR(repo): remove control-plane scheduling - Remove nodeSelector for control-plane node - Remove tolerations for control-plane taint - Allow pods to schedule on any available node --- postgresql/manifests/cluster.yaml | 4 ---- velero/argocd.yaml | 9 --------- velero/helm-values.yaml | 16 ---------------- 3 files changed, 29 deletions(-) diff --git a/postgresql/manifests/cluster.yaml b/postgresql/manifests/cluster.yaml index ecaac0b..40eeefd 100644 --- a/postgresql/manifests/cluster.yaml +++ b/postgresql/manifests/cluster.yaml @@ -67,10 +67,6 @@ spec: # Affinity to spread replicas across nodes (soft - prefer different nodes) affinity: podAntiAffinityType: preferred - tolerations: - - key: "node-role.kubernetes.io/control-plane" - operator: "Exists" - effect: "NoSchedule" # Enable superuser access enableSuperuserAccess: true diff --git a/velero/argocd.yaml b/velero/argocd.yaml index e59b1ee..a4b34e4 100644 --- a/velero/argocd.yaml +++ b/velero/argocd.yaml @@ -86,15 +86,6 @@ spec: - name: BASIC_AUTH_ENABLED value: "false" - # Run on master node with velero controller - nodeSelector: - node-role.kubernetes.io/control-plane: "true" - - tolerations: - - key: "node-role.kubernetes.io/control-plane" - operator: "Exists" - effect: "NoSchedule" - affinity: {} envFrom: [] diff --git a/velero/helm-values.yaml b/velero/helm-values.yaml index 44fdf85..93ef180 100644 --- a/velero/helm-values.yaml +++ b/velero/helm-values.yaml @@ -43,12 +43,6 @@ nodeAgent: memory: 100Mi limits: memory: 100Mi - # Run on all nodes including control-plane for full backup coverage - tolerations: - - key: "node-role.kubernetes.io/control-plane" - operator: "Exists" - effect: "NoSchedule" - # Configuration for backup storage configuration: # Use existing BackupStorageLocation and VolumeSnapshotLocation @@ -107,15 +101,5 @@ serviceAccount: rbac: create: true -# Node selector - Run on control-plane node for stability -nodeSelector: - node-role.kubernetes.io/control-plane: "true" - -# Tolerations - Allow scheduling on control-plane node -tolerations: - - key: "node-role.kubernetes.io/control-plane" - operator: "Exists" - effect: "NoSchedule" - # Affinity (disabled - single replica on master) affinity: {}