rancher使用私有仓库

2019-07-31  本文已影响0人  heliping_peter
  1. 添加secret,包含私有仓库的地址,用户名和密码


    image.png
  2. 在服务的yaml中添加这个secret
      imagePullSecrets:
      - name: sec
      containers:
      - image: eca-hub.yun.pingan.com/songyongliang001/spiped:v1.1
        imagePullPolicy: Always
上一篇下一篇

猜你喜欢

热点阅读