top of page
Search
  • Writer's pictureAmod Kadam

Very Handy Kubernetes Commands

Updated: Sep 24, 2023

This post describes some of the Kubernetes commands which we found quite handy.


If you find it useful feel free to share this blog post.


How to check if POD is in running Status ?


When you create POD , at times POD may take some time to get created so instead of executing the get pod command again and again to check the Running status you could use --watch flag with kubectl


kubectl get po --watch


How to check on which Node POD is running ?


Method 1

kubectl get po -o wide

If using Minikube you should see the following


Method 2


kubectl describe no 

This provides a complete list of of PODS running on that node. This is quite handy in case you want to know which PODs are running on the node.






25 views0 comments
bottom of page