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

Custom Agent, Kubernetes and other compute

Open LamaAni opened this issue 1 year 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

Hi, We don't have a generic interface to create your own custom agent role via webhooks.

However Kasm Workspaces can be deployed across multiple Deployment Zones ( https://kasmweb.com/docs/latest/guide/zones/deployment_zones.html#deployment-zones) which in your case might mean one Zone in AWS, another in GCP, another on prem.

We have AutoScale providers with can automatically provision our Docker Agent role and aribitrary VMs (E.g Windows machines) in various cloud providers and hypervisors like vSphere, OpenStack and coming in the next version Harvester HCI & Kubevirt. You can configure the system to create a standby pool of Agents/VMs, schedule them to scale up according to schedules or create machines fully on demand . https://kasmweb.com/docs/latest/guide/compute/pools.html

j-travis avatar Aug 22 '24 20:08 j-travis

We’re currently enhancing our GitHub issue tracker to improve organization and efficiency.

As part of this process, we’re closing older issues to help keep the tracker focused on current and active topics.

If this issue is still relevant or you’re still experiencing the problem, please feel free to create a new issue.

Thank you for your understanding!

teja-kasm avatar Oct 14 '25 17:10 teja-kasm