You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doc describes how setup content mirrors for disconnected Openshift installations (single or multi-master).
# In environments where you do not have access to the public internet (to perform the install), you'll need to make a local copy of rpms and container images. You would then configure the Openshift installation to pull it's content from this repo.
# You could also use a Red Hat Satellite for this purpose. This requires additional resources and time to configure the satellite server (which may be out-of-scope for a quick Openshift PoC).
# If you are interested in setting up RH Satellite for this content mirror, the instruction for that are here:
# during the install, do these commands in separate terminals to trouble shoot any missing images
watch oc get pods -owide --all-namespaces
# and
watch oc get pv
# and
journalctl -xlf
# look for errors about images not found
# after install, you may find that you didnt copy EVERY single non-core image. If that is the case, some imageStreams may reference non-existing (older) images. If you want a list of missing (defunct) images, then do this
for i in `oc get is -n openshift |grep -v NAME |awk '{print $1}'`; do oc get is $i -n openshift -o json; done |grep 'not found' |awk '{print $3}' |awk -F \/ '{print $2,$3}' | awk -F \: '{print $1}' |sed 's/ /\//g' |sort -u
# this will yield a list of missing images that you can import using the import-images.py script
# redirect the output to a file (> missing.txt) and then re-run the import-images.py script with '-l missing.txt'
# (be prepared to pay a storage cost for all those old images)