We self-host Harbor as well, it’s fairly painless. Has SSO out of the box, a Terraform provider that covers everything, and for the most part just works. The issues we’ve had so far: - No programmatic way to retrieve your token that’s required for ‘docker login’. So we had to create a robot account per user and pop their creds into our secrets store. - Migrating between sites by cloning the underlying S3 bucket and s…
Running our Docker registry on-prem with Harbor
51–60 of 78 posts
Re: Running our Docker registry on-prem with Harbor
#52One issue to solve is auto-deletion of old images, so that the storage does not swell. Any tips?
Re: Running our Docker registry on-prem with Harbor
#53Why does the Harbor VM need 32 cores and 64GB of RAM? Especially if it's only serving 32,000 pulls over 2 months.
I want something like "This could have been an email" but "This could have been a Caddy instance and static files" Hell Git doesn't even need the Git protocol if you do `update-server-info`
0. https://github.com/replicatedhq/ttl.sh/blob/main/registry/en...
Re: Running our Docker registry on-prem with Harbor
#54It is pretty easy to just run the basic registry for this purpose.
We have a similar setup for NPM and Pypi on the same machine. It doesnt really need a lot of attention. Some upgrades every once and a while.
Re: Running our Docker registry on-prem with Harbor
#55Earlier quoted context omitted.
It's in Deft's ORD and IAD data centers, using their network for ingress/egress. Still has to go over transit between those two locations.
But that might be baked into their enterprise pricing. Since it’s still “within” Deft. Site to site is common.
Re: Running our Docker registry on-prem with Harbor
#56Earlier quoted context omitted.
What’s jank about it?
I mentioned two things that were broken: 1. Doesn't work with ExternalSecretsOperator and ArgoCD, which I happen to use. This is because the author of the Harbor chart decided not to use k8s concepts like secretRef in a podTemplate. Instead, at Helm template time, it looks up the secret data and writes it into another secret, which is then included as a envFrom. This interacts poorly with ExternalSecretsOperator in g…
Re: Running our Docker registry on-prem with Harbor
#57This is incorrect, the word you are looking for here is "on-premises" - a "premise" is something entirely different.
Re: Running our Docker registry on-prem with Harbor
#58We self-host Harbor as well, it’s fairly painless. Has SSO out of the box, a Terraform provider that covers everything, and for the most part just works. The issues we’ve had so far: - No programmatic way to retrieve your token that’s required for ‘docker login’. So we had to create a robot account per user and pop their creds into our secrets store. - Migrating between sites by cloning the underlying S3 bucket and s…
What the upgrade story like? Their official website makes it sound like a pain (stopping the software, backing up the database, changing the settings syntax, running some installer). I would expect something built for kubernetes to just do the right thing on startup (such that upgrading is simply switching out the image).
Re: Running our Docker registry on-prem with Harbor
#59> pulling and pushing our images over the internet dozens of times a day caused us to hit the contracted bandwidth limit with our datacenter provider Deft repeatedly I wonder what they were doing that resulted in blowing out their Docker layer cache on every pull and push. Normally only a layer diff would be sent over the wire, such as a code change that didn't change your dependencies.
Re: Running our Docker registry on-prem with Harbor
#60This looks nice. What would be good on-prem S3 companion for this? I know if minio but I think there was some recent drama about it (I don't know specifics, just a feeling)
Minio used to be de facto here, but they did a bait and switch recently and removed the UI from the free version. Garage is probably closest to best in class for open source on prem.