Monocular 集成harbor helm 仓库
harbor 已经支持了helm 仓库(使用chartmuseum),Monocular 是一个不错的helm 仓库可视化工具
测试Monocular集成harbor 私服功能
使用docker-compose 进行安装
环境准备
- Monocular docker-compose
version: '2'
services:
ui:
tty: true # Enables debugging capabilities when attached to this container.
image: dalongrong/monocular-ui-nginx
ports:
- 80:80
api:
tty: true
image: bitnami/monocular-api:latest
ports:
- "8081:8081"
volumes:
# Config example file
- ./docs/config.example.yaml:/root/monocular/config/monocular.yaml
# Used for loading kubernetes context used on Helm releases integration
# - $HOME/.kube/:/root/.kube
- ./repo:/root/monocular/repo-data
environment:
- ENVIRONMENT=development
mongodb:
image: bitnami/mongodb:3
ports:
- "27017:27017"
redis:
image: redis
ports:
- "6379:6379"
api 配置文件:
# This is an example of config file.
# Copy it to `$HOME/monocular/config/monocular.yaml` in order to make the backend pick up the overrides.
repos:
# Official repositories
- name: stable
url: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts/
source: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts/
- name: incubator
url: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts-incubator/
source: https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts-incubator/
- name:jira
url: http://harborhost/chartrepo/jira/
source: http://harborhost/chartrepo/jira/
# Add your own repository
#- name: my-repo-name
# url: my-repository-url
# source: my-repository-source
# cors:
# allowed_origins:
# - my-ui-hostname
# allowed_headers:
# - "content-type"
# - "x-xsrf-token"
# Enables Helm deployment integration
# https://github.com/helm/monocular/tree/master/deployment/monocular#other-configuration-options
releasesEnabled: true
# Enables port forwarding for tiller Connections
# Useful if you are running the app outside of the k8s cluster during development
tillerPortForward: true
useTLS: true
# Specify a different namespace where to locate tiller-deploy
tillerNamespace: kube-system
# Specify a custom host for Tiller
# Configure cache refresh interval in sec
cacheRefreshInterval: 3600
# Configure Redis server
redis:
host: redis:6379
mongodb:
url: mongodb:27017
database: monocular
- harbor 配置
参考 https://www.cnblogs.com/rongfengliang/p/9649337.html
创建helm 简单demo
- create
helm create nginx
添加readme文件
README.md
添加readme.md (方便使用者查看,使用mardown 格式即可)
添加harbor helm 私服
备注:需要首先进行项目创建(jira,当前设计的模式为public)
helm repo add --username=admin --password=password jira http://10.16.201.45/chartrepo/jira
- push helm 到私服
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 仓库的更多相关文章
- harbor helm仓库使用
harbor helm仓库使用 官方文档地址:https://github.com/goharbor/harbor Monocular 从1.0 开始专注于helm 的UI展示,对于部署以及维护已经去 ...
- 使用kubebapps 管理helm 仓库已经应用使用Monocular专门提供helm 仓库查找
Monocular 从1.0 开始专注于helm 的UI展示,对于部署以及维护已经去掉了,官方也提供了相关的说明以及 推荐了几个可选的部署工具,从使用以及架构上来说kubeapps 就是Monocul ...
- harbor helm 仓库使用
harbor 已经支持helm 私服仓库了,还是比较方便的 安装 下载在线安装包 wget https://storage.googleapis.com/harbor-releases/release ...
- [转帖]Helm 3 使用 harbor 作为仓库存储 charts
Helm 3 使用 harbor 作为仓库存储 charts https://www.cnblogs.com/innerpeacez/p/11252198.html 之前需要 使用tiller 现在貌 ...
- K8S集群集成harbor(1.9.3)服务并配置HTTPS
一.简介 简介请参考:https://www.cnblogs.com/panwenbin-logs/p/10218099.html 二.安装Harbor主机环境及安装要求 主机环境: OS: Cent ...
- Docker Harbor私有仓库部署与管理 (超详细配图)
Docker Harbor私有仓库部署与管理 1.Harbor 介绍 2.Harbor部署 3.Harbor管理 1.Harbor 介绍: 什么是 Harbor ? Harbor 是 VMware 公 ...
- Harbor私有仓库中如何彻底删除镜像释放存储空间?
简介: Harbor私有仓库运行一段时间后,仓库中存有大量镜像,会占用太多的存储空间.直接通过Harbor界面删除相关镜像,并不会自动删除存储中的文件和镜像.需要停止Harbor服务,执行垃圾回收命令 ...
- harbor镜像仓库-02-https访问配置
harbor镜像仓库-02-https访问配置 harbordockerhttps harbor搭建部署参考上一章节 harbor镜像仓库-01-搭建部署 Harbor默认使用http,给harbor ...
- harbor镜像仓库-01-搭建部署
harbor镜像仓库-01-搭建部署 dockerregistryharbor安装部署docker-compose harbor的https配置参考另一章节harbor镜像仓库-02-https访问配 ...
随机推荐
- LeetCode--119--杨辉三角II
问题描述: 给定一个非负索引 k,其中 k ≤ 33,返回杨辉三角的第 k 行. 在杨辉三角中,每个数是它左上方和右上方的数的和. 示例: 输入: 3 输出: [1,3,3,1] 进阶: 你可以优化你 ...
- android--------阿里 Sophix移动热修复
移动热修复(Mobile Hotfix)是阿里云提供的全平台App热修复服务方案.产品基于阿里巴巴首创hotpatch技术,提供最细粒度热修复能力,让您无需等待实时修复应用线上问题. 移动热修复提供的 ...
- Confluence 6 更新目录
当编辑目录时候的限制 你不能对你用户属于的目录进行编辑,禁用或者删除.这个能够预防管理员通过修改目录的时候讲自己属于的管理员权限从系统管理员组中删除. 这个限制对所有的用户目录类型适用.例如: 如果当 ...
- 关于Floyd求解最小环的问题
最近学习了floyd的奇妙用处,求解最小环,自己的领悟写在了纸上. 对于一个最小环,显然至少要包含三个点(此处不把两个点的回路称之为环) 从大体上考虑的话,一定有一个点与左右两侧的点是直接连接的(即不 ...
- UVA-1579 Matryoshka (区间DP)
题目大意:n个俄罗斯套娃,都有相应的编号,每次可将两个相邻的套娃组合成一组,每次合成只能小的放到大的里面,并且是逐层嵌套.问将这n个套娃分成若干个组,并且每组都是编号从1开始的连续序列,最少需要几步. ...
- 关于InputStream类的available()方法
要一次读取多个字节时,经常用到InputStream.available()方法,这个方法可以在读写操作前先得知数据流里有多少个字节可以读取.需要注意的是,如果这个方法用在从本地文件读取数据时,一般不 ...
- Delegate比较全面的例子(需整理)
将Delegate理解为接口,只有一个方法的接口,这样最容易理解.这个方法只有声明,没有实现,实现在别的类.(实际上应该把它看作函数指针,不过接口更容易理解些.) 在你的类中有一个Delegate就相 ...
- zk请求和响应对
zk的请求和响应是通过id对应上的: 请求头(RequestHeader)和响应头(ReplyHeader)共用一个xid,它的本质是ClientCnxn类中的一个计数器. 1. 首先看客户端: Pa ...
- UVSLive 6324 求射箭覆盖的期望
DES:给出n条线段.询问每次射中线段条数的期望. 非常简单.就是每条线段的两端与原点相连的直线之间的夹角和.如果夹角大于pi.就是2pi减去这个角.最后除以总值2pi就是所求的期望. atan2(y ...
- pymysql 单独获取表的栏位名称
有时需要获取表的栏位+数值,请参考 https://www.cnblogs.com/xibuhaohao/p/9996571.html 有时只需要栏位名称,那么可以使用 col=self.cursor ...