Skip to content

Commit

Permalink
use the same version of kubectl with kubelet (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchenxa authored and k8s-ci-robot committed Apr 28, 2019
1 parent b1049c6 commit 8246ebc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ function getversion() {
}
KUBELET=$(getversion kubelet ${KUBELET_VERSION}-)
KUBEADM=$(getversion kubeadm ${KUBELET_VERSION}-)
KUBECTL=$(getversion kubectl ${KUBELET_VERSION}-)
apt-get install -y \
kubelet=${KUBELET} \
kubeadm=${KUBEADM}
kubeadm=${KUBEADM} \
kubectl=${KUBECTL}

mv /usr/bin/kubeadm.dl /usr/bin/kubeadm
chmod a+rx /usr/bin/kubeadm

Expand Down

0 comments on commit 8246ebc

Please sign in to comment.