Closed felfa01 closed 4 months ago
This is possible today in the current Go SDK we use as well as in ASO.
The problematic code is here.
Tagging @nojnhuh in case he wants to consider lighting this up in his PR.
I think this would fit better as a change separate from #4069. This might be a bit more complicated than changing a regex since that value is currently shared in the templates between AzureManagedControlPlane spec.version
and MachinePool spec.template.spec.version
and I'm not sure if CAPI accepts MAJOR.MINOR versions there.
@nojnhuh how do we support this if we want ?
Should I raise a support request in CAPI ?
I think bringing this up in CAPI makes the most sense to me. That may have already been discussed at some point, so it would be worth a quick look through the CAPI issue queue, Slack, and weekly meeting notes to see if that has been previously brought up.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
This is possible with the new ASO-based API: https://capz.sigs.k8s.io/topics/aso#experimental-aso-api
The way you would do this is to not specify spec.template.spec.version
on the MachinePool, then set spec.orchestratorVersion
to anything allowed by AKS on the ManagedClustersAgentPool definition in spec.resources
for the AzureASOManagedMachinePool. orchestratorVersion
would be set under this spec
in the example template: https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/32ebb7709bfd89a0d06c8dd40d25cf1ab39f8ac9/templates/cluster-template-aks-aso.yaml#L91
/close
@nojnhuh: Closing this issue.
/kind feature
Describe the solution you'd like AKS allows to omit the patch version and thus defaulting to latest patch. When trying to configure this via CAPZ the following error is thrown:
Support docs: https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli#alias-minor-version