rancher使用私有仓库
2019-07-31 本文已影响0人
heliping_peter
-
添加secret,包含私有仓库的地址,用户名和密码
image.png - 在服务的yaml中添加这个secret
imagePullSecrets:
- name: sec
containers:
- image: eca-hub.yun.pingan.com/songyongliang001/spiped:v1.1
imagePullPolicy: Always