Vnet peering example with two virtual machines.
Remove or set the azurerm in backend.tf
.
Remove or set the subscription_id in provider.tf
.
terraform init
terraform apply
az aks get-credentials -g aks-with-azfw-rg -n aks-with-azfw
kubectl create deployment nginx --image=nginx
kubectl expose deployment nginx --port=80 --target-port=8000 --type=LoadBalancer