Skip to content

Demo with IaC for AKS, Azure Application Gateway and demo apps

Notifications You must be signed in to change notification settings

lukasvice/tf-aks-aagw-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy AKS with Azure Application Gateway and demo apps

Requirements

  • Azure CLI
  • terraform
  • kubectl
  • helm

Steps

  • Login to Azure CLI

    az login

  • Create a Azure service principal

    az ad sp create-for-rbac --skip-assignment

  • Configure apps

  • Optional: Create an Azure storage account and configure the terraform backend (tf/main.tf)

  • Deploy

    # Deploy infrastructure
    terraform init tf
    terraform plan tf
    terraform apply tf
    
    # Configure kubectl
    az aks get-credentials --name k8s-tf-k8s-cluster --resource-group k8s-tf-rg
    
    # Deploy demo apps
    kubectl apply -f k8s/app1.yaml
    kubectl apply -f k8s/app2.yaml

Resources

About

Demo with IaC for AKS, Azure Application Gateway and demo apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages