Linux

下载最新版本

curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl

修改执行权限

chmod +x ./kubectl

移动到执行路径

sudo mv ./kubectl /usr/local/bin/kubectl

results matching ""

    No results matching ""