harbor 已经支持了helm 仓库(使用chartmuseum),Monocular 是一个不错的helm 仓库可视化工具
测试Monocular集成harbor 私服功能

使用docker-compose 进行安装

环境准备

  • Monocular docker-compose
  1. version: '2'
  2. services:
  3. ui:
  4. tty: true # Enables debugging capabilities when attached to this container.
  5. image: dalongrong/monocular-ui-nginx
  6. ports:
  7. - 80:80
  8. api:
  9. tty: true
  10. image: bitnami/monocular-api:latest
  11. ports:
  12. - "8081:8081"
  13. volumes:
  14. # Config example file
  15. - ./docs/config.example.yaml:/root/monocular/config/monocular.yaml
  16. # Used for loading kubernetes context used on Helm releases integration
  17. # - $HOME/.kube/:/root/.kube
  18. - ./repo:/root/monocular/repo-data
  19. environment:
  20. - ENVIRONMENT=development
  21. mongodb:
  22. image: bitnami/mongodb:3
  23. ports:
  24. - "27017:27017"
  25. redis:
  26. image: redis
  27. ports:
  28. - "6379:6379"
  29. api 配置文件:
  30. # This is an example of config file.
  31. # Copy it to `$HOME/monocular/config/monocular.yaml` in order to make the backend pick up the overrides.
  32. repos:
  33. # Official repositories
  34. - name: stable
  35. url: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts/
  36. source: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts/
  37. - name: incubator
  38. url: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts-incubator/
  39. source: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts-incubator/
  40. - name:jira
  41. url: http://harborhost/chartrepo/jira/
  42. source: http://harborhost/chartrepo/jira/
  43. # Add your own repository
  44. #- name: my-repo-name
  45. # url: my-repository-url
  46. # source: my-repository-source
  47. # cors:
  48. # allowed_origins:
  49. # - my-ui-hostname
  50. # allowed_headers:
  51. # - "content-type"
  52. # - "x-xsrf-token"
  53. # Enables Helm deployment integration
  54. # https://github.com/helm/monocular/tree/master/deployment/monocular#other-configuration-options
  55. releasesEnabled: true
  56. # Enables port forwarding for tiller Connections
  57. # Useful if you are running the app outside of the k8s cluster during development
  58. tillerPortForward: true
  59. useTLS: true
  60. # Specify a different namespace where to locate tiller-deploy
  61. tillerNamespace: kube-system
  62. # Specify a custom host for Tiller
  63. # Configure cache refresh interval in sec
  64. cacheRefreshInterval: 3600
  65. # Configure Redis server
  66. redis:
  67. host: redis:6379
  68. mongodb:
  69. url: mongodb:27017
  70. database: monocular
  • harbor 配置
  1. 参考 https://www.cnblogs.com/rongfengliang/p/9649337.html

