Skip to content

Cleanup /var/lib/rancher/k3s/agent #1905

@runningman84

Description

@runningman84

Version:
k3s version v1.17.4+k3s1 (3eee8ac)

K3s arguments:
na

Describe the bug
I would like to cleanup /var/lib/rancher/k3s/agent
This folder is constantly growing. How can I safeley remove old images, volumes and other old stuff? This folder is more than 30GB on each node:
/var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots

To Reproduce

Run a small k3s setup for a few month...

Expected behavior

A way to cleanup stuff like docker system prune

Actual behavior

No corresponding docs available

Additional context / logs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions