Skip to content

Commit

Permalink
yumPackages: workaround yum failures
Browse files Browse the repository at this point in the history
Error: Package: kubelet-1.12.2-0.x86_64 (kubernetes)
Requires: kubernetes-cni = 0.6.0
Available: kubernetes-cni-0.3.0.1-0.07a8a2.x86_64 (kubernetes)
kubernetes-cni = 0.3.0.1-0.07a8a2
Available: kubernetes-cni-0.5.1-0.x86_64 (kubernetes)
kubernetes-cni = 0.5.1-0
Available: kubernetes-cni-0.5.1-1.x86_64 (kubernetes)
kubernetes-cni = 0.5.1-1
Available: kubernetes-cni-0.6.0-0.x86_64 (kubernetes)
kubernetes-cni = 0.6.0-0
Installing: kubernetes-cni-0.7.5-0.x86_64 (kubernetes)
kubernetes-cni = 0.7.5-0
/bin/yum [install -y kubelet-1.12.2-0 kubeadm-1.12.2-0 kubectl-1.12.2-0 --disableexcludes=kubernetes] err: exit status 1 4.933743392s
Error: unable to install packages: exit status 1
  • Loading branch information
Mate Ory authored and orymate committed Mar 26, 2019
1 parent 8027e50 commit 13ff571
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/pke/app/phases/runtime/kubernetes/kubernetes_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func yumPackages(kubernetesVersion string) []string {
"kubelet-" + kubernetesVersion + "-0",
"kubeadm-" + kubernetesVersion + "-0",
"kubectl-" + kubernetesVersion + "-0",
"kubernetes-cni-0.6.0", // FIXME: workaround yum failures
"--disableexcludes=kubernetes",
}
}

0 comments on commit 13ff571

Please sign in to comment.