kubernetes镜像源使用

  • x86_64
  • i386
  • 收录版本

    所有版本

    更新时间

    每24个小时更新


    使用说明

    1.备份

    Centos
    cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
    Ubuntu/Debian
    cp /etc/apt/sources.list /etc/apt/sources.list.backup

    2.根据系统版本选择更新方法

    RHEL/CentOS
    wget -O /etc/yum.repos.d/kubernetes.repo http://mirrors.eflycloud.com/repo/kubernetes/centos/kubernetes.repo
    yum clean all
    yum makecache

    ubuntu14.04 32bit
    curl -s http:/121.201.52.103/kubernetes/apt/doc/apt-key.gpg | sudo  apt-key add -
    wget -O /etc/apt/sources.list.d/kubernetes.list http://mirrors.eflycloud.com/repo/kubernetes/ubuntu14.04x32/kubernetes.list
    apt-get update

    ubuntu14.04 64bit
    curl -s http:/121.201.52.103/kubernetes/apt/doc/apt-key.gpg | sudo  apt-key add -
    wget -O /etc/apt/sources.list.d/kubernetes.list http://mirrors.eflycloud.com/repo/kubernetes/ubuntu14.04x64/kubernetes.list
    apt-get update

    ubuntu16.04 64bit
    curl -s http:/121.201.52.103/kubernetes/apt/doc/apt-key.gpg | sudo  apt-key add -
    wget -O /etc/apt/sources.list.d/kubernetes.list http://mirrors.eflycloud.com/repo/kubernetes/ubuntu16.04x64/kubernetes.list
    apt-get update

    ubuntu18.04 64bit
    curl -s http:/121.201.52.103/kubernetes/apt/doc/apt-key.gpg | sudo  apt-key add -
    wget -O /etc/apt/sources.list.d/kubernetes.list http://mirrors.eflycloud.com/repo/kubernetes/ubuntu18.04x64/kubernetes.list
    apt-get update

    ubuntu20.04 64bit
    curl -s http:/121.201.52.103/kubernetes/apt/doc/apt-key.gpg | sudo  apt-key add -
    wget -O /etc/apt/sources.list.d/kubernetes.list http://mirrors.eflycloud.com/repo/kubernetes/ubuntu20.04x64/kubernetes.list
    apt-get update

    温馨提示:ubuntu14安装docker-ce时会出现dkpg bug,解决方法详情:官网下载bug修复版的代码dpkg https://launchpad.net/ubuntu/+source/dpkg/1.17.5ubuntu5.8   安装依赖apt-get install libncurses-dev 最后源码安装dkpg即可

    对应版本源文件下载链接

  • kubernetes