crictl commands

3 commands, each with a one-line explanation. Click a command to copy it, or its title for details.

Commands 3 shown

  • crictl inspect <id> | jq '.info'

    Dump runtime info, cgroup path, mounts and pid for a CRI container kubectl can't show

    k8s · debug · troubleshooting

  • crictl rmp -f $(crictl pods -q --state NotReady)

    Clean up orphaned NotReady pod sandboxes the kubelet failed to GC; node-level recovery

    k8s · troubleshooting · debug

  • crictl rmi --prune

    Reclaim disk by deleting images not referenced by any container; safe node disk-pressure fix

    k8s · disk · troubleshooting