kapp-controller icon indicating copy to clipboard operation
kapp-controller copied to clipboard

kapp controller pull the imgpkg offline

Open debankur1 opened this issue 2 years ago • 7 comments

Can the Kapp controller pull the image and other artifacts from the local imgpkg tarball?

debankur1 avatar Jul 20 '23 14:07 debankur1

This repository is for the CLI kapp and not the controller. I will move this issue to the appropriate repo. However, kapp-controller will only pull from a registry. I am struggling a bit to imagine why we would want this as kapp-controller runs on the cluster.

Could you elaborate on your use case? I think we are missing some bits here.

100mik avatar Jul 20 '23 14:07 100mik

think about an Edge cluster rather a single node cluster and it is Airgapped having no access to any registry we have the freedom to load the images locally to the container runtime and we can also facilitate the imgpkg tar ball in the host itself

debankur1 avatar Jul 20 '23 14:07 debankur1

Any update on this ?

debankur1 avatar Aug 09 '23 00:08 debankur1

Ah I see, I believe right now the only way forward here would be to spin up a local registry on that node.

100mik avatar Aug 09 '23 15:08 100mik

Ah I see, I believe right now the only way forward here would be to spin up a local registry on that node.

yes but the problem is we can end up with issues related to storage if the server is bare-metal or in a Edge scenario or the storage is limited

debankur1 avatar Aug 09 '23 17:08 debankur1

I believe to implement the feature I am asking for, might take some time as it will be a shift from the current architecture. Is that the right understanding?

debankur1 avatar Aug 09 '23 18:08 debankur1

kapp-controller does cache images referred to with shasum references. It won't pull these images twice. Does this solve the issue at hand?

100mik avatar Aug 09 '23 18:08 100mik