New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External k8s Cluster unable to pull from ACR - Unauthorized: Authentication required #679
Comments
It looks like your provided |
I copied it from the portal using the copy button, I'll try to copy manually next time |
you may also pull image manually on one node to make sure the connection is ok: |
@andyzhangx have you tried it against my ACR instance? I've tried both access keys, copied them using both methods (copy button and ctrl+c). I don't see anything wrong with my process so I'm wondering what may be wrong. |
Moving this to the ACR repo, sorry for realizing late that this is not the proper repo for this discussion. |
Issue moved here: Azure/acr#138 |
What happened:
I have a PoC environment, outside of Azure which i use for experimentation, the env. has been running for a couple of weeks without any issues. For the past couple of days I've started to observe that the cluster is incapable of pulling images hosted in my ACR registry: cloudtechnologies.azurecr.io
Upon examination, all of the pods report
Error: ImagePullBackOff
There is also message stating:
What you expected to happen:
I expected to the pod to be able to pull the container image successfully
How to reproduce it (as minimally and precisely as possible):
The cluster uses the admin user's credentials and has had a secret created, in the default namespace, with:
The deployment, in the default namespace, which is attempting to pull the image has the following fragment defined:
Anything else we need to know?:
az aks
cli etc.docker login
locally and I was able to login successfullyEnvironment:
kubectl version
): 1.9.0The text was updated successfully, but these errors were encountered: