Skip to content

Add automated cleanup of leftover containers, images, and temporary files after deployments/rebuilds #46

Description

@omur00

Problem:
After multiple deployments or rebuilds, it leaves behind temporary files, failed containers, old images, or completed/failed Kubernetes jobs. Over time, these leftovers accumulate and consume significant storage, requiring manual cleanup.

Currently, I use commands like the following to free space:

sudo crictl rmi --prune
sudo crictl rm $(sudo crictl ps -a -q) 2>/dev/null

Proposed Feature:
It would be very useful if QuickStack could provide an automatic cleanup mechanism that runs periodically or after deployments.

Is this possible ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions