fix(observability): 🐛 disable crds.cleanup hook in victoria-metrics-operator

Pre-upgrade cleanup hook uses bitnami/kubectl and spawns on every ArgoCD
sync. Dev cluster nodes are at 99% CPU / pod limit — hook pod cannot be
scheduled, blocking the entire sync indefinitely.

Disabling cleanup.enabled prevents the hook Job from being created.
CRD cleanup is safe to skip on a fresh bootstrap where no old CRDs exist.
This commit is contained in:
Daniel Sy 2026-06-19 09:58:50 +02:00
parent 29c0a59734
commit ef4a1d7ce2
Signed by untrusted user: danielsy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -28,10 +28,7 @@ victoria-metrics-operator:
crds:
plain: true
cleanup:
enabled: true
image:
repository: bitnami/kubectl
pullPolicy: IfNotPresent
enabled: false # disabled: cleanup hook can't schedule on resource-constrained nodes (Insufficient cpu / Too many pods)
serviceMonitor:
enabled: true
operator: