美文网首页
rancher使用私有仓库

rancher使用私有仓库

作者: heliping_peter | 来源:发表于2019-07-31 17:51 被阅读0次
  1. 添加secret,包含私有仓库的地址,用户名和密码


    image.png
  2. 在服务的yaml中添加这个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