Use Ansible k8s to deploy pod to AKS

11/26/2018

I have a question - is it possible to use Ansible k8s module (https://docs.ansible.com/ansible/2.6/modules/k8s_module.html) in order to deploy application to AKS (Azure Kubernetes Service)? If so, how could it be done? I'm struggling with that and have no idea. Thanks in advance for any help.

-- wojtek1902
ansible
azure
azure-aks
azure-kubernetes
kubernetes

1 Answer

11/28/2018

in this case problem was due to resource being deployed to a different namespace. this is how you would find those:

kubectl get all --all-namespace
-- 4c74356b41
Source: StackOverflow