helm 使用方法說明 centos7環境 的 k8s安裝helm 3.7.1

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

 

 

 
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章