kubelet ======== ###### tags: `k8s` :::info An ==agent== that runs on each node in the cluster. ***It makes sure that containers are running in a Pod.*** ::: + The kubelet takes a set of PodSpecs that are provided through various mechanisms and ensures that the ==containers== described in those PodSpecs are ***running and healthy***. + The kubelet doesn't manage containers which were not created by Kubernetes. ![](https://i.imgur.com/TsGRKYW.png =500x) ## cri-tools > from kubernetes community cri-tools aims to provide a series of ***debugging and validation tools*** for Kubelet CRI, which includes: + <kbd>crictl</kbd>: CLI for kubelet CRI. + <kbd>critest</kbd>: validation test suites for kubelet CRI. ### useful commands ```shell= crictl pull busybox crictl images crictl ps crictl exec -ti busybox sh crictl pods ``` ## trouble shooting ```shell= systemctl status kubelet journalctl -u kubelet -f ```