Skip to main content

Quickstart

This guide shows you how to set up a working Harbor Container Registry that utilizes a Kubernetes cluster.

Prerequisites

  • Kubernetes cluster v1.20+
    • Use existing cluster
      export KUBECONFIG=/path/to/kubeconfig
    • Alternatively, spawn some dev cluster, e.g. using KinD
      kind create cluster
  • Flux CLI

Install Harbor container registry

Apply kustomization manifest in envs/dev directory:

kubectl apply -k envs/dev/

Port-forward the Harbor container registry service:

kubectl port-forward svc/harbor 8080:80

Access the Harbor container registry UI and use Harbor's default credentials

  • username: admin
  • password: Harbor12345
http://localhost:8080