helm 使用方法说明

一、安装helm

请看文章:centos7环境 的 k8s安装helm 3.7.1

 

二、使用helm

1、使用 chart 部署一个应用 weave

 查找 chart
helm search repo weave

#查看 chrt 信息
helm show chart stable/weave-scope

 

安装包
helm install  myweave-ui  stable/weave-scope
#查看发布状态
 helm list

helm status myweave-ui

 

 安装已经成功了。我们可以查看k8s里的pods,deploy,svc等信息,都可以找到相关信息。

 

 若需要外部能访问,则需要将svc改为NodePort类型。

kubectl edit svc myweave-ui-weave-scope

 

 

 
 
 
posted @ 2021-12-19 16:35  沐雪架构师  阅读(209)  评论(0编辑  收藏  举报