前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >helm公共仓库创建

helm公共仓库创建

作者头像
章工运维
发布2023-06-13 15:19:01
5280
发布2023-06-13 15:19:01
举报
文章被收录于专栏:章工运维章工运维

# 一、helm仓库查看

代码语言:javascript
复制
$ helm repo list
Error: no repositories to show
# 首次安装helm3 是没有指定默认仓库的。需要手动疯狂添加仓库才可以获取程序包

# 二、helm仓库添加

代码语言:javascript
复制
$ helm repo add stable http://mirror.azure.cn/kubernetes/charts
$ helm repo add aliyun  https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
$ helm repo add jetstack https://charts.jetstack.io
$ helm repo update  # 更新仓库

# 三、helm仓库删除

如果有一天觉得手痒,可以使用如下命令删除helm仓库。不用担心什么可怕后果,更不要大声尖叫。这里并不是真实删除仓库,只是删除指向仓库的链接而已。如果后悔了,大不了再使用上面的命令添加回来。

代码语言:javascript
复制
$ helm repo remove stable
$ helm repo remove aliyun
$ helm repo remove jetstack

# 四、helm查看chart

添加完上面的helm仓库后,就可以额愉快的查找你深爱的程序包(chart)了。

代码语言:javascript
复制
# helm search repo chart_name,比如想查找 nginx 的 chart,使用如下命令:

$ helm search repo nginx
NAME                            CHART VERSION   APP VERSION     DESCRIPTION
aliyun/nginx-ingress            0.9.5           0.10.2          An nginx Ingress controller that uses ConfigMap...
aliyun/nginx-lego               0.3.1                           Chart for nginx-ingress-controller and kube-lego
stable/nginx-ingress            1.41.3          v0.34.1         DEPRECATED! An nginx Ingress controller that us...
stable/nginx-ldapauth-proxy     0.1.6           1.13.5          DEPRECATED - nginx proxy with ldapauth
stable/nginx-lego               0.3.1                           Chart for nginx-ingress-controller and kube-lego
aliyun/gcloud-endpoints         0.1.0                           Develop, deploy, protect and monitor your APIs ...
stable/gcloud-endpoints         0.1.2           1               DEPRECATED Develop, deploy, protect and monitor...

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2023-06-12,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • # 一、helm仓库查看
  • # 二、helm仓库添加
  • # 三、helm仓库删除
  • # 四、helm查看chart
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档