question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add offline flag to chectl server:start

See original GitHub issue

Is your enhancement related to a problem? Please describe.

We are making some changes to make it possible to run Che offline. But there is not chectl “offline” flag to automatically set this up.

Describe the solution you’d like

Add flag --offline to the chectl server:start that should:

  • pull all images locally
  • set imagePullPolicy to Never

The deployment of Che should not be blocked while downloading the images: deployment and image pulling should happen in parallel.

If Che is already deployed the command should pull all the images and change the image pull policies (if needed).

Additional context

The images that need to be pulled are the default images for the given version of chectl (e.g. nightly/latest/7.x.y):

  • che server
  • keycloak, postgres and jwt-proxy (if multi-user mode)
  • plugin registry (offline version)
  • devfile registry
  • plugins sidecars
  • plugin broker
  • devfile registry stacks images

Subtasks

Minor tasks

  • Add github action to push image-copier to quay.io automatically
  • Sometimes skopeo failed to copy images with timeout i/o error

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

3reactions
nickboldtcommented, Jun 25, 2020

get very large due to old versions

Well, you could delete the old stuff from time to time. Why are we hoarding old versions we don’t support?

1reaction
tolushacommented, Apr 20, 2020

@amisevsk I need offline versions of devfile and plugin registries. I am wondering If it make sense to build and push to quay.io them along with theirs online version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to bring up Eclipse che on Kubernetes - Stack Overflow
I got Kubernetes installed on Ubuntu and am trying to run chectl server:start but it is failing. What am doing wrong?
Read more >
Deliverable D2.5 RADON Adoption Handbook
This allows developers to add their own tool-specific agents and ... chectl server:start --platform=k8s --multiuser ...
Read more >
Running Eclipse Che on Kubernetes using Docker Desktop ...
It will open Eclipse Che in your favorite browser automatically with the right URL. Then create a workspace by clicking on Add Workspace...
Read more >
Untitled
When starting a RHEL 8 virtual machine it goes into emergency mode with the following message in the ... Start the VNC server....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found