Harbor on Kubernetes: Hostname to be used in harbor.cfg

5/3/2019

am trying to deploy harbor registry in kubernetes cluster.

We need to update the hostname in harbor.cfg to be able to access harbor ui from outside k8s cluster. As per instructions, hostname should be updated with the worker node hostname or IP address.

i have a k8s cluster with 5 workers. what hostname should be defined in harbor.cfg. please advise

-- P Ekambaram
harbor
kubernetes

1 Answer

6/26/2019

If you are installing in kubernetes, you can use the helm charts: https://github.com/goharbor/harbor-helm

Even if you don't have tiller (helm's server) in your cluster, you can generate easily the yaml files with helm template or use them as a guide :)

-- Chus
Source: StackOverflow