AKS Verification
Wait for Terraform to finish and verify the deployment is working as expected and we are able to control the Kubernetes environment.
- We need to save the remote access config for the Kubernetes cluster locally:
mkdir ~/.kube/
terraform output kube_config | sed '1d;$d' > ~/.kube/config
- Check and see that our cluster is up an running. Below we should see our two K8s worker nodes:
kubectl get nodes
Output
- Change the directory back to the original repo folder:
cd ..