Terraform/Ansible/Kubernetes Architecture

%3CLINGO-SUB%20id%3D%22lingo-sub-2762338%22%20slang%3D%22en-US%22%3ETerraform%2FAnsible%2FKubernetes%20Architecture%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2762338%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENew%20to%20containers.%20I%20am%20trying%20to%20set%20up%20a%20lab%20within%20Azure%20and%20having%20trouble%20understanding%20the%20best%20way%20to%20deploy%20containers%20using%20Terraform%20as%20IaC%2C%20Kubernetes%20for%20orchestration%2C%20and%20Ansible%20for%20provisioning.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20understanding%2C%20I%20could%20use%20Terraform%20to%20build%20the%20Azure%20Kubernetes%20runtime%20and%20deploy%20the%20Ansible%20as%20a%20container.%20The%20pods%20would%20deploy%20separately%20from%20the%20Ansible%20and%20then%20it%20would%20all%20be%20managed.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20is%20the%20right%20way%20to%20do%20this%2C%20or%20would%20deploying%20any%20of%20the%20above%20into%20a%20VM%20be%20a%20better%20solution%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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?

0 Replies