kubernetes 安装
kubernetes 的命令行工具为kubectl,可以在linux,macOS,Windows上安装。
* windows
通过curl安装或者chocolately或者scoop
# 下载
curl -LO "https://dl.k8s.io/release/v1.23.0/bin/windows/amd64/kubectl.exe"
# 校验
curl -LO "https://dl.k8s.io/v1.23.0/bin/windows/amd64/kubectl.exe.sha256"
# 手工校验
CertUtil -hashfile kubectl.exe