Skip to content

fix: remove unnecesary annotations from the hpa sync wave#117

Merged
MoisesGSalas merged 1 commit into
mainfrom
mgs/fix-hpa-sync-waves
Jul 2, 2024
Merged

fix: remove unnecesary annotations from the hpa sync wave#117
MoisesGSalas merged 1 commit into
mainfrom
mgs/fix-hpa-sync-waves

Conversation

@MoisesGSalas
Copy link
Copy Markdown
Member

Description

The HPA sync-wave patch includes annotations to indicate argocd in which order should the HPA resources be applied in relation to the other resources. The argocd.argoproj.io/hook: Sync and argocd.argoproj.io/hook-delete-policy: HookSucceeded annotations are used for ephemeral resources (like jobs) and should not be used for the HPA resources.

Testing

Install https://github.com/eduNEXT/tutor-contrib-pod-autoscaling and activate the HPAs. The resources should be missing in the ArgoCD UI. Apply the fix and they should appear again.

The HPA sync-wave patch includes annotations to indicate argocd
in which order should the HPA resources be applied in relation
to the other resources. The `argocd.argoproj.io/hook: Sync`
and `argocd.argoproj.io/hook-delete-policy: HookSucceeded`
annotations are used for ephemeral resources (like jobs) and
should not be used for the HPA resources.
@MoisesGSalas MoisesGSalas requested a review from a team as a code owner July 2, 2024 20:34
@MoisesGSalas MoisesGSalas merged commit 18c99e3 into main Jul 2, 2024
@MoisesGSalas MoisesGSalas deleted the mgs/fix-hpa-sync-waves branch July 2, 2024 21:08
jfavellar90 pushed a commit that referenced this pull request Jul 2, 2024
The HPA sync-wave patch includes annotations to indicate argocd
in which order should the HPA resources be applied in relation
to the other resources. The `argocd.argoproj.io/hook: Sync`
and `argocd.argoproj.io/hook-delete-policy: HookSucceeded`
annotations are used for ephemeral resources (like jobs) and
should not be used for the HPA resources.
jfavellar90 pushed a commit that referenced this pull request Jul 2, 2024
The HPA sync-wave patch includes annotations to indicate argocd
in which order should the HPA resources be applied in relation
to the other resources. The `argocd.argoproj.io/hook: Sync`
and `argocd.argoproj.io/hook-delete-policy: HookSucceeded`
annotations are used for ephemeral resources (like jobs) and
should not be used for the HPA resources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants