Resources Cleanup / Garbage collector #3718
-
|
Hi! 👋🏼 I'm using Keptn with the auto app discovery enabled. Update: My main issue is that the versions are piling up, and the Prometheus scraping is starting to become problematic. Thanks! 🙇🏼 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello! Thank you for reaching out. Currently we do not have an automated way to cleanup old resources, but for this use case, you can use kube-janitor. Regarding the Please also be aware, that if you are using Hope this helps! If you have any other questions, please reach out. |
Beta Was this translation helpful? Give feedback.
Hello!
Thank you for reaching out. Currently we do not have an automated way to cleanup old resources, but for this use case, you can use kube-janitor.
Regarding the
KeptnAppVersionandKeptnWorkloadVersionresources, it should be safe to remove the old versions of these resources except the latest one (the version which is present in the correspondingKeptnApporKeptnWorkload). Those versions ofKeptnAppVersionandKeptnWorkloadVersionshould havephaseequal toCompletedorDeprecated.Please also be aware, that if you are using
KeptnTasksorKeptnEvaluations, which were ran as part of the application lifecycle deployment, those will get deleted as well (if you have cascading deletion …