microsoft / bedrock

Automation for Production Kubernetes Clusters with a GitOps Workflow
MIT License
130 stars 12 forks source link

First Workload with Bedrock: k8s version too old for AKS on westus2 #1446

Open andrewDoing opened 3 years ago

andrewDoing commented 3 years ago

Describe the bug: The k8s version is no longer supported on westus2, making the terraform apply command error out.

To Reproduce: Follow the First Workload With Bedrock tutorial. The step where one uses the command terraform apply -var-file=bedrock.tfvars you will encounter the error.

Expected behavior: The k8s version in Bedrock should be updated, or an AKS region that supports the older version should be used in the tutorial, to avoid an error.

Screenshots: Error after running terraform apply -var-file=bedrock.tfvars image Oldest k8s version supported; from az aks get-versions --location westus2 image

Additional context:

Does this require updates to documentation?: Yes, in the First Workload With Bedrock.

andrebriggs commented 3 years ago

@andrewDoing To unblock you you can set the in the kubernetes_version in terraform.tfvars file.

The default kubernetes_version variable in Terraform for azure-simple here and we should probably increase it to a more recent value.

Looks like https://github.com/microsoft/bedrock/pull/1442 will fix this issue. Thanks @jpflueger

cc @jmspring