Rapid-fire: AKS day-2 commands.
IntermediateConceptPolicy, Cost, AWS Mapping and Rapid-fire
Answer
az aks get-credentials -g rg -n aks --overwrite-existing
az aks show -g rg -n aks --query "{k8s:kubernetesVersion, state:provisioningState, power:powerState.code}"
az aks nodepool list -g rg --cluster-name aks -o table
az aks nodepool scale -g rg --cluster-name aks -n apps --node-count 5
az aks get-upgrades -g rg -n aks -o table
az aks nodepool upgrade -g rg --cluster-name aks -n apps --node-image-only
az aks update -g rg -n aks --attach-acr acrshop
az aks check-acr -g rg -n aks --acr acrshop.azurecr.io
az aks stop -g rg -n aks && az aks start -g rg -n aks
az aks command invoke -g rg -n aks --command "kubectl get pods -A"
More on Policy, Cost, AWS Mapping and Rapid-fire
What is Azure Policy and what effects can a policy have?BeginnerAzure Policy vs RBAC: what is the difference?BeginnerShow an Azure Policy definition that denies public IPs on NICs.AdvancedHow do remediation tasks and policy exemptions work?AdvancedWhat is Microsoft Defender for Cloud?IntermediateWhat tools does Azure offer for cost management?Beginner