workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

Custom Agent, Kubernetes and other compute

Open LamaAni opened this issue 6 months ago • 1 comments

Hi All,

First time here :)

For a project I am doing, I want to create and provision my own instances as a response to user selection. These instances need to be provisioned when the user selects the instance type - much like the behavior of the docker agent. In general, we would need to provision machines on,

  1. Cloud compute (AWS, GCP.. etc)
  2. Windows machines.
  3. Kubernetes pods.
  4. Docker containers.
  5. Podman (We are considering it).

I was wondering if there was a way to create a "custom" agent, one which accepts a webhook and would return a running machine and the container status to workspaces. In this project we require making custom provisioning. Agent would provide,

  1. Status
  2. Machine details.
  3. Actions (Delete, create, etc)
  4. Other requirements...

E.g. the workflow would be,

  1. User selects the container/machine type
  2. A webhook is sent to the agent to create the machine,
  3. Agent returns with status running
  4. User sees machine provisioned or error, and can start working.

LamaAni avatar Aug 20 '24 21:08 LamaAni