CRICTL Setup - Cluster troubleshoot

CRICTL command line utility works with both docker and containerd

I will set it up to containerd.

Create a file called crictl.yaml (must be .yaml), and inside it copy paste this content

runtime-endpoint: unix:///var/run/containerd/containerd.sock
image-endpoint: unix:///var/run/containerd/containerd.sock
timeout: 10
debug: false

Now you can run crictl command

Note: I t must be run with sudo privileges