-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code extensions installed at runtime lost after session pod expires. #83
Comments
Hi, This is up by the application developer. You can specify where the persisted workspace storage is attached for each application using |
Hello, I changed the mountPath from "/home/project/persisted" to "/home" in my AppDefinition using the command: kubectl edit appDefinition theia-cloud-demo At first, I didn't notice any change, so I checked the deployment file of my session pod and it hasn't changed yet. Later, when the session had expired, I tried to log in using my credentials, I clicked on Launch Theia Blueprint and it was stuck in the launching message. I checked the deployment file to see if anything had changed (now the mountPath has also changed in the deployment) and then the pod at my session pod Status was "Error" ( a little later changed to "CrashLoopBackOff" ). The logfile also has the following message: Error: Cannot find module '/home/theia/applications/browser/lib/backend/main.js' It seems that when the mountPath affects the deployment file, I lose some internal files and the pod is crashing. |
In Kubernetes, the volume mounted at the mount path will override any data in the image/container with the contents of the persistent volume. |
Greetings to everyone,
We followed the https://main--theia-cloud.netlify.app/documentation/setuptheiacloud/ to install theia cloud through helm and it's working. Even though, we have modified the values.yaml at theia-cloud helm chart to have persisted storage (set ephemeral storage to false ), this option is applied only to the "home/project/persisted" folder inside the container.
When we try to install a vs code extension from the marketplace, the extension is installed until the session ends, after we login again, a new pod is created, so every installation is lost.
Is there any option to keep the installed vs code extensions persisted after the new session pod?
Can I edit values.yaml file to achieve that and what do I need to configure?
The text was updated successfully, but these errors were encountered: