goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.11k stars 4.76k forks source link

Ability to migrate harbor from Docker-Compose to K8s? #21149

Open StevenPaugh opened 1 day ago

StevenPaugh commented 1 day ago

Hello folks,

We are looking to migrate our harbor from a docker-compose environment over to Kubernetes. I've seen documentation related to backup/restore from Kubernetes > Kubernetes and from Docker-Compose > Docker-Compose, but not for Docker-Compose > Kubernetes.

Can anyone share any tips, scripts, guides, etc on how we might accomplish this? Harbor is a vital role of our day to day so I am a bit concerned on experimenting with this in production ๐Ÿ˜„

Thank you to anyone who can help!

wy65701436 commented 10 hours ago

I donโ€™t think migrating the configuration of all the Harbor containers to Kubernetes will be straightforward. However, the key things to focus on are the private keys, secrets, database, and registry storage.