Kubernetes Helm Installation

1 Download helm

[root@oskm1 ~]# wget https://storage.googleapis.com/kubernetes-helm/helm-v2.8.2-linux-amd64.tar.gz
--2018-04-25 23:28:01--  https://storage.googleapis.com/kubernetes-helm/helm-v2.8.2-linux-amd64.tar.gz
Connecting to 192.168.0.127:8118... connected.
Proxy request sent, awaiting response... 200 OK
Length: 14973808 (14M) [application/x-tar]
Saving to: ‘helm-v2.8.2-linux-amd64.tar.gz’

100%[======================================================================================================================================================================================>] 14,973,808  79.5KB/s   in 4m 9s  

2018-04-25 23:32:11 (58.7 KB/s) - ‘helm-v2.8.2-linux-amd64.tar.gz’ saved [14973808/14973808]

[root@oskm1 ~]# 

2 Install

[root@oskm1 ~]# tar -zxvf helm-v2.8.2-linux-amd64.tar.gz 
linux-amd64/
linux-amd64/helm
linux-amd64/README.md
linux-amd64/LICENSE
[root@oskm1 ~]# chmod +x linux-amd64/helm 
[root@oskm1 ~]# mv linux-amd64/helm /usr/local/bin/

3 Init

[root@oskm1 ~]# 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.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Happy Helming!
[root@oskm1 ~]# 

1 minute later, check the helm server.
Pls make sure, the image gcr.io/kubernetes-helm/tiller:v2.8.2 exists on the destination host.

[root@oskm1 ~]# helm version
Client: &version.Version{SemVer:"v2.8.2", GitCommit:"a80231648a1473929271764b920a8e346f6de844", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.8.2", GitCommit:"a80231648a1473929271764b920a8e346f6de844", GitTreeState:"clean"}
[root@oskm1 ~]# 

4 Update repo

[root@oskm1 ~]# helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈ 
[root@oskm1 ~]# 

Now, Helm is ready!

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容