-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible module to create & manage namespace in AKS #1232
Comments
@sudheerkaramchand Could you explain your requirements in detail? This will help to resolve any issues you may encounter, and listing all clusters under resource groups or subscription_id is already supported in PR #1229. Thank you very much! |
@Fred-sun Thank you for your response. Now I want to do the same thing using Ansible playbooks to create namespace and list pods (this is part of testing) and noticed there is no supporting module for AKS where I can list pods or create namespace but can find the same in open source k8s module (link below) To run a playbook to list pods and create namespace, which module I can use here as Azure_rm_aks does not have kind and namespace parameter given in Ansible documentation (link below) |
Once you've created the cluster with the |
@bigfleet Thank you for your response. Could you please elaborate or provide any example on how I can store the kubeconfig result and passing to k8s module. |
|
@bigfleet @sudheerkaramchand Added in #1497 |
Currently I'm working on managing existing AKS cluster created through ansible playbook and now would like to create and manage the AKS cluster using playbooks. For eg creating pods, list pods, create namespace etc.
In ansible azure_rm_aks module there is no supported parameters given to create a pipeline to list pods or create namespace.
https://docs.ansible.com/ansible/latest/collections/azure/azcollection/azure_rm_aks_module.html
Kindly suggest how I overcome this issue.
`---
hosts: localhost
connection: local
gather_facts: yes
tasks:
azure.azcollection.azure_rm_aks_info:
name: myAKSCluster
resource_group: myResourceGroup
`
The text was updated successfully, but these errors were encountered: