What's the best way to auto-prune only specific resources #18004
Unanswered
andrii-korotkov-verkada
asked this question in
Q&A
Replies: 1 comment
-
I've tried to add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm planning to migrate a service from HPA to KEDA ScaledObject and want to prune the HorizontalPodAutoscaler object after the ScaledObject is synced. Having auto-prune for the whole application is undesirable though. But manual sync with prune for each cluster is too tedious. I wonder if there's a way to selectively enable auto prune for specific resources or resource kinds.
One potential thing can be setting
http://argocd.argoproj.io/sync-options: Prune=true
before deleting the HPA resource, but I don't know if that's going to work.I'd appreciate the feedback and answers. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions