Forum Discussion
jmsbooth
Sep 18, 2021Copper Contributor
Terraform/Ansible/Kubernetes Architecture
Hey all,
New to containers. I am trying to set up a lab within Azure and having trouble understanding the best way to deploy containers using Terraform as IaC, Kubernetes for orchestration, and Ansible for provisioning.
In my understanding, I could use Terraform to build the Azure Kubernetes runtime and deploy the Ansible as a container. The pods would deploy separately from the Ansible and then it would all be managed.
Is this is the right way to do this, or would deploying any of the above into a VM be a better solution?
1 Reply
Sort By
- Joan_AleCopper ContributorHello jmsbooth here's some examples from microsoft azure https://github.com/hashicorp/terraform-provider-azurerm/tree/main/examples and here you can found the documentation from azure to terraform https://docs.microsoft.com/es-es/azure/developer/terraform/overview?WT.mc_id=AZ-MVP-5004321 and yes all apps should be deployed as pods (include ansible).