Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 585 Bytes

README.md

File metadata and controls

33 lines (17 loc) · 585 Bytes

prerequisite

terraform in machine

azure-cli in machine

kubectl install in machine

login to azure

az login

apply commands

terraform init

terraform validate

terraform plan

(if you get error ) import state

example

terraform import azurerm_resource_group.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ExistingResourceGroup

terraform plan

terraform apply

kubectl apply -f https://gist.githubusercontent.com/zeus-dev/a7ca5d66b38e26ef6a93e26fef13dd86/raw/1d65d20bd103299f8d28c3b1f56c6f706b3f2730/deployment.yaml

visit sitehttps://ip:port port 80