yum安装k8s指定版本时报错

yum install -y kubelet-1.15.0 kubeadm-1.15.0 kubectl-1.15.0

Transaction check error:
file /usr/bin/kubectl from install of kubectl-1.15.0-0.x86_64 conflicts with file from package kubernetes-client-1.5.2-0.7.git269f928.el7.x86_64

需要卸载之前安装的版本

yum remove kubernetes-client-1.5.2-0.7.git269f928.el7.x86_64

重新执行刚才命令

yum install -y kubelet-1.15.0 kubeadm-1.15.0 kubectl-1.15.0

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