Reputation: 20808
Is Kubernetes taking care of cleaning up failed/stopped containers at some point?
It doesn't seem like it and it can pile up.
I know how to clean them up manually but i wonder if there is a setting to automate it.
Upvotes: 1
Views: 1180
Reputation: 5113
It's good practice to first check the docs site before posting a question. Kubernetes does handle container GC, quoting from the docs page:
We also allow users to customize garbage collection policy, basically via following three flags.
Upvotes: 2