Do you want to know which images are already available on your worker nodes? If yes, you need to run the following command with kubectl.

kubectl get nodes -o jsonpath='{range .items[*]}{}{"\n"}{range .status.images[*]}{"\t"}{.names[0]}{"\n"}{end}{end}'

This command lists all Kubernetes nodes and their available images.

If you like this series of articles, please share them and write your thoughts as comments here. Your feedback encourages me to complete this massively planned program.

Follow my LinkedIn

Follow Kubedemy LinkedIn

Follow Kubedemy Telegram

Leave a Reply

Your email address will not be published. Required fields are marked *