Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgoCD Application display OutOfSync and repeatedly synchronized #17964

Closed
shifeichen opened this issue Apr 25, 2024 · 3 comments
Closed

ArgoCD Application display OutOfSync and repeatedly synchronized #17964

shifeichen opened this issue Apr 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@shifeichen
Copy link

argocd version

v2.9.6+ba62a0a

what is the bug

Application OutOfSync, The HPA resources in the application is repeatedly synchronized.

To Reproduce

Adjust the order of these two parameters in your code

Expected behavior

sync ok

Screenshots

image

image

image

@shifeichen shifeichen added the bug Something isn't working label Apr 25, 2024
@rumstead
Copy link
Contributor

https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/#diffing-customization should cover this

For Horizontal Pod Autoscaling (HPA) objects, the HPA controller is known to reorder spec.metrics in a specific order. See kubernetes issue #74099. To work around this, you can order spec.metrics in Git in the same order that the controller prefers.

@Sineaggi
Copy link

Duplicate of #7846

@blakepettersson
Copy link
Member

Indeed a duplicate of #7846

@blakepettersson blakepettersson closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants