Forum Discussion
dannybhar
Oct 29, 2021Copper Contributor
AKS error
I have docker image in ACS and I am trying to pull it in YAML to put in replicaset for AKS. But getting following error fault-scheduler Successfully assigned default/x-depl1-7954d9c545-h2x7c to ...
LukeJMadden
Mar 30, 2023Brass Contributor
Hey dannybhar, second question I have seen form you, having a rough time?
It looks like you are encountering an error pulling a Docker image in AKS. The error message indicates that the image pull failed due to authentication issues.
Here are some steps you can try to resolve the issue:
Verify that the image name and tag are correct: Double-check that the image name and tag you are trying to pull are correct. Make sure that the image is available in your container registry and that you have permissions to access it.
Check your image pull secret: Ensure that you have created a valid image pull secret and that it is correctly specified in your YAML file. Verify that the secret has the correct credentials to access your container registry.
Check your cluster network configuration: Ensure that your AKS cluster has the necessary network configuration to pull images from your container registry. You may need to configure a private endpoint or allow traffic to your container registry in your network security groups.
Verify that your cluster is up to date: Ensure that your AKS cluster is running the latest version of Kubernetes and AKS.
Check your Azure subscription permissions: Ensure that you have the necessary permissions in your Azure subscription to pull images from your container registry.
I hope this helps! Let me know if you have any further questions.
Kind regards,
Luke Madden
It looks like you are encountering an error pulling a Docker image in AKS. The error message indicates that the image pull failed due to authentication issues.
Here are some steps you can try to resolve the issue:
Verify that the image name and tag are correct: Double-check that the image name and tag you are trying to pull are correct. Make sure that the image is available in your container registry and that you have permissions to access it.
Check your image pull secret: Ensure that you have created a valid image pull secret and that it is correctly specified in your YAML file. Verify that the secret has the correct credentials to access your container registry.
Check your cluster network configuration: Ensure that your AKS cluster has the necessary network configuration to pull images from your container registry. You may need to configure a private endpoint or allow traffic to your container registry in your network security groups.
Verify that your cluster is up to date: Ensure that your AKS cluster is running the latest version of Kubernetes and AKS.
Check your Azure subscription permissions: Ensure that you have the necessary permissions in your Azure subscription to pull images from your container registry.
I hope this helps! Let me know if you have any further questions.
Kind regards,
Luke Madden