# 先移除原先的倉庫
helm repo remove stable
# 添加新的倉庫地址
helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
# 更新倉庫
helm repo update
helm search
helm repo update
- 安裝charts
Monocular是一個開源軟件,用於管理kubernetes上以Helm Charts形式創建的服務,可以通過它的web頁面來安裝helm Charts
# 安裝Nginx Ingress controller,安裝的k8s集群啟用了RBAC,則一定要加rbac.create=true參數
helm install stable/nginx-ingress --set controller.hostNetwork=true,rbac.create=true
# 安裝monocular
helm repo add monocular https://helm.github.io/monocular
helm install --name monocular --namesapce monocular monocular/monocular
helm list
helm delete kubeapps
# 上述雖然刪除了,但是還能夠使用這個命令查看到:helm ls --all
# 上述刪除,但是名稱還在,狀態是DELETED,若添加同名的release,則需要使用下面這個命令徹底刪除
# 刪除的話也能查看到詳情信息
helm status kubeapps
# 取消刪除發行版
helm rollback kubeapps
# 徹底刪除
helm delete --purge kubeapps