-
Notifications
You must be signed in to change notification settings - Fork 51
Need to carry out a test in order to get information about the time required for pod startup if image streams from the user namespace are used in deployment configs created in *-che namespace #1084
Comments
I've tested using image streams to launch Che 6 (centos_jdk8) and Che 7 workspaces: SetupImageStreams can be created via e.g.
This creates ImageStreams that can be used in place of normal image tags. Notably, they can be used with Kubernetes Deployments without making any changes (i.e. a DeploymentConfig is not necessary). Che 7Since many of the images used in Che 7 workspaces come from the plugin registry, to save time I manually updated a Che 7 deployment (obtained via Che 6I tested 30 workspace starts, using Note the area we're interested in is at the far left -- those are the fast pulls, which for Che 6 workspaces are in the 300-400 ms range. For the ImageStream case, I had 8/30 fast pull starts, compared to 15/30 for the quay.io image case. This difference (if caching is the ultimate cause as we suspect) is probably just because I ran the ImageStream case first. ConclusionThere doens't seem to be any meaningful difference between the cases, so I would lean towards putting off further work here unless we get a more compelling reason to look into it, as maintaining ImageStreams in every user's namespace could be a fairly large burden (and I've had issues with ImageStreams and kubernetes-client in the past). Same chart as above, but on a log scale: |
@amisevsk thanks for detailed document. The only thing that I am wondering is that @l0rd @jfchevrette were suggesting that image streams should be created in |
My initial idea was to create the imagestreams in a single new namespace, such as |
@ibuziuk Yeah, these ImageStreams were created in the same namespace as the workspace (i.e. |
@jfchevrette @l0rd during the tests that @amisevsk carried out it looks like there is no sufficient differences between usage of images vs imagestreams. Do you think we should continue investigation in this direction ? @jfchevrette by the way does |
Closing. Please, reopen if we should consider to continue investigation of potential switch to image streams |
This test can be carried out on any oso starter cluster and requires:
The text was updated successfully, but these errors were encountered: