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
KeptnAppVersion
andKeptnWorkloadVersion
resources, it should be safe to remove the old versions of these resources except the latest one (the version which is present in the correspondingKeptnApp
orKeptnWorkload
). Those versions ofKeptnAppVersion
andKeptnWorkloadVersion
should havephase
equal toCompleted
orDeprecated
.Please also be aware, that if you are using
KeptnTasks
orKeptnEvaluations
, which were ran as part of the application lifecycle deployment, those will get deleted as well (if you have cascading deletion …