purple-translator-44176
12/17/2022, 8:48 AMkind load docker-image ...
. In my current setup I have added an exec
module that does this and depends on the container
module to get the image name to load. It works, but it feels messy.
So, what are others doing? Is it possible to use the in-cluster registry with KinD and get garden to publish the images?
I want to support both Docker Desktop (default) and KinD (multi-node testing) so if using the in-cluster registry is a viable option (for KinD) I would only want to configure this for KinD ... not sure how to accomplish that when there is only a single local-kubernetes
provider configuration.
Any thoughts and advice would be much appreciated.
Thanks,
Siquaint-dress-831
12/21/2022, 8:34 AMpurple-translator-44176
12/21/2022, 3:47 PMkind load docker-image <image name>
must be run before the image can be used.
That makes it a bit of pain to use, unless I am missing something obvious. I thought perhaps using a registry deployed in the KinD cluster might streamline this, but if in-cluster is going away then I'll avoid that.
https://kind.sigs.k8s.io/docs/user/quick-start/#loading-an-image-into-your-cluster
One option is to define an exec
module that runs the load command and that depends on the container
module that builds the image - this can be templated. But, it all feels a little bit messy and complex.
Docker desktop is much more streamlined but there is no multinode support at the moment. I guess others might be doing their multinode testing on remote clusters.quaint-dress-831
12/22/2022, 12:07 PMtall-greece-98310
01/20/2023, 9:35 AMquaint-dress-831
01/23/2023, 1:43 PM