A collection of useful commands and tips for working with Azure Kubernetes Service (AKS).
Make sure you have the Azure CLI installed and logged in.
az account set --subscription <subscription-id>
az aks get-credentials --resource-group <resource-group> --name <cluster-name> --overwrite-existing
kubectl get pods --namespace <namespace>
Download Lens from https://k8slens.dev/
Lens is an IDE built specifically for Kubernetes that lets you connect to clusters and view, monitor and maintain your clusters.
kubectl config get-contexts
kubectl rollout restart deployment -n <namespace>
Created 2024-04-29T00:04:24-07:00, updated 2024-05-10T17:54:01-07:00 · History · Edit