创建helm 简单demo

  • create
  1. helm create nginx
  2. 添加readme文件
  3. README.md
  • 添加readme.md (方便使用者查看,使用mardown 格式即可)

  • 添加harbor helm 私服

  1. 备注:需要首先进行项目创建(jira,当前设计的模式为public
  2. helm repo add --username=admin --password=password jira http://10.16.201.45/chartrepo/jira
  • push helm 到私服
  1. helm push --username=admin --password=password nginx jira

查看效果



搜索

nginx

说明

集成起来还是比较方便的,实际上harbor 也可以显示helm 包信息,但是和Monocular 集成起来,会更方便

参考资料

https://github.com/goharbor/harbor/releases
https://www.cnblogs.com/rongfengliang/p/9649337.html
https://github.com/helm/chartmuseum
https://github.com/helm/monocular
https://github.com/helm/helm
https://github.com/rongfengliang/helm-nginx-demo

 
 
 
 

Monocular 集成harbor helm 仓库的更多相关文章

  1. harbor helm仓库使用

    harbor helm仓库使用 官方文档地址:https://github.com/goharbor/harbor Monocular 从1.0 开始专注于helm 的UI展示,对于部署以及维护已经去 ...

  2. 使用kubebapps 管理helm 仓库已经应用使用Monocular专门提供helm 仓库查找

    Monocular 从1.0 开始专注于helm 的UI展示,对于部署以及维护已经去掉了,官方也提供了相关的说明以及 推荐了几个可选的部署工具,从使用以及架构上来说kubeapps 就是Monocul ...

  3. harbor helm 仓库使用

    harbor 已经支持helm 私服仓库了,还是比较方便的 安装 下载在线安装包 wget https://storage.googleapis.com/harbor-releases/release ...

  4. [转帖]Helm 3 使用 harbor 作为仓库存储 charts

    Helm 3 使用 harbor 作为仓库存储 charts https://www.cnblogs.com/innerpeacez/p/11252198.html 之前需要 使用tiller 现在貌 ...

  5. K8S集群集成harbor(1.9.3)服务并配置HTTPS

    一.简介 简介请参考:https://www.cnblogs.com/panwenbin-logs/p/10218099.html 二.安装Harbor主机环境及安装要求 主机环境: OS: Cent ...

  6. Docker Harbor私有仓库部署与管理 (超详细配图)

    Docker Harbor私有仓库部署与管理 1.Harbor 介绍 2.Harbor部署 3.Harbor管理 1.Harbor 介绍: 什么是 Harbor ? Harbor 是 VMware 公 ...

  7. Harbor私有仓库中如何彻底删除镜像释放存储空间?

    简介: Harbor私有仓库运行一段时间后,仓库中存有大量镜像,会占用太多的存储空间.直接通过Harbor界面删除相关镜像,并不会自动删除存储中的文件和镜像.需要停止Harbor服务,执行垃圾回收命令 ...

  8. harbor镜像仓库-02-https访问配置

    harbor镜像仓库-02-https访问配置 harbordockerhttps harbor搭建部署参考上一章节 harbor镜像仓库-01-搭建部署 Harbor默认使用http,给harbor ...

  9. harbor镜像仓库-01-搭建部署

    harbor镜像仓库-01-搭建部署 dockerregistryharbor安装部署docker-compose harbor的https配置参考另一章节harbor镜像仓库-02-https访问配 ...

随机推荐

  1. LeetCode--119--杨辉三角II

    问题描述: 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行. 在杨辉三角中,每个数是它左上方和右上方的数的和. 示例: 输入: 3 输出: [1,3,3,1] 进阶: 你可以优化你 ...

  2. android--------阿里 Sophix移动热修复

    移动热修复(Mobile Hotfix)是阿里云提供的全平台App热修复服务方案.产品基于阿里巴巴首创hotpatch技术,提供最细粒度热修复能力,让您无需等待实时修复应用线上问题. 移动热修复提供的 ...

  3. Confluence 6 更新目录

    当编辑目录时候的限制 你不能对你用户属于的目录进行编辑,禁用或者删除.这个能够预防管理员通过修改目录的时候讲自己属于的管理员权限从系统管理员组中删除. 这个限制对所有的用户目录类型适用.例如: 如果当 ...

  4. 关于Floyd求解最小环的问题

    最近学习了floyd的奇妙用处,求解最小环,自己的领悟写在了纸上. 对于一个最小环,显然至少要包含三个点(此处不把两个点的回路称之为环) 从大体上考虑的话,一定有一个点与左右两侧的点是直接连接的(即不 ...

  5. UVA-1579 Matryoshka (区间DP)

    题目大意:n个俄罗斯套娃,都有相应的编号,每次可将两个相邻的套娃组合成一组,每次合成只能小的放到大的里面,并且是逐层嵌套.问将这n个套娃分成若干个组,并且每组都是编号从1开始的连续序列,最少需要几步. ...

  6. 关于InputStream类的available()方法

    要一次读取多个字节时,经常用到InputStream.available()方法,这个方法可以在读写操作前先得知数据流里有多少个字节可以读取.需要注意的是,如果这个方法用在从本地文件读取数据时,一般不 ...

  7. Delegate比较全面的例子(需整理)

    将Delegate理解为接口,只有一个方法的接口,这样最容易理解.这个方法只有声明,没有实现,实现在别的类.(实际上应该把它看作函数指针,不过接口更容易理解些.) 在你的类中有一个Delegate就相 ...

  8. zk请求和响应对

    zk的请求和响应是通过id对应上的: 请求头(RequestHeader)和响应头(ReplyHeader)共用一个xid,它的本质是ClientCnxn类中的一个计数器. 1. 首先看客户端: Pa ...

  9. UVSLive 6324 求射箭覆盖的期望

    DES:给出n条线段.询问每次射中线段条数的期望. 非常简单.就是每条线段的两端与原点相连的直线之间的夹角和.如果夹角大于pi.就是2pi减去这个角.最后除以总值2pi就是所求的期望. atan2(y ...

  10. pymysql 单独获取表的栏位名称

    有时需要获取表的栏位+数值,请参考 https://www.cnblogs.com/xibuhaohao/p/9996571.html 有时只需要栏位名称,那么可以使用 col=self.cursor ...