Replies: 2 comments 6 replies
-
Option 1 - Pulumi/TF based installation It seems reasonable to have a repo that would show how to get the registry installed with some trivial pulumi/tf code (and maybe a pinch of ansible) Then the traefik ingress manifest would expose this outside the cluster for people to manage the registry. |
Beta Was this translation helpful? Give feedback.
-
Related to this, the documentation says Perhaps it would make sense to have an option in |
Beta Was this translation helpful? Give feedback.
-
Currently clabernetes is doing fine when images used in manifests point to:
The problem is that most VM-based images users build with clab are local. Think of SR OS image that is privately stored in local docker image store of a user.
Clearly, when people are adventurous enough to explore k8s waters they might as well invest in running their private harbor or any other registry, but we need to make this easy for those who can't do it on their own.
I was thinking we need to brainstorm how to support c9s-registry pod inside k8s cluster that would store the user' images and as such make them available to c9s/clabverter.
It seems we can automate creation of a
docker-registry
pod for the cluster in question, this registry can have dummy user/pwd pair that users could use to push images they want to use in their labs.There are many tutorials how to add registry pod to a cluster, this one looks ok.
The registry can be ephemeral to start with (no pv/pvc issues), and then it seems we need traefik to expose it so that users could push images to it - see this.
It is an open question how we automate this, maybe for starters it can be just a bash script for us to use in the first place.
The workflow is then:
Ideally all of this can be handled by clabverter, offering a truly turnkey experience. But this is for laaaater.
Beta Was this translation helpful? Give feedback.
All reactions