antony@notes:~/container$ cat "Deploying-Harbor-with-High-Availability-via-Helm.md"
Deploying Harbor with High Availability via Helm
Deploying Harbor with High Availability via Helm
Prerequisites
- Kubernetes cluster 1.10+
- Helm 2.8.0+
- High available ingress controller (Harbor does not manage the external endpoint)
- High available PostgreSQL database (Harbor does not handle the deployment of HA of database)
- High available Redis (Harbor does not handle the deployment of HA of Redis)
- PVC that can be shared across nodes or external object storage
架構

現在 Harbor 的大部分元件都是 stateless 的。 所以我們只需增加 Pod 的 replica 數量,就能確保元件分散到多個 Worker 節點,並利用 K8S 的「Service」機制確保 Pod 間的連線。
至於儲存層,則希望使用者提供高可用性的 PostgreSQL、Redis 叢集來儲存應用程式資料,並提供 PVC 或物件儲存器來儲存 images 和 charts。