二进制安装
地址:https://helm.sh/docs/intro/install/
解压(tar -zxvf helm-v3.0.0-linux-amd64.tar.gz)
mv linux-amd64/helm /usr/local/bin/helm
添加helm 仓库(相当于yum 源)
helm源大合集
#helm repositories
#默认谷歌的 需要FQ
stable https://kubernetes-charts.storage.googleapis.com
incubator https://kubernetes-charts-incubator.storage.googleapis.com
svc-cat https://svc-catalog-charts.storage.googleapis.com
#阿里云的 18年11月份后不再更新
aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
incubator https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts-incubator
svc-cat https://kubernetes.oss-cn-hangzhou.aliyuncs.com/svc-catalog-charts
#阿里云apphub
apphub https://apphub.aliyuncs.com/
#微软的
stable http://mirror.azure.cn/kubernetes/charts
incubator http://mirror.azure.cn/kubernetes/charts-incubator
svc-cat http://mirror.azure.cn/kubernetes/svc-catalog-charts
#bitnami的
bitnami https://charts.bitnami.com/bitnami
#elastic的 elasticsearch
elastic https://helm.elastic.co
#kiwigrid的
kiwigrid https://kiwigrid.github.io
#jetstack的 cert-manager
jetstack https://charts.jetstack.io
#网友开源的
https://burdenbear.github.io/kube-charts-mirror
https://doublemine.github.io/helm-charts-mirror
https://charts.ost.ai
自己常用:
aliyuncs https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
stable https://kubernetes-charts.storage.googleapis.com 对应GitHub https://github.com/helm/charts/tree/master/stable
kiwigrid https://kiwigrid.github.io 对应 GitHub https://github.com/kiwigrid/helm-charts/tree/master/charts
elastic https://helm.elastic.co
apphub https://apphub.aliyuncs.com 对应GitHub https://github.com/cloudnativeapp/charts?spm=a2c6h.12873679.0.0.31eb1107TixekG //阿里云apphub
添加bitnami
helm repo add bitnami https://charts.bitnami.com/bitnami
添加阿里的
helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm的语法结构
├── charts
├── Chart.yaml
├── templates
│ ├── deployment.yaml
│ ├── _helpers.tpl
│ ├── hpa.yaml
│ ├── ingress.yaml
│ ├── NOTES.txt
│ ├── serviceaccount.yaml
│ ├── service.yaml
│ └── tests
│ └── test-connection.yaml
└── values.yaml