Azure Kubernetes Service – Handy Commands

Just some handy commands to use via kubectl. I found these useful for various reasons so hopefully you will too.

kubectl get nodes

Overview of our nodes.

kubectl get pods -o wide

Pod information, remember from my past blog posts, SQL servers.

kubectl describe pod mssql-deployment-7cb7b5c689-8frqs

Gets details about my pod running SQL image.

kubectl logs mssql-deployment-7cb7b5c689-8frqs

here you will see the beautiful classic SQL logs.

kubectl  top nodes

What the resources of my nodes look like?

Leave a Reply