Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to base on image stream tags #22

Open
wtrocki opened this issue Sep 3, 2018 · 5 comments
Open

Add ability to base on image stream tags #22

wtrocki opened this issue Sep 3, 2018 · 5 comments

Comments

@wtrocki
Copy link
Member

wtrocki commented Sep 3, 2018

Idea

Currently when installing sync from APB users will have hard time to update the server without manual changes. When using some specific tag like latest etc. image is not going to be fetched when it's already in the OpenShift registry. Standard aproach for this problem is to use OpenShift image streams.
If we introduce image streams we will be able to allow users to try and test this changes.
We can have separate streams for release and alpha.
This aproach will be also useful to update current infrastructure that is being hosted on community cluster.

How

Add image stream object and point it to latest (tags will be pointed to release tags).
Use rolling deployment strategy based on image stream.

ping for opinions @darahayes @psturc @jhellar

ping @johnfriz for visibility.
I believe that this is something that all our APB could have in long run.

@laurafitzgerald
Copy link
Member

@wtrocki I haven't worked with apbs so this could be a silly question but would ImagePullPolicy: Always solve this issue?

@laurafitzgerald
Copy link
Member

also @wtrocki if this work is required for us as part of development/release work or for the user to remove manual steps can you create a JIRA and bring it into the sprint.

@wtrocki
Copy link
Member Author

wtrocki commented Sep 12, 2018

Yes. ImagePullPolicy: Always may be very good idea if we going to label our images with 1.0.0-latest or something like this! This is more about how we will aproach the updates for end users.

@psturc
Copy link
Contributor

psturc commented Sep 14, 2018

This is what we need: https://docs.openshift.com/container-platform/3.10/dev_guide/managing_images.html#importing-tag-and-image-metadata
By default an image repository is checked for new image every 15 minutes and multiple image tags can be specified.
I did a little experiment with this on OCP and OpenShift Online (OO) and it seems that OO does not support this feature (that image pull policy is specified at a cluster level and customer can do nothing about it when using OO).
It could be also worth checking this functionality on OSD.

If you agree, I would create a ticket and bring it to the current sprint.

@wtrocki
Copy link
Member Author

wtrocki commented Sep 14, 2018

@psturc Awesome work! Thank you for checking this on many clusters.

I think this will be really tied with versioning discussion that is currently in the progress. There will be couple ways to do it. When I initially proposed that change I wasn't aware of the custom OpenShift UI. We will need to get consensus on this topic and stackholders approval: https://groups.google.com/forum/#!topic/aerogear/WchCNefaQGU
Maybe we can post this on this topic to provide more information.

From my point of view it's is ok to add spike ticket in Jira, but we are still not clear on this land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants