velero: run kopia maintenance daily and throttled

Each of the 15 kopia repositories ran maintenance every hour, and about
once a day a full run of several minutes that writes its cache to the
node's only SSD. Those runs line up with dqlite stalling for seconds and
controllers losing their leases (vault 09:57-10:07, argocd and mbgwp
09:17-09:40 today). Make the default frequency 24h and cap the jobs at
half a CPU, so a full run writes slower and longer instead of in one
burst.
This commit is contained in:
Ruben Hensen committed 2026-10-24 14:43:38 +02:00
1 parent 111a9ddcea
commit 9014898fc5
1 file changed
+16
+16
View File
@@ -42,6 +42,22 @@ spec:
config:
region: minio
features: EnableCSI
# Kopia maintenance ran every hour for each of the 15 repositories,
# and once a day as a full run of several minutes that writes its
# cache to the node's only SSD, which stalls dqlite and makes
# controllers lose their leases (docs/upgrade-k8s-1.33.md). Daily
# and throttled instead. Existing BackupRepositories keep their own
# maintenanceFrequency; they were patched to 24h by hand.
defaultRepoMaintainFrequency: 24h
repositoryMaintenanceJob:
repositoryConfigData:
global:
keepLatestMaintenanceJobs: 3
podResources:
cpuRequest: 100m
cpuLimit: 500m
memoryRequest: 256Mi
memoryLimit: 2Gi
credentials:
# Use existing secret created by External Secrets Operator
# existingSecret: velero-minio-credentials