helm 安装

可参考 https://helm.sh/docs/using_helm/#installing-helm

客户端安装

在github 上下载最新 Binary包 helm-v2.13.1-linux-amd64.tar.gz

安装helm

tar -zxvf helm-v2.13.1-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/helm

服务端安装

安装 TILLER

helm init

Creating /root/.helm 
Creating /root/.helm/repository 
Creating /root/.helm/repository/cache 
Creating /root/.helm/repository/local 
Creating /root/.helm/plugins 
Creating /root/.helm/starters 
Creating /root/.helm/cache/archive 
Creating /root/.helm/repository/repositories.yaml 
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com 
Adding local repo with URL: http://127.0.0.1:8879/charts 
$HELM_HOME has been configured at /root/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.

Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
To prevent this, run `helm init` with the --tiller-tls-verify flag.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Happy Helming!

检查安装效果

kubectl get pods --namespace kube-system

NAME                               READY   STATUS    RESTARTS   AGE
coredns-fb8b8dccf-bq4tl            1/1     Running   1          164m
coredns-fb8b8dccf-q5m2b            1/1     Running   1          164m
etcd-minikube                      1/1     Running   0          163m
kube-addon-manager-minikube        1/1     Running   0          163m
kube-apiserver-minikube            1/1     Running   0          163m
kube-controller-manager-minikube   1/1     Running   0          163m
kube-proxy-6hjtk                   1/1     Running   0          164m
kube-scheduler-minikube            1/1     Running   0          163m
storage-provisioner                1/1     Running   0          164m
tiller-deploy-c48485567-7ndpv      1/1     Running   0          2m16s

出现 tiller-deploy-c48485567-7ndpv 表示安装成功

你可能感兴趣的:(kubernetes,云计算)