I run the command "az aks update -n "my-workload-cluster" -g "AzureStackHCIResourceGroup" --attach-acr "acrf1forhci"
to attach the Azure Container Registry, it will show the error:
(ResourceNotFound) The Resource 'Microsoft.ContainerService/managedClusters/my-workload-cluster' under resource group 'AzureStackHCIResourceGroup' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
Code: ResourceNotFound
Message: The Resource 'Microsoft.ContainerService/managedClusters/my-workload-cluster' under resource group 'AzureStackHCIResourceGroup' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
If I list the Azure resource for the resource group by command "az resource list --resource-group AzureStackHCIResourceGroup"
the Azure Stack HCI is the type of "connectedClusters" instead of "managedClusters":
How can I attach Azure Container Registry to Azure Stack HCI workload cluster?
I see some information mentioned that we need to attach the Azure Container Registry to the AKS cluster so that it can solve "ImagePullBackOff" image pull problem when deploying the pod.
Thank you.