On minikube, not able to start a workspace with che installed with chectl next
See original GitHub issueDescribe the bug
On a minikube cluster, I’m not able to start a workspace with Che installed with chectl next due to the workspace pod terminating:
I’m not able to reproduce this issue on an OpenShift environment.
Che version
next (development version)
Steps to reproduce
- Start a minikube cluster:
minikube start --addons=ingress --vm=true --cpus=4 --memory=16384
- Deploy che with chectl next channel:
chectl server:deploy -p minikube
-
After installation is complete, open the Che dashboard and start any sample project.
-
The workspace does not start. The workspace pod terminates due to a failing init container:
remote-runtime-injector
:
$ kubectl get event --namespace admin-che --field-selector involvedObject.name=workspace63360a48062b4ea8-b548f9cd8-p8nqp
LAST SEEN TYPE REASON OBJECT MESSAGE
5s Normal Scheduled pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp Successfully assigned admin-che/workspace63360a48062b4ea8-b548f9cd8-p8nqp to minikube
4s Normal Pulling pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp Pulling image "quay.io/eclipse/che-theia-endpoint-runtime-binary:next"
4s Normal Pulled pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp Successfully pulled image "quay.io/eclipse/che-theia-endpoint-runtime-binary:next" in 428.49452ms
3s Normal Created pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp Created container remote-runtime-injector
3s Normal Started pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp Started container remote-runtime-injector
3s Normal Killing pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp Stopping container remote-runtime-injector
1s Normal Killing pod/workspace63360a48062b4ea8-b548f9cd8-p8nqp Stopping container remote-runtime-injector
Expected behavior
The workspace pod should not terminate. The workspace should start and the editor should open.
Runtime
minikube
Screenshots
No response
Installation method
chectl/next
Environment
macOS
Eclipse Che Logs
No response
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Unable to start a workspace on fresh minikube/che install [v7 ...
Describe the bug I've created a local minikube cluster following the documentation, and deployed che to it using chectl.
Read more >Installing Che on Minikube - Eclipse
Installing Che on Minikube · Verify the Che instance status: $ chectl server:status · Navigate to the Che cluster instance: $ chectl dashboard:open....
Read more >Standalone single-user Eclipse Che instance on Windows 10 ...
It is used for operations on the Che server (start, stop, update, delete), on workspaces (list, start, stop, inject) and to generate devfiles....
Read more >Exposure of Eclipse-Che - kubernetes ingress - Stack Overflow
It's being deployed via minikube and chectl . Steps to recreate: ... Eclipse Che 'next' has been successfully deployed.
Read more >Running Eclipse Che on Ubuntu with Minikube - Stian Lågstad
They thought in the future no one would own a "computer". ... The things we need are VirtualBox, kubectl, minikube, helm, and chectl....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I cannot reproduce this issue on chectl next anymore after the DWO update on che-operator, but I experience this issue on chectl stable (Che 7.51) on minikube.
A temporary workaround that I’ve used to get workspaces starting on minikube with Che 7.51 was to update DWO by running:
Hi @tolusha thank you for the reminder, we can close this issue