[英]How to pull images from Azure Container Registry when using K3s?
In production we use Azure Container Registry and AKS.在生产中,我们使用 Azure 容器注册表和 AKS。 For development, we have K3s on our dev server (on-prem).对于开发,我们的开发服务器(本地)上有 K3。 Is it possible for K3s to pull images from a private registry such as Azure Container Registry? K3s 是否可以从私有 registry(例如 Azure Container Registry)中拉取镜像?
The short answer is Yes, even if the Azure Container Registry is a private registry, but if you have the username and password with the right permissions, then you can pull the image in it via the username and password.简短的回答是肯定的,即使 Azure 容器注册表是私有注册表,但是如果您拥有具有正确权限的用户名和密码,那么您可以通过用户名和密码将图像拉入其中。 You can take a look at the steps in Azure Container Registry authentication with service principals .您可以查看Azure Container Registry authentication with service principals中的步骤。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.