Created
February 27, 2024 04:53
-
-
Save yankay/af169e0e0259c1c2dd6d5129e394ccf4 to your computer and use it in GitHub Desktop.
快速安装 kubectl kubeadm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export KUBE_VERSION="1.28.0" | |
export FILE_MIRROR="https://files.m.daocloud.io" | |
cd /tmp | |
curl -LO "$FILE_MIRROR/dl.k8s.io/release/v$KUBE_VERSION/bin/linux/amd64/kubectl" | |
chmod +x kubectl | |
mv kubectl /usr/local/bin | |
curl -LO "$FILE_MIRROR/dl.k8s.io/release/v$KUBE_VERSION/bin/linux/amd64/kubeadm" | |
chmod +x kubeadm | |
mv kubeadm /usr/local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment