AKS Verification

Wait for Terraform to finish and verify the deployment is working as expected and we are able to control the Kubernetes environment.

  1. We need to save the remote access config for the Kubernetes cluster locally:
mkdir ~/.kube/
terraform output kube_config | sed  '1d;$d'  > ~/.kube/config
  1. Check and see that our cluster is up an running. Below we should see our two K8s worker nodes:
kubectl get nodes
Output
NAME STATUS ROLES AGE VERSION aks-agentpool-16369343-vmss000000 Ready agent 77s v1.21.9
  1. Change the directory back to the original repo folder:
cd ..