Below issues are encountered when creating new cluster on 1.33 or 1.34, tried to edit the cluster image version and got the error message:
error: clusters.cluster.x-k8s.io "king-vks-demo" could not be patched: admission webhook "tkr-resolver-cluster-webhook.tanzu.vmware.com" denied the request: Could not resolve KR/OSImage
Multiple OSImages resolved for Control Plane. KR: v1.33.3---vmware.1-fips-vkr.1, OSImages resolved: [vmi-634c19c8d12682963 vmi-bc9f06e001900ded3], filters: {k8sVersionPrefix: v1.33.3+vmware.1-fips, osImageSelector: os-name=ubuntu}
Multiple OSImages resolved for MachineDeployment default. KR: v1.33.3---vmware.1-fips-vkr.1, OSImages resolved: [vmi-bc9f06e001900ded3 vmi-634c19c8d12682963], filters: {k8sVersionPrefix: v1.33.3+vmware.1-fips, osImageSelector: os-name=ubuntu}
You can run kubectl replace -f /tmp/kubectl-edit-2665630231.yaml to try this update again.
VKR(TKR) 1.33 or later
We need to specify which os version in the cluster yaml, have to add an os-version to the annotation. Check the available ubuntu versions with "k get osimages"
Below is the annotation example:
run.tanzu.vmware.com/resolve-os-image: os-name=ubuntu,os-version=24.04