-
添加secret,包含私有仓库的地址,用户名和密码
image.png
- 在服务的yaml中添加这个secret
imagePullSecrets:
- name: sec
containers:
- image: eca-hub.yun.pingan.com/songyongliang001/spiped:v1.1
imagePullPolicy: Always
添加secret,包含私有仓库的地址,用户名和密码
imagePullSecrets:
- name: sec
containers:
- image: eca-hub.yun.pingan.com/songyongliang001/spiped:v1.1
imagePullPolicy: Always
本文标题:rancher使用私有仓库
本文链接:https://www.haomeiwen.com/subject/pvotdctx.html
网友评论