In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
I. Overview of Helm
1) introduction to Helm
Helm is a package manager for kubernetes. Each package is called a Chart, and a Chart is a directory (usually the directory is packaged and compressed to form a single file in name-version.tgz format, which is easy to transfer and store). We can think of Helm as apt-get/yum under Kubernetes.
For application publishers, applications can be packaged through Helm, application dependencies can be managed, application versions can be managed and applications can be released to the software repository.
For users, there is no need to understand the syntax of Kubernetes yaml files and application deployment files after using Helm. You can install the application you need on Kubernetes by downloading it directly with Helm.
2) Helm components and related terms 1) Helm
Helm is a client tool under the command line. It is mainly used to create, package, publish, create and manage local and remote Chart repositories of Kubernetes application Chart.
2) Tiller
Tiller is the server of Helm and is deployed in the Kubernetes cluster. Tiller is used to receive requests from Helm, generate the deployment file of Kubernetes according to Chart, and then submit it to Kubernetes to create applications. Tiller also provides a series of functions such as upgrade, deletion and rollback of Release.
3) Chart
Chart is a Helm package that contains the images, dependencies, and resource definitions needed to run a Kubernetes application.
4) Repoistory
Repoistory is the software repository of Helm, and Repository is essentially a Web server, which stores a series of Chart software packages for users to download, and provides the manifest file of the Repository Chart package for easy query. Helm can manage multiple different Repository simultaneously.
5) Release
Release is an instance of an application that runs Chart.
Note: the Release mentioned in Helm is different from the version in our usual concept, where Release can be understood as an application instance deployed by Helm using the Chart package.
3) how Helm works: Chart install process: 1) Helm parses Chart structure information from specified directory or tgz file; 2) Helm transmits specified Chart structure and Values information to Tiller;3 through gRPC) Tiller generates a Release;4 based on Chart and Values) Tiller sends Release to Kubernetes to generate Release;---Chart update process: 1) Helm parses Chart structure information from specified directory or tgz file 2) Helm passes the name and Chart structure of Release to be updated, Values information to Tiller;3) history;4 of Tiller to generate Release and update Release with specified name) Tiller sends Release to Kubernetes for updating Release;---Chart Rollback process: 1) Helm passes the name of Release to be rolled back to Tiller;2) Tiller looks up history;3 according to the name of Release) Tiller gets the last Release;4 from history) Tiller sends the last Release to Kubernetes to replace the current Release II. Deploy Helm1) install Helm client [root@master ~] # wget https://get.helm.sh/helm-v2.14.3-linux-amd64.tar.gz# download Helm package [root@master ~] # tar zxf helm-v2.14.3-linux-amd64.tar.gz [root@master ~] # mv linux-amd64/helm / usr/local/bin/ [root@master ~] # chmod + x / usr/local/bin/helm # to get this software from Github The package is just to get the helm file [root@master ~] # echo 'source
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.