所有版本
每24个小时更新
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backupUbuntu/Debian
cp /etc/apt/sources.list /etc/apt/sources.list.backup
wget -O /etc/yum.repos.d/kubernetes.repo http://mirrors.eflycloud.com/repo/kubernetes/centos/kubernetes.repo
yum clean all
yum makecacheubuntu16.04 64bit
curl -s http://mirrors.eflycloud.com/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
curl -s http://mirrors.eflycloud.com/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
curl -s http://mirrors.eflycloud.com/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即可
对应版本源文件下载链接