Giter VIP home page Giter VIP logo

chart's People

Watchers

 avatar

chart's Issues

bug: 拉取私有化镜像仓库

1.tag镜像

在可以访问谷歌镜像的云主机上拉取镜像,上传到阿里镜像仓库

root@open-echo-4:~# docker tag k8s.gcr.io/metrics-server/metrics-server:v0.5.2 registry.cn-beijing.aliyuncs.com/xxx/metrics-server:v0.5.2
root@open-echo-4:~# docker push !$
docker push registry.cn-beijing.aliyuncs.com/xxx/metrics-server:v0.5.2
The push refers to repository [registry.cn-beijing.aliyuncs.com/xxx/metrics-server]
b2839a50be1a: Pushed
6d75f23be3dd: Pushed
v0.5.2: digest: sha256:6879d1d3e42c06fa383aed4988fc8f39901d46fb29d25a5b41c88f9d4b6854b1 size: 739
root@open-echo-4:~#

2.在metrics-server.yaml 使用了阿里镜像仓库是私有镜像

私有镜像,需要权限,导致拉取没有权限失败。

3.解决方案。

文档

pod 使用secret 拉取私有仓库

     imagePullSecrets:
        - name: regcred

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.