标签:解决 persist yun ror inf mapper uber docker etc
现象:
安装kubernetes 1.14.0 版本时提示缺少依赖
解决办法:
1、安装基础软件
yum -y install yum-utils device-mapper-persistent-data lvm2
2、配置YUM仓库
yum-config-manager --add-repo http://mirrors.163.com/.help/CentOS7-Base-163.repo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3、配置阿里云
cat << EOF > /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/ enabled=1 gpgcheck=0 EOF
4、直接单独安装
yum -y install kubernetes-cni = 0.7.5
错误:软件包:kubelet-1.14.0-0.x86_64 (kubernetes) 需要:kubernetes-cni = 0.7.5
标签:解决 persist yun ror inf mapper uber docker etc
原文地址:https://www.cnblogs.com/wangzy-tongq/p/13273540.html