In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to deploy helm v3". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to deploy helm v3.
Install helmwget https://mirrors.huaweicloud.com/helm/v3.2.1/helm-v3.2.1-linux-amd64.tar.gztar xvzf helm-v3.2.1-linux-amd64.tar.gzcp-av linux-adm64/helm / usr/local/bin/// to test whether helm help is installed successfully add Chart repository / / add Microsoft warehouse to stablehelm repo add stable http://mirror.azure.cn/kubernetes/charts// add Ali cloud warehouse to aliyunhelm Repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts View Warehouse helm repo list create Chartcd ~ mkdir helmhelm create hydrogen-chart
Generate charts, templates, Chart.yaml and values.yaml files under the current directory
Modify values.yamlversion: develop modify hydrogen-deployment.yaml
Modify all image versions in hydrogen-deployment.yaml to {{.Values.version}}
That is, read from the values.yaml file
Modify hydrogen-namespace.yamlapiVersion: v1kind: Namespacemetadata: name: hydrogen labels: name: hydrogen---apiVersion: v1kind: Namespacemetadata: name: ingress-nginx labels: name: ingress-nginxtemplates into the project yaml file cd ~ / hydrogen/developcp hydrogen-* ~ / heml/hydrogen-chart/templates/ to build charthelm install hy hydrogen-chart
Where hy refers to the release name, and hydrogen-chart refers to the name of chart
Package charthelm package hydrogen-chart debug charthelm install hy hydrogen-chart-- debug-- dry-run delete charthelm uninstall hy or helm uninstall hy-- purge view the rendered resource file helm get manifest hy modify the image version
Modify the version value in values.yaml
Note helm upgrade hy hydrogen-chart rollback version helm history hydrogen-charthelm rollback hy 1
Helm will only build applications based on the resource files in templates in the chart directory. If there is a dependency on external environment variables in the yaml file, you need to create it in advance, otherwise pod will fail to read the environment variables and cause the build to fail
Thank you for your reading. the above is the content of "how to deploy helm v3". After the study of this article, I believe you have a deeper understanding of how to deploy helm v3, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.