harbor helm 仓库使用
harbor 已经支持helm 私服仓库了,还是比较方便的
安装
- 下载在线安装包
wget https://storage.googleapis.com/harbor-releases/release-1.6.0/harbor-online-installer-v1.6.0.tgz
- 配置harbor
harbor.cfg 文件
目前主要配置hostname 使用自己服务器的ip即可
- 生成docker-compose file
sudo ./install.sh --with-clair --with-chartmuseum
使用
- 登陆
默认密码 admin/Harbor12345
说明
可以使用的helm 上传插件 helm-push
- 安装helm
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash
- 安装push 插件
helm init
helm plugin install https://github.com/chartmuseum/helm-push
- 添加repo
helm repo add --username=admin --password=Passw0rd myrepo https://xx.xx.xx.xx/chartrepo
or 添加特定仓库
helm repo add --username=admin --password=Passw0rd myrepo https://xx.xx.xx.xx/chartrepo/myproject
helm repo list
NAME URL
stable https://kubernetes-charts.storage.googleapis.com
local http://127.0.0.1:8879/charts
myrepo http://ipaddress/chartrepo/library
- 创建demo
helm create app
- push
helm push --username=admin --password=Harbor12345 app myrepo
- 查看信息
说明
monocular 是一个不错的UI选择,同时支持使用helm 进行安装
参考资料
https://github.com/goharbor/harbor/blob/master/docs/installation_guide.md
https://github.com/goharbor/harbor/blob/master/docs/user_guide.md#manage-helm-charts
https://docs.helm.sh/using_helm/#installing-helm
https://github.com/helm/chartmuseum
https://github.com/helm/charts
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
· PostgreSQL 和 SQL Server 在统计信息维护中的关键差异
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 上周热点回顾(2.17-2.23)
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· spring官宣接入deepseek,真的太香了~