Openshift v3 - update image stream to extract changes from external docker registry

I seem to have encountered a simple problem and feel that I am missing something substantial.

I have a private registry of docker images in our company, which hosts all the docker images that we develop.

This registry is constantly updated during our build process, and new images are clicked on it quite often.

Now we use the openshift system, with several images and our own registry.

What would be the best way to synchronize images between the two systems?

As an example, we have an application deployed as follows:

oc new-app myregistry.mydomain.edu/binbase/minix

which works well.

Now we would like to update this deployment with the latest changes and for this:

oc import-image minix

Spec PullSpec 23 myregistry.mydomain.edu/binbase/minix:latest f6646382cfa32da291e8380421ea656110090256cd195746a5be2fcf61e4edf1

oc deploy minix --latest

, .

, ?

, , - .

+4
1

- myregistry.mydomain.edu, .

,

oc import-image <NAME OF STREAM>

PullPollicy

oc edit dc <NAME OF STREAM>

, , :

imagePullPolicy:

+8

Source: https://habr.com/ru/post/1623347/


All Articles