argocd: xslt-lab ignoreDifferences /spec/replicas (HPA vs replicaCount)

This commit is contained in:
2026-07-25 10:46:37 +00:00
parent 124758801f
commit 6b367c237e
+9
View File
@@ -19,7 +19,16 @@ spec:
destination:
server: https://kubernetes.default.svc
namespace: xslt-lab
# El HPA ajusta .spec.replicas en caliente (backend 1-5, frontend 2-5), mientras
# que el chart renderiza replicaCount fijo -> OutOfSync permanente. Se ignora el
# campo para que ArgoCD no pelee con el autoscaler.
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/replicas
syncPolicy:
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- RespectIgnoreDifferences=true