Skip to content

Create managed Harbor

Prerequisite: You need to install Harbor Operator first.

  1. Log in to the web console as a user with the Admin role, and click container registry -> Managed Harbor from the left navigation bar.

  2. Click the Create Instance button in the upper right corner.

  3. Fill in the instance name, select the deployment location and click Next (if there is no deployment location to choose, you need to go to the container management to create a cluster and namespace).

  4. Fill in the database, Redis instance and image/Charts storage information and click Next (currently only supports access to external databases and Redis instances).

    Tips for filling out the database:

    • Address: postgres://{host}:{port}, for example postgres://acid-minimal-cluster.default.svc:5432
    • Username: Fill in the username to connect to the database
    • Password: fill in the password to connect to the database

    Redis filling is divided into stand-alone and sentinel modes:

    • Fill in the address in stand-alone mode: redis://{host}:{port}, you need to replace the two parameters host and port.
    • Fill in the address in sentinel mode: redis+sentinel://{host}:{port}?sentinelMasterId={master_id}, you need to replace the three parameters host, port, and master_id.
    • Password: Fill in as required
  5. Fill in the domain name, select the ingress instance, enter the administrator password and click OK (username/password is used to log in to the native Harbor instance, please keep the password safe).

    Tips for filling in the domain name: http://{host}, http:// in front of the host must be brought.

  6. Return to the list of managed Harbor instances. The newly created instance is the first one by default. Wait for the status to change from 'Updating' to 'Healthy' before it can be used normally.

  7. Click ... on the right side of an instance, and you can choose to edit, delete, or enter the original Harbor.

Next step: Create registry space

Comments