Skip to content

mbiomee/terraform-azur-aks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-azur-aks

TerraformRefigistry

General Azur deploy using Terraform

for more info

Caution

applying this infrastructure will create resources on your azur account so be sure you have enough credits

Usage

Edit varibles.tf file with your setting

Terraform

You need to run the following commands to create the resources with Terraform:

terraform init
terraform plan -out out.plan
terraform apply out.plan

Setup kubectl

Setup your KUBECONFIG

terraform output kubeconfig > ~/.kube/eks-cluster
export KUBECONFIG=./azurek8s

You can verify the worker nodes are joining the cluster

kubectl get nodes --watch

Cleaning up

You can destroy this cluster entirely by running:

terraform plan -destroy
terraform destroy  --force