gitpod-io / openvscode-server

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
https://www.gitpod.io/
MIT License
4.85k stars 422 forks source link

Develop using OpenVSCode and a remote container #481

Open eldad87 opened 1 year ago

eldad87 commented 1 year ago

I would like to use OpenVSCode for cloud development in a microservices-orianted environment.

I was thinking on the following architecture/setup:

  1. Use K8s as the runtime environment.
  2. OVSC & Dev pods to run using dedicated/separated pods (Not sidecars).
  3. Code sharing is done via NFS, syncthing, etc LKwlI

The documentation are showcasing a setup of OVSC that operate/run as the Dev pod itself. While running as described above (IDE & Dev pods running on a separated pod), I noticed that dev-related libraries/missing (e.g. Golang packages) are not available as they are installed on the dev pod, etc: 7Zviw

Q:

  1. What is needed in order to support such a setup?
  2. Is it possible to init OVSC in such a way that it will execute commands/open the terminal on a remote container as default?

Thanks!