It is possible to select k8s LTS versions as 1.27.16 from rancher 2.9-head for upcoming v2.9.4 with rancher-aks-operator:104.4.0+up1.9.4-rc.2 but then the provisioning fails on following error.
I guess we shouldn't either allow provisioning of LTS versions and not showing them in the list or change the API calls to allow that.
Error failed to create cluster: PUT https://management.azure.com/subscriptions/XXXXX/resourceGroups/th-aks-cg/providers/Microsoft.ContainerService/managedClusters/th-aks-29 -------------------------------------------------------------------------------- RESPONSE 400: 400 Bad Request ERROR CODE: K8sVersionNotSupported -------------------------------------------------------------------------------- { "code": "K8sVersionNotSupported", "details": null, "message": "Managed cluster th-aks-29 is on version 1.27.16, which is only available for Long-Term Support (LTS). If you intend to onboard to LTS, please ensure the cluster is in Premium tier and LTS support plan (see https://aka.ms/aks/enable-lts). Otherwise, use [az aks get-versions] command to get the supported version list in this region. For more information, please check https://aka.ms/supported-version-list", "subcode": "" } --------------------------------------------------------------------------------
Edit after chat with @mjura : So far only way to get AKS 1.27 is to import it - provisioning is not possible as user can't pass az equivalent to --tier premium --k8s-support-plan AKSLongTermSupport via UI. Waiting for PM decission whether we should implement new option in operator.
It is possible to select k8s LTS versions as
1.27.16
from rancher2.9-head
for upcomingv2.9.4
withrancher-aks-operator:104.4.0+up1.9.4-rc.2
but then the provisioning fails on following error.I guess we shouldn't either allow provisioning of LTS versions and not showing them in the list or change the API calls to allow that.
Edit after chat with @mjura : So far only way to get AKS 1.27 is to import it - provisioning is not possible as user can't pass
az
equivalent to--tier premium --k8s-support-plan AKSLongTermSupport
via UI. Waiting for PM decission whether we should implement new option in operator.