eclipse-theia / theia-cloud-helm

Eclipse Public License 2.0
6 stars 7 forks source link

Add configurable image preloading #56

Closed lucas-koehler closed 7 months ago

lucas-koehler commented 7 months ago

Extends the main chart to facilitate preloading images on all nodes via a daemon set. This increases startup performance on nodes which did not contain a session because the application image will already be present.

All images configured in the values are preloaded. One special case is handled: If no images are configured (the default) but image preloading and the demo application are both enabled, the demo image is still automatically preloaded.

Testing

You can test this with the terraform test configurations. Beware that the 0.11.0-next application image is not published yet. Thus, you need to set it back to 0.10.0-next for the image pre-pull to work.

I tested the automatic pulling of the demo image on minikube. Inserting of manually configured images was "only" tested using helm template.

lucas-koehler commented 7 months ago

Force-push only rebased onto main and added missing changelog entry