terraform-azure-course
terraform-azure-course copied to clipboard
Fixed Kubernetes deployment
Hi @wardviaene, the Kubernetes deployment failed, I made some changes to fix it:
- Added Terraform providers
- Changed the region I have changed the region from westeurope to northeurope to prevent the following error: Failure sending request: StatusCode=0 -- Original Error: Code="AKSCapacityError" Message="Creating a free tier cluster is unavailable at this time in region westeurope. To create a new cluster, we recommend using an alternate region, or create a paid tier cluster. For a list of all the Azure regions, visit https://aka.ms/aks/regions. For more details on this error, visit https://aka.ms/akscapacityerror."
- Added sensitive to the output of the client certificate This was necessary otherwise the Terraform deployment wouldn't continue
- Added a README.MD to retrieve kube config Because all is marked as sensitive, I have added a README.MD file in the kubernetes folder which explains how to retrieve the kube config to be able to proceed if a student is following along with the demo.
Last thing I wanted to mention, I really enjoyed this exercise, thank you both!