Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
docs(fleets): clarify Terraform sizing modes (#3057)
r33drichards3591a81749e9
diff --git a/docs/content/docs/how-to-guides/(fleets)/configure-run-cua-fleets.mdx b/docs/content/docs/how-to-guides/(fleets)/configure-run-cua-fleets.mdxindex effafa8206..2244d9a234 100644--- a/docs/content/docs/how-to-guides/(fleets)/configure-run-cua-fleets.mdx+++ b/docs/content/docs/how-to-guides/(fleets)/configure-run-cua-fleets.mdx@@ -43,6 +43,17 @@ export CYCLOPS_ENDPOINT="https://run.cua.ai"export CYCLOPS_ACCESS_TOKEN="<your-access-token>"```+## Choose a sizing mode++Every `fleets_pool` must configure exactly one sizing mode:++- Set `replicas` for a static warm-pool target and omit `autoscaling`.+- Set an `autoscaling` block for claim-driven scaling and omit `replicas`.++In autoscaling mode, do not configure `replicas`; after apply and refresh it+reports the current pool target. If you later switch to static mode, review the+plan because the pool will use the `replicas` value you configure.+## Create a Linux fleetCreate a new directory, save this as `main.tf`, and choose a unique lowercase@@ -64,7 +75,6 @@ provider "fleets" {resource "fleets_pool" "linux" {name = "linux-fleet"- replicas = 0cpu_cores = 4memory = "8Gi"container_disk_image = "296062593712.dkr.ecr.us-west-2.amazonaws.com/desktop-workspace-duo:main-38352d34"@@ -86,9 +96,11 @@ resource "fleets_pool" "linux" {output "linux_fleet" {value = {- name = fleets_pool.linux.name- namespace = fleets_pool.linux.namespace- phase = fleets_pool.linux.phase+ name = fleets_pool.linux.name+ namespace = fleets_pool.linux.namespace+ target_replicas = fleets_pool.linux.replicas+ current_replicas = fleets_pool.linux.current_replicas+ ready_replicas = fleets_pool.linux.ready_replicas}}```@@ -115,7 +127,6 @@ provider "fleets" {resource "fleets_pool" "windows" {name = "windows-fleet"- replicas = 0cpu_cores = 4memory = "4Gi"container_disk_image = "296062593712.dkr.ecr.us-west-2.amazonaws.com/cua-server-windows:latest"@@ -145,9 +156,11 @@ resource "fleets_pool" "windows" {output "windows_fleet" {value = {- name = fleets_pool.windows.name- namespace = fleets_pool.windows.namespace- phase = fleets_pool.windows.phase+ name = fleets_pool.windows.name+ namespace = fleets_pool.windows.namespace+ target_replicas = fleets_pool.windows.replicas+ current_replicas = fleets_pool.windows.current_replicas+ ready_replicas = fleets_pool.windows.ready_replicas}}```@@ -168,9 +181,9 @@ terraform output````terraform init` uses the locally built provider and must not resolve-`trycua/fleets` from the public Registry. The provider returns `namespace`,-`phase`, `total_count`, `available_count`, and `claimed_count`. A ready fleet-has available sandboxes after its warm pool provisions.+`trycua/fleets` from the public Registry. The provider returns the backing `namespace` and template name, the live+`replicas` target, and the `current_replicas` and `ready_replicas` status counts.+A ready fleet has at least one ready sandbox after its warm pool provisions.Destroy the pool when finished. This deletes both the pool and its same-namednamespace: