argocd: xslt-lab ignoreDifferences /spec/replicas (HPA vs replicaCount)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user