I'm operating simple kubernetes cluster(CRI is containerd). In the cluster, "crictl ps" command doesn't return "kubelet" container.
In another kubernetes cluster(CRI is docker), "docker ps" command returns "kubelet" container.
What is the difference between these two commands(docker ps / crictl ps)?
Is there any way to see "kubelet" container by "crictl ps" command?
crictl
isn't a replacement fordocker
. The result ofcrictl ps
doesn't include some containers (e.g.pause
).Try
ctr -n k8s.io c ls
to see all the containers running on k8s with containerd.