一、安裝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