-
Notifications
You must be signed in to change notification settings - Fork 57
Need to pre-pull images required for 'java-maven' Che 7 devfile used on che.openshift.io and compare workspace startup time with non-prepulled devfiles #1428
Comments
If we mean pre-pull via k8s image puller, we'd need some work on that side. Currently there's a limit to how many images it can work on ( |
@l0rd looks like we have no capacity for this task in the next sprint. Are you ok if we will work on it after GA release (according to the metrics workspace startup is relatively fast atm, so optimization is not crucial atm) |
What does it mean 5Mi? |
@ibuziuk I am ok with postponing that |
The minimum memory request/limit for kubernetes containers is 5 Mebibytes. Since the containers started by a daemonset belong to a single namespace, this can cause problems. E.g. The solution to this would likely be grouping containers into daemonsets that will fit and removing them once they are ready. As long as the daemonsets are started frequently enough the images should always be cached [1]. The other thing that would need investigation is how many images can be stored in the cache; if caching the 21st image means dropping the 1st, then we would have to think about prioritization. [1] - This is probably a good idea to implement regardless, since without manual intervention I don't think a daemonset will rollout new images when they are pushed. |
I've added a parameter to the template so that we can control replicas of this pod in different environments |
blocked by #1549 |
PR updating devfiles to be cached has been merged. The current list is
The image puller is currently only running on prod-preview and caching images in cluster 2a (and is still out of date since we need to rollout a new deployment). Since these images are used for Che 7.0.0 workspaces, we likely need to wait for 7.0.0 rollout to get meaningful data from production. |
@amisevsk since prod has been updated could we close this issue now (e.g. for analyzing the data between pre-pulled & non-pre-pulled devfiles)? |
@ibuziuk The pre-pull part of the issue is completed but I left it open because part of the task is comparing pulled and non-pulled times. I think we could likely do this for prod-preview now, since 7.0.0 is available there. If you think the comparison should be handled in a separate issue, feel free to close and open a followup. |
makes sense let's add it to the next sprint and do comparison once Hosted Che is updated to GA |
The current plan for testing this is
The only concern with this approach is if there are any shared layers between 7.0.0 and 7.1.0 images, we might show less of an effect than otherwise; there's no real way around this though, since we can't easily control the images used in workspaces (apart from the main container). |
All done, email sent out to mailing lists. |
Potential candidates from e2e happy path - eclipse-che/che#12728
I believe this list needs to be reconsidered and updated:
The text was updated successfully, but these errors were encountered: