A Comprehensive Guide to Installing Harbor via Helm in a Kubernetes Homelab: Troubleshooting and Solutions
Kubernetes | Harbor | Homelab | Helm
3 min readMar 14, 2024
This article provides a comprehensive guide to installing Harbor using Helm in a Homelab. The goal is to help others navigate through the process smoothly, reducing the need to sift through Github comments for solutions.
Before proceeding, the following prerequisites should be met:
- A functional Kubernetes Cluster with the necessary rights and access to provision new resources, including Custom Resource Definitions, Secrets, and a Service Account. Without these, the necessary permissions must be obtained first.
- A storage class identified as default for the number of StatefulSets and Persistent Volumes to be created.
- Accessibility of the cluster via a Domain Name to an ingress controller. Without the capability to utilize a domain name, issues may arise as the Harbor repository uses an Ingress, which functions much like a Reverse Proxy, with most services utilizing port 80.
- Helm and Kubectl should be installed on the machine executing these steps and connecting to the Cluster.
Once you have prepared everything as mentioned above, we can get started with theβ¦