6.2. 安装 Helm
安装 Helm CLI,从本地工作站管理 OpenShift Container Platform 集群中的软件包。
在 OpenShift Container Platform web 控制台中,点右上角的 ? 图标并选 Command Line Tools。
6.2.1. 对于 Linux 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
下载 Helm 二进制文件:
Linux (x86_64, amd64)
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-amd64 -o /usr/local/bin/helmLinux on IBM Z® 和 IBM® LinuxONE (s390x)
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-s390x -o /usr/local/bin/helmLinux on IBM Power® (ppc64le)
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-ppc64le -o /usr/local/bin/helmLinux on ARM (arm64)
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-arm64 -o /usr/local/bin/helm
使二进制文件可执行:
# chmod +x /usr/local/bin/helm检查已安装的版本:
$ helm version输出示例
version.BuildInfo{Version:"v3.0", GitCommit:"b31719aab7963acf4887a1c1e6d5e53378e34d93", GitTreeState:"clean", GoVersion:"go1.13.4"}