Docker Registry service connection details not specified
Docker Registry service connection details not specified
Any idea about the above issue?
Hi Mehtach,
I hope you are trying Kubernetes lab. Please verify the below points.
- Make sure you have created Kubernetes Service Endpoint mentioned in Exercise 1, step 2.
- Please check whether you have selected the AKS and ACR details in Exercise 2, Step 6.
Thanks Balaji
Hi Mehtach,
I believe you were able to resolve the issue you encountered. We will be closing this issue. If you have any concerns please reopen the issue.
Thanks Balaji
I am still facing same issue, is there anyway to use existing SP Endpoint from Azure.
need your help.
Hi Khalid,
Try this workaround and see if it resolves
Get the id of the service principal configured for AKS
CLIENT_ID=$(az aks show --resource-group $AKS_RESOURCE_GROUP --name $AKS_CLUSTER_NAME --query "servicePrincipalProfile.clientId" --output tsv)
Get the ACR registry resource id
ACR_ID=$(az acr show --name $ACR_NAME --resource-group $ACR_RESOURCE_GROUP --query "id" --output tsv)
Create role assignment
az role assignment create --assignee $CLIENT_ID --role Reader --scope $ACR_ID
Thanks
I followed these steps but still same issue, dnt know where is gap.
where we need to define connection details, please ?
kindly guide....
+1 I have the same problem and the fix didn't work
Maybe you have made the same issue as me - forgot to also update the settings under "Secrets".
More information at https://www.azuredevopslabs.com/labs/vstsextend/kubernetes/:
Expand the Secrets section and update the parameters for Azure subscription and Azure container registry from the dropdown.
Don't select ACR variable in secret section or set ACR variable with short name instead of using long name which means you need to remove .azurecr.io from ACR variable
Maybe you have made the same issue as me - forgot to also update the settings under "Secrets".
More information at https://www.azuredevopslabs.com/labs/vstsextend/kubernetes/:
Expand the Secrets section and update the parameters for Azure subscription and Azure container registry from the dropdown.
Thanks @RicardoNiepel!
Please remove the selection of ACR in secret section.
In the secret section : 1- Set the Azure subscription 2- Use the variable $(ACR) for the container registry.
I did the same but still facing the error.
Don't select ACR variable in secret section or set ACR variable with short name instead of using long name which means you need to remove .azurecr.io from ACR variable
This was the issue in my case.Resolved.Thank you