1. 下载:
wget https://get.helm.sh/helm-v2.16.0-linux-amd64.tar.gz
或者从代码安装:
git clone https://github.com/helm/helm.git
make
2.
helm init --stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts --service-account tiller --upgrade
helm repo add aliyun-stable https://apphub.aliyuncs.com/stable
3. eval $(minikube docker-env)
4. 查看状态:
kubectl get pods --all-namespaces
5. 本地chart打包:
helm package mychart
6 . 更新repo:
helm repo update
7. 安装:
helm install --debug local/nginx --name nginx-myname --namespace myname