- name:docker.io到Pod配置文件。
当我创建pod时,我收到错误消息错误:
image< user / image>:最新未找到如果我登录并运行docker拉会拉扯图像。我已经尝试过使用docker.io和quay.io。
解决方案Kubernetes支持一种特殊类型的秘密,你可以创建将用于为您的pod获取图像。更多详细信息: kubernetes.io/ v1.0 / docs / user-guide / images.html#specified-imagepullsecrets-on-a-pod
I have built a 4 node kubernetes cluster running multi-container pods all running on CoreOS. The images come from public and private repositories. Right now I have to log into each node and manually pull down the images each time I update them. I would like be able to pull them automatically.
- name: docker.io to the Pod configuration file.
When I create the pod i get the error message Error:
image <user/image>:latest not foundIf I log in and run docker pull it will pull the image. I have tried this using docker.io and quay.io.
解决方案Kubernetes supports a special type of secret that you can create that will be used to fetch images for your pods. More details here: kubernetes.io/v1.0/docs/user-guide/images.html#specifying-imagepullsecrets-on-a-pod
更多推荐
从Kubernetes的私人注册表中抽出图像
发布评论