Skip to content

minhhoangvn/azure-aks-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure AKS Terraform

This repository is used for demo purposes. This Terraform source code will create a sample infrastructure, which will create a list of infrastructure components below:

  1. Azure Kubernetes Service
  2. Postgresql
  3. Redis Cache
  4. Azure Blob Storage
  5. Private DNS
  6. Virtual Network
  7. Subnet and Network Peering

Besides, the source code also set up the virtual network and allows the Postgresql can be accessed through the private connection. The Azure Kubernetes Service is also using the Azure CNI plugin.

Prerequisites:

  1. Install Azure CLI
  2. Login to Azure CLI with the command below:
az login
  1. Install terraform

Set up infrastructure:

  1. terraform init
  2. terraform plan
  3. terraform apply
  4. az aks get-credentials -g terraform-env -n k8s-cluster # this will fetch the Kubernetes config from the AKS to your local Kubernetes config file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages