Skip to content

Commit

Permalink
use the same version of kubectl with kubelet (kubernetes-sigs#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
hchenxa authored and pierreprinetti committed Apr 22, 2024
1 parent 18a0cd0 commit 1b42ae8
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 1b42ae8

Please sign in to comment.