安装Helm
- export HELM_HOME=$HOME/.helm
mkdir .helm/plugins - 拷贝helm命令,/usr/local/bin
- 1
helm init -i registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.9.1 –stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts –client-only - 2
helm repo add cloud-product https://192.168.66.90:443/chartrepo/chart-cloud-product –ca-file=/etc/docker/certs.d/192.168.66.90:443/ca.crt –cert-file=/etc/docker/certs.d/192.168.66.90:443/server.cert –key-file=/etc/docker/certs.d/192.168.66.90:443/server.key –username=admin –password=hollysysAdmin1 - 默认没有push命令,安装:
helm plugin install https://github.com/chartmuseum/helm-push