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
This commit is contained in:
@@ -67,10 +67,6 @@ spec:
|
|||||||
# Affinity to spread replicas across nodes (soft - prefer different nodes)
|
# Affinity to spread replicas across nodes (soft - prefer different nodes)
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinityType: preferred
|
podAntiAffinityType: preferred
|
||||||
tolerations:
|
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoSchedule"
|
|
||||||
|
|
||||||
# Enable superuser access
|
# Enable superuser access
|
||||||
enableSuperuserAccess: true
|
enableSuperuserAccess: true
|
||||||
|
|||||||
@@ -86,15 +86,6 @@ spec:
|
|||||||
- name: BASIC_AUTH_ENABLED
|
- name: BASIC_AUTH_ENABLED
|
||||||
value: "false"
|
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: {}
|
affinity: {}
|
||||||
envFrom: []
|
envFrom: []
|
||||||
|
|
||||||
|
|||||||
@@ -43,12 +43,6 @@ nodeAgent:
|
|||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 100Mi
|
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 for backup storage
|
||||||
configuration:
|
configuration:
|
||||||
# Use existing BackupStorageLocation and VolumeSnapshotLocation
|
# Use existing BackupStorageLocation and VolumeSnapshotLocation
|
||||||
@@ -107,15 +101,5 @@ serviceAccount:
|
|||||||
rbac:
|
rbac:
|
||||||
create: true
|
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 (disabled - single replica on master)
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user