当状态为“正在尝试回收临时存储”时如何释放节点上的存储?

Cha*_*ndu 0 kubernetes

我有一个用于开发的 3 节点 Kubernetes 集群。自 11 天以来,节点的状态之一是“正在尝试回收临时存储”。如何回收存储?由于它只是开发实例,我无法扩展存储。我不关心存储中的现有数据。如何清除存储?谢谢

P E*_*ram 5

只需运行“docker system prune command”即可释放节点上的空间。参考下面的命令

$ docker system prune -a --volumes

WARNING! This will remove:
        - all stopped containers
        - all networks not used by at least one container
        - all volumes not used by at least one container
        - all images without at least one container associated to them
        - all build cache
Are you sure you want to continue? [y/N] y
Run Code Online (Sandbox Code Playgroud)