This topic describes VMware Harbor Registry, an enterprise-class image registry server that stores and distributes container images for VMware Tanzu Kubernetes Grid Integrated Edition.
Overview
Harbor allows you to store and manage container images for your Tanzu Kubernetes Grid Integrated Edition deployment. Deploying an image registry alongside Tanzu Kubernetes Grid Integrated Edition improves image transfer speed.
As an enterprise private registry, Harbor also offers enhanced performance and improved security. By configuring Harbor with Tanzu Kubernetes Grid Integrated Edition, you can apply enterprise features to your image registry, such as security, identity, and management.
You can install Harbor alongside Tanzu Kubernetes Grid Integrated Edition on vSphere, Amazon Web Services (AWS), Google Cloud Platform (GCP), and Microsoft Azure.
Install Harbor
To install Harbor, do the following:
- Install Tanzu Kubernetes Grid Integrated Edition. For more information, see the Installing Tanzu Kubernetes Grid Integrated Edition topic for your cloud provider.
- Install Harbor. For more information, see Installing and Configuring VMware Harbor Registry.
Use Harbor
Before you can push images to Harbor, you must do the following:
- Configure authentication and role-based access control (RBAC) for Harbor. For more information, see Create Projects in the Harbor documentation.
- Create a Harbor project that contains all repositories for your app. For more information, see Create Projects in the Harbor documentation.
After you configure Harbor, you can do the following:
- Push or pull Docker images to your Harbor project using the Docker command-line interface (CLI). For more information, see [Pulling and Pushing Images in the Docker Client] (https://goharbor.io/docs/1.10/working-with-projects/working-with-images/pulling-pushing-images/) in the Harbor documentation.
- Manage Helm charts in your Harbor project using either the Harbor portal or the Helm CLI. For more information, see [Managing Helm Charts] (https://goharbor.io/docs/1.10/working-with-projects/working-with-images/managing-helm-charts/) in the Harbor documentation.
- Install Clair to activate vulnerability scanning for images stored in Harbor. For more information, see [Step 8: Configure Container Vulnerability Scanning Using Clair] (https://docs.vmware.com/en/VMware-Harbor-Registry/services/vmware-harbor-registry/GUID-installing.html#configure_clair) in Installing and Configuring VMware Harbor Registry.
For more information about managing images in Harbor, see the [Working with Images, Tags, and Helm Charts] (https://goharbor.io/docs/1.10/working-with-projects/working-with-images/) in the Harbor documentation.
Manage Harbor
As a Harbor administrator, you can manage the following in the Harbor portal:
- Authentication: Select either local user authentication or configure LDAP/Active Directory integration. If you select local user authentication, you can activate or deactivate user self-registration.
- Users and roles: Manage privileges for Harbor users.
- Email settings: Configure a mail server for user password resets.
- Project creation: Specify which users can create projects.
- Registry permissions: Manage permissions for image registry access.
- Endpoints: Add and remove image registry endpoints.
- Replication policies: Add and remove rules for replication jobs.
For more information about managing Harbor as an administrator, see Harbor Administration in the Harbor documentation.