Juju core k8s charm container image is hosted on dockerhub hitting rate limits

Bug #2052997 reported by Rob Gibbon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Unassigned

Bug Description

Running Juju 3.3, I'm hitting dockerhub API rate limits on my JuJu k8s environment. Dockerhub seems a poor choice to host core Juju images.

I expect Juju to just work without me having to have an account or take out a subscription to dockerhub. I'd that's not the case, then the documentation should be updated to clearly explain that users require a dockerhub subscription.

Revision history for this message
Ian Booth (wallyworld) wrote :

dockerhub has been in use since before rate limits were introduced. We ultimately want to use the rock infrastructure to serve the images. But until that's ready, we also publish to ghcr and ecr, and you can select one of those at bootstrap using

--config caas-image-repo="public.ecr.aws/juju"

or

--config caas-image-repo="ghcr.io/juju"

as a bootstrap option.

We will need to check the doc to make sure it covers this.

Revision history for this message
Rob Gibbon (robgibbon) wrote :

when I run `juju switch controller; juju config controller` I don't see caas-image-repo in the available config options? Running the command `juju config controller caas-image-repo="public.ecr.aws/juju` bombs with an error.
Is it only possible to set it at bootstrap? Also, is it possible this only applies to a Juju controller bootstrapped on a K8s platform? I'm running my controllers on MAAS

Revision history for this message
Rob Gibbon (robgibbon) wrote :

This also doesn't work

juju controller-config caas-image-repo="public.ecr.aws/juju"
ERROR cannot change caas-image-repo as it is not currently set (not valid)

Checking the docs, it says it should work. https://juju.is/docs/juju/list-of-controller-configuration-keys#heading--caas-image-repo

Revision history for this message
Jeffrey Chang (modern911) wrote :

I can bootstrap juju controller on top of k8s with --config caas-image-repo="public.ecr.aws/juju".

Revision history for this message
Ian Booth (wallyworld) wrote :

It's a read only setting. You can't change it after bootstrap.

Revision history for this message
Harry Pidcock (hpidcock) wrote :

It can't be changed after bootstrap except to adjust credentials used for a custom registry.

Revision history for this message
Joseph Phillips (manadart) wrote :

I've triaged it as wish-list, as we do plan to address as part of future feature work.

Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.