一、安装helm
请看文章:centos7环境 的 k8s安装helm 3.7.1
二、使用helm
1、使用 chart 部署一个应用 weave
helm search repo weave
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