Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Latest commit

 

History

History
50 lines (33 loc) · 1.63 KB

installation.md

File metadata and controls

50 lines (33 loc) · 1.63 KB

Installation

Follow the guide shown below to deploy the Harbor operators and the relevant dependant services.

Prerequisite

Cert-Manager

[Cert-Manager] is used to manage the related certificates of Harbor. Use the following command to install:

# Kubernetes 1.15+
$ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.16.1/cert-manager.yaml

Ingress Controller

Deployed Harbor services are exposed with ingress way. An ingress controller should be installed in the target K8s cluster. Nginx ingress controller is regular option. Based on your environment, follow the guide shown here to install it.

Install Operators

A kustomization template is provided to install all the related operators required by deploying all-in-one harbor cluster. Use the command shown below to start the installation:

kubectl apply -f manifests/all-in-one.yaml

or

kustomize build manifests/ | kubectl apply -f -

Uninstall Operators

Use K8s delete command and the deployment manifest to uninstall all resources of operators.

kubectl delete -f manifests/all-in-one.yaml

Other References

  • Follow guide shown here to deploy harbor operators on the local cluster (kind) and deploy sample Harbor with in-cluster dependant services
  • Follow guide shown here to deploy harbor operators and deploy sample Harbor with external services
  • Follow sample deployment guide to deploy a sample Harbor