cloudfoundry-incubator/kubecf

Kubecf deployment in air gapped environment

gsachdev6 opened this issue · 3 comments

Is your feature request related to a problem? Please describe.
I want to deploy kubecf in an air gapped environment where I do not have access to internet to download the images and binary.

Describe the solution you'd like
Can you please provide me either:

  1. List of all the docker images, OS images, builder images, etc. that I can manually download and upload them in my local repository.
  2. List of all the yaml files where i need to make the changes to get my local repo configured.

Describe alternatives you've considered
I tried doing that manually but I got stuck to understand which all images need to be changed.

Additional context
Add any other context or screenshots about the feature request here.

There are imagelist.txt files in the cf-operator and kubecf helm charts that list all required images.

The SUSE CAP product puts all images into a single registry, and the imagelist.txt files have been stripped of the source registry and only contain the image names and tags. There is a sample script to mirror the images in the documentation at https://documentation.suse.com/suse-cap/2.1/single-html/cap-guides/#sec-cap-air-gap-registry

I'm not sure if the documentation is still accurate, but it should give you a starting point...

Thanks a lot for your response and I am able to create the script. But when I run the script, I am not able to download anything from suse registry, is it a private repo that I require access on ?

Everytime either I run "docker login" or "docker pull", it gives me error

error response from daemon: get https://registry.suse.com/v2/: unauthorized: authentication required

Any guidance will be greatly appreciated here as I am stuck getting this deployed.

@gsachdev6 It is not a private registry; or at least you can pull images without being logged in:

Random example I just tried, and it worked for me:

docker pull registry.suse.com/cap/suse-nginx-buildpack:SLE_15_SP1-27.7-7.0.0_374.gb8e8e6af-1.1.15.1