FIX(velero): fix UI and backup visibility
- Enable backup-sync to show backups in UI - Disable prune to preserve dynamic resources - Move velero-ui to master node with single replica
This commit is contained in:
@@ -32,13 +32,11 @@ spec:
|
|||||||
namespace: velero
|
namespace: velero
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: false # Disabled: Backup/Restore/ServerStatusRequest are dynamic
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
allowEmpty: false
|
allowEmpty: false
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PrunePropagationPolicy=foreground
|
|
||||||
- PruneLast=true
|
|
||||||
- RespectIgnoreDifferences=true
|
- RespectIgnoreDifferences=true
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
@@ -71,7 +69,7 @@ spec:
|
|||||||
tag: latest
|
tag: latest
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
replicaCount: 2
|
replicaCount: 1
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
@@ -88,15 +86,16 @@ spec:
|
|||||||
- name: BASIC_AUTH_ENABLED
|
- name: BASIC_AUTH_ENABLED
|
||||||
value: "false"
|
value: "false"
|
||||||
|
|
||||||
affinity:
|
# Run on master node with velero controller
|
||||||
podAntiAffinity:
|
nodeSelector:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
node-role.kubernetes.io/control-plane: "true"
|
||||||
- weight: 100
|
|
||||||
podAffinityTerm:
|
tolerations:
|
||||||
labelSelector:
|
- key: "node-role.kubernetes.io/control-plane"
|
||||||
matchLabels:
|
operator: "Exists"
|
||||||
app: velero-ui
|
effect: "NoSchedule"
|
||||||
topologyKey: kubernetes.io/hostname
|
|
||||||
|
affinity: {}
|
||||||
envFrom: []
|
envFrom: []
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
@@ -132,13 +131,11 @@ spec:
|
|||||||
namespace: velero
|
namespace: velero
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: false # Disabled: Same namespace as velero
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
allowEmpty: false
|
allowEmpty: false
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PrunePropagationPolicy=foreground
|
|
||||||
- PruneLast=true
|
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
backoff:
|
backoff:
|
||||||
|
|||||||
@@ -81,9 +81,7 @@ configuration:
|
|||||||
# This prevents status updates that trigger ArgoCD refreshes
|
# This prevents status updates that trigger ArgoCD refreshes
|
||||||
storeValidationFrequency: 0s
|
storeValidationFrequency: 0s
|
||||||
|
|
||||||
# Disable backup-sync controller (user only uses manual backups)
|
# Note: backup-sync is enabled to show backups in velero-ui
|
||||||
# This prevents lastSyncedTime updates that trigger ArgoCD refreshes
|
|
||||||
disableControllers: backup-sync
|
|
||||||
|
|
||||||
# Credentials for S3 access (from Vault via External Secrets)
|
# Credentials for S3 access (from Vault via External Secrets)
|
||||||
credentials:
|
credentials:
|
||||||
|
|||||||
Reference in New Issue
Block a user