Skip to content

RustyTake-Off/aks-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aks-terraform

Create an Aks cluster and a K8s deployment with Nginx, Cert-Manager and Let's Encrypt.

The how?

Clone this repository.

git clone https://github.com/RustyTake-Off/aks-terraform ./aks-terraform

Look around all the folders, files and change things to your own liking. After that run the terraform commands.

Initialize terraform with the init command and let it download the necessary dependencies.

terraform -chdir="./infra" init

Then run the plan and check what will terraform create. It may throw some errors if something is wrong.

trraform -chdir="./infra" plan

When everything is correct and you are satisfied use the apply command and wait for your resources to be deployed. It can take around 8 - 10 minutes.

terraform -chdir"./infra" apply

When deployment is done look around your Azure Portal for created resources.

If you are done, destroy the deployment with the below command.

terraform -chdir"./infra" destroy

About

Create an AKS cluster and a K8s deployment with Nginx, Cert-Manager and Let's Encrypt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages