Harbor介绍及我们的改造

本文详细介绍了为何选择Harbor而非直接使用Registry V2,并阐述了Harbor的RBAC权限管理、项目类型、架构及工作流程。重点讨论了Harbor的高可用性方案,包括两种HA模式及实际生产环境中的定制开发,如对接CAS、CMDB和OA,以及组件拆分等。同时,提出了下一步的改进计划,如新Portal、集成Clair和PaaS CI/CD等。
摘要由CSDN通过智能技术生成

说明:我们是基于Harbor V0.4.1进行分析和改造的。

为什么不是直接使用Registry V2,而选用Harbor?

可以用Harbor做以下事情:

  • Manage your projects.
  • Manage members of a project.
  • Replicate projects to a remote registry.
  • Search projects and repositories.
  • Manage Harbor system if you are the system administrator:
  • Manage users.
  • Manage destinations.
  • Manage replication policies.
  • Pull and push images using Docker client.
  • Delete repositories.

Harbor提供RBAC (Role Based Access Control)能力

  • Guest: Guest has read-only privilege for a specified project.
  • Developer: Developer has read and write privileges for a project.
  • ProjectAdmin: When creating a new project, you will be assigned the “ProjectAdmin” role to the project. Besides read-write privileges, the “ProjectAdmin” also has some management privileges, such as adding and removing members.
  • SysAdmin: “SysAdmin” has the most privileges. In addition to the privileges mentioned above, “SysAdmin” can also list all projects, set an ordinary user as administrator and delete users. The public project “library” is also owned by the administrator.
  • Anonymous: When a user is not logged in, the user is considered as an “anonymous” user. An anonymous user has no access to private projects and has read-only access to public projects.

在我们的生产环境中,不会启动Anonymous用户。

Harbor支持2种Project Types

  • Public: All users have the read privilege to a
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值