Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use a script to automatically install Kubernetes's package manager Helm on the Linux server

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Helm is to Kubernetes what yum is to Red Hat Enterprise Linux, or apt-get is to Ubuntu.

Helm, which is composed of helm CLI and Tiller, is a typical Client/Server application. Helm runs on the client side and provides a command line interface; Tiller applications run inside Kubernetes.

In previous articles on Jerry, we have described the practice of manually downloading the Helm installation package, unzipping it and copying the execution file to the environment variable.

In fact, there is another fully automatic practice, using the installation script to install automatically.

1. Download the installation script automatically

Curl https://raw.githubusercontent.com/helm/helm/master/scripts/get > get_ helm.sh

Open the script and you can see that the environment variable HELM_INSTALL_DIR for the helm installation is / usr/local/bin:

2. Chmod 700 get_helm.sh

. / get_helm.sh:

3. Execute helm init and see the Happy Helming message indicating that the installation was successful.

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!

For more original Jerry articles, please follow the official account "Wang Zixi":

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report