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

What are the basic commands commonly used in Helm

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

Share

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

This article mainly introduces the basic commands commonly used in Helm, which have a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.

Helm is a software package management tool for Kubernetes. This paper requires readers to have a certain understanding of Docker, Kubernetes and other related knowledge. This article introduces the related concepts and basic working principles of Helm, and uses some simple examples to demonstrate how to use Helm to install, upgrade, and roll back a Kubernetes application.

Imghelm management command

View version

# helm version

Add repo

# helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts#helm repo add-username admin-password password myharbor https://harbor.qing.cn/chartrepo/charts

Update repo warehouse resources

# helm repo updatecharts Management

View the currently installed charts

# helm list

Helm search hub displays all available charts.

# helm search hub redis

Using helm search repo, you can find the name of the charts in the added repository:

# helm search repo redis

Print out the details of the specified Charts

# helm show chart stable/redis

Download charts to local

# helm fetch redis

Install charts

# helm install redis stable/redis

View charts status

# helm status redis

Delete charts

# helm uninstall redis Custom charts

Create charts

# helm create helm_charts

Check the correctness of chart syntax

# helm lint myapp

Package customized chart

# helm package myapp

View the generated yaml file

# helm template myapp-1.tgz

Deploy to k8s using the default chart

Helm install myapp myapp-1.tgz

Use packages for release deployment

Helm install-- name example2 helm-chart-0.1.0.tgz-- set service.type=NodePort updates and rollback

View current chart information

# helm list

Update images

# helm upgrade myapp myapp-2.tgz

View version information

# helm history myapp

Roll back the specified version

# helm rollback myapp 1 Thank you for reading this article carefully. I hope the article "what are the common basic commands of Helm" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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

Development

Wechat

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

12
Report