Closed myers closed 4 years ago
I've been running a microk8s instance on a server as a way to experiment with k8s. Today I was running low on disk and discovered this:
$ zfs list -r rpool/containerd -o name,used,creation | sort -k 2 -h [...] rpool/containerd/3487 3.91G Wed Jun 26 23:41 2019 rpool/containerd/3530 3.91G Thu Jun 27 12:03 2019 rpool/containerd/3582 3.91G Thu Jun 27 14:05 2019 rpool/containerd/3594 3.91G Thu Jun 27 14:17 2019 rpool/containerd/3754 3.91G Fri Jun 28 11:47 2019 rpool/containerd/3961 3.91G Mon Jul 22 12:05 2019 rpool/containerd/4015 3.91G Mon Jul 22 14:54 2019 rpool/containerd/4650 3.91G Wed Aug 7 11:32 2019 rpool/containerd/4658 3.91G Wed Aug 7 11:35 2019 rpool/containerd/5798 3.91G Thu Sep 5 12:17 2019 rpool/containerd/5852 3.91G Thu Sep 5 14:58 2019 rpool/containerd/5971 3.91G Fri Sep 6 12:24 2019 rpool/containerd/5983 3.91G Fri Sep 6 12:47 2019 rpool/containerd/6027 3.91G Fri Sep 6 14:27 2019 rpool/containerd/7364 3.91G Sun Nov 17 19:48 2019 rpool/containerd/754 3.91G Thu May 9 13:32 2019 rpool/containerd/784 3.91G Thu May 9 13:57 2019 rpool/containerd/796 3.91G Thu May 9 14:15 2019 rpool/containerd/821 3.91G Sun May 12 16:58 2019 rpool/containerd/846 3.91G Mon May 13 8:19 2019 rpool/containerd/874 3.91G Mon May 13 9:40 2019 rpool/containerd/987 3.91G Wed May 15 15:34 2019 rpool/containerd/2461 4.94G Fri May 31 15:07 2019 rpool/containerd/2650 4.94G Fri Jun 7 10:35 2019
These are left over from containers that are not longer listed in microk8s.ctr -n k8s.io container ls.
microk8s.ctr -n k8s.io container ls
Fixed in https://github.com/containerd/zfs/pull/24
I've been running a microk8s instance on a server as a way to experiment with k8s. Today I was running low on disk and discovered this:
These are left over from containers that are not longer listed in
microk8s.ctr -n k8s.io container ls
.