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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s