-
Notifications
You must be signed in to change notification settings - Fork 16
Support for workspaces with multiple agents #2
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
Comments
fioan89
added a commit
that referenced
this issue
Jun 28, 2022
- the hostname for the connection is `coder.WorkspaceName` if there is at most an agent. - whereas if there are multiple agents, the hostname becomes `coder.WorkspaceName.AgentName` - the OS and Arch are also retrieved from the agent. - removed specific Linux distribution icons - refactored the utilities around OS&Arch resolving - resolves #2
fioan89
added a commit
that referenced
this issue
Jun 28, 2022
…aces Impl support for multi agent workspaces - add REST models for Workspace agents - add REST calls to retrieve the workspace resources - use custom exception & add docs - refactor: return the agents instead the full list of resources - add new icons for win/mac - add new view model for workspace - UI needs to present a combination of properties from two data models (Workspace and WorkspaceAgent) - implement support for workspaces with multiple agents - the hostname for the connection is `coder.WorkspaceName` if there is at most an agent. - whereas if there are multiple agents, the hostname becomes `coder.WorkspaceName.AgentName` - the OS and Arch are also retrieved from the agent. - removed specific Linux distribution icons - refactored the utilities around OS&Arch resolving - resolves #2 - use agent's OS and Arch to determine the supported Jetbrains products - the mechanism to determine the supported jetbrains products based on OS/Arch uses the os/arch properties from the agent data models. - if that is missing we fall back on the old way which opens an SSH connection and runs a few unix commands to determine the properties
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A workspace in Coder V2 is a collection of various things. It could be a single VM, or it could be multiple VMs, containers, cloud DBs, etc. It all depends on the template. However, agents only run on compute hosts like VMs or containers, and they are what you can SSH into.
If there is more than one agent, then the user has to decide which one they want to run JetBrains from.
The text was updated successfully, but these errors were encountered: