helm安装及配置
1. 安装helm
helm下载地址:https://github.com/kubernetes/helm/releases
根据helm和k8s配套关系,下载安装合适的helm版本。下面为版本配套关系:
Helm 版本 | 支持的 Kubernetes 版本 |
---|---|
3.12.x | 1.27.x - 1.24.x |
3.11.x | 1.26.x - 1.23.x |
3.10.x | 1.25.x - 1.22.x |
3.9.x | 1.24.x - 1.21.x |
3.8.x | 1.23.x - 1.20.x |
3.7.x | 1.22.x - 1.19.x |
3.6.x | 1.21.x - 1.18.x |
3.5.x | 1.20.x - 1.17.x |
3.4.x | 1.19.x - 1.16.x |
3.3.x | 1.18.x - 1.15.x |
… |
二进制安装
我这里的k8s版本为1.18,下载helm3.6.1:
wget https://get.helm.sh/helm-v3.6.1-linux-amd64.ta