Skip to content

Resources Cleanup / Garbage collector #3718

Answered by odubajDT
fernandonogueira asked this question in Q&A
Discussion options

You must be logged in to vote

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 and KeptnWorkloadVersion resources, it should be safe to remove the old versions of these resources except the latest one (the version which is present in the corresponding KeptnApp or KeptnWorkload). Those versions of KeptnAppVersion and KeptnWorkloadVersion should have phase equal to Completed or Deprecated.

Please also be aware, that if you are using KeptnTasks or KeptnEvaluations, which were ran as part of the application lifecycle deployment, those will get deleted as well (if you have cascading deletion …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fernandonogueira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants