Last active
August 14, 2017 23:40
-
-
Save bjartek/b42aa12e7093cb14573f3d90bce62fe7 to your computer and use it in GitHub Desktop.
imagestream sync
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lets say you have a DeploymentConfig that is running two containers. | |
- a nginx container with static content | |
- a nodejs container | |
Both of these containers are deployed with the same version. | |
How do you ensure that they are always delpoyed with the same version? | |
If you use ImageChangeTriggers on both of them then will there not be a small time where one of them can run another version then the other? | |
Any alternate way of doing this? What we have though about is: | |
- seperate the versioning of the two parts of the application. However for us this does not feel natural. The application is developed as a whole, and splitting up the slim backend-for-frontend and the frontend itself is not nautral | |
- create a container with both nginx and nodejs/express in it. Not a good solution either since we have to maintain baseimage and it does not "feel" right. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't use image change triggers but use a pipeline to orchestrate the updates