You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remove first and last line from the aks.yml file (remove EOF>> and EOT)
sed -i '1d;$d' ~/.kube/aks-config
make the kubeconfig file available for the k8s module
export K8S_AUTH_KUBECONFIG=~/.kube/aks-config
install all requirements for the k8s ansible module
pip install -r requirements.txt
run the ansible playbook
ansible-playbook aks-playbook.yml
make the kubeconfig file available for the kubectl cli
export KUBECONFIG=~/.kube/aks-config
list pods created by ansible playbook using kubectl
kubectl get pods -n nginx-ns
About
Deploy a simple Nginx application using Terraform to provision AKS . Afterwards, make use of Ansible to configure that cluster by creating a new namespace and deploying the Nginx application within it.