Force-remove stuck pod sandboxes
Remove orphaned NotReady pod sandboxes that the kubelet did not clean up. A fix on the node level
crictl rmp -f $(crictl pods -q --state NotReady)
- tool
- crictl3 commands
More crictl commands
-
crictl rmi --pruneFree disk space by deleting images that no container uses. A safe fix for disk pressure on a node
-
crictl inspect <id> | jq '.info'Show runtime info, cgroup path, mounts and pid of a container. kubectl cannot show these