Skip to content
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

Open
NickLagogiannis opened this issue Nov 29, 2024 · 1 comment

Comments

@NickLagogiannis
Copy link

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?

@jfaltermeier
Copy link
Contributor

Hi,

This is up by the application developer. You can specify where the persisted workspace storage is attached for each application using mountPath in your AppDefinition:
https://theia-cloud.io/documentation/addapplication/#add-an-app-definition
You need to ensure that extensions are included in the workspace. This can be done, for example, by mounting the workspace directly as the home directory or by configuring your application/Theia instance to use a different directory to store the extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants