- Notifications
You must be signed in to change notification settings - Fork6.1k
Coder v2: Mange multiple workspaces, IDEs, and users#5140
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
We're building on an open-source project to manage many remote workspaces. Edit: It is now live onhttps://github.com/coder/coder Features:
The project is still early and feedback is welcome. Feel free to say hion Discord and share your use cases. |
BetaWas this translation helpful?Give feedback.
All reactions
😄 1🎉 2❤️ 1🚀 34👀 22
Replies: 8 comments 41 replies
-
Feel free to comment here if you have any questions too. Here's another example that provisions multiple containers as a "workspace" for microservice development: |
BetaWas this translation helpful?Give feedback.
All reactions
-
BetaWas this translation helpful?Give feedback.
All reactions
-
Congratulations on the new project announcement! Small nitpick: |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Yikes, good find! I'll update that right away. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Something interesting is those values are editable by the admin, not a Coder-specific feature. So the admin can decide what resources/infrastructure the developers can spin up. We're still looking at ways to make that more close |
BetaWas this translation helpful?Give feedback.
All reactions
-
Does that imply easy extensibility regarding various hosting providers (niche cloud providers, private cloud)? That would be really interesting to see. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Correct - workspaces are defined via TF so anything in theTerraform registry can be automatically be provisioned by Coder. With that being said, non-supported cloud providers can also be used as long as you start the Coder agent on the resource with a valid token :) |
BetaWas this translation helpful?Give feedback.
All reactions
👀 1
-
|
BetaWas this translation helpful?Give feedback.
All reactions
-
Congratulations on the new announcement! 🖤 |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
-
How can you install Coder Server on a Raspberry Pi? If that's possible, I can use my own dev machines than pay for GCP. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yep! You could do it via Kubernetes or manually running the agent on each pi :) |
BetaWas this translation helpful?Give feedback.
All reactions
-
Well, I have one 8 GB Pi4B, so if I gain early access, I can run the Coder agent via that and access it on Windows 7 via Coder CLI? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Correct. I have a few raspberry pis so I'll see if I can get a demo up in the docs soon |
BetaWas this translation helpful?Give feedback.
All reactions
-
10-4. I gave my name for joining! |
BetaWas this translation helpful?Give feedback.
All reactions
-
Can I install it in npm? |
BetaWas this translation helpful?Give feedback.
All reactions
-
|
BetaWas this translation helpful?Give feedback.
All reactions
-
W. T. H. Maybe you have to ask@bpmct about this. It could be possible to build on FreeBSD if the packages are good and system requirements are met, and Nix is a universal package manager, seems like it isn't made for FreeBSD yet. I think there could be more workarounds on this. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Who's requirements are being met? |
BetaWas this translation helpful?Give feedback.
All reactions
-
The system requirements. If it meets a set requirement of RAM, storage and CPU cores, it can run on your system. |
BetaWas this translation helpful?Give feedback.
All reactions
-
coder/coder#4516 |
BetaWas this translation helpful?Give feedback.
All reactions
This comment was marked as spam.
This comment was marked as spam.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Possible to run 1 instance of
I'm not sure what this feature is called, wasn't able to find anything useful with "edit like github" |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
@code-asher thanks for the explanation, now I understand the design concerns. And I gave it some thought.
Thank you. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Alternatively, is there a way to start code-server instances on demand when loading via URL? Ultimately my concern with multiple instances boils down to optimizing server resources. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Good point on the permissions! That could balloon fast. We could try to mitigate that by using native permissions and users but that might only work well on Linux. On point 3 do you mean creating multiple users on the system vs a single user? It could be nice to have a user on the system for each developer to prevent them from accessing each other's files, settings, processes, etc. That would also let you control who can use Is the idle resource usage of code-server pretty high? I think we only start Code when a request is made so I would expect it to be fairly low but we might have a bug there. When disconnected Code should stop extensions and eventually stop terminals so resource usage should be fairly low there as well but again there could be bugs or maybe it is not well optimized. We might also have leaks somewhere. If you want to start code-server itself on demand I think you will have to write something to do that. I have seen some people around here say they wrote their own but no one has shared code yet as far as I remember. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Is there a way to run |
BetaWas this translation helpful?Give feedback.
All reactions
-
Cross-posting in case someone finds this and wants to know the answer:#5856 |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
What's funny is the README saysjoin us on Slack 😂 |
BetaWas this translation helpful?Give feedback.
All reactions
-
Good point, we should probably remove that. I think the Slack channel is more or less dead. I never check it, at least. 😛 I am not on Discord much either though. |
BetaWas this translation helpful?Give feedback.