Regions
A region is a second gateway and optimizer, with its own database, that serves employees close to it. Your existing install stays home: the console, settings, keys and billing live there, and the region copies them. Each employee's Connect sends sessions to the fastest region, or to the one they pick.
Regions run on Kubernetes with the same Helm chart as home. Home can be any install type, and it must exist first: home mints the token a region joins with. On Anyray Cloud, Anyray runs the regions for you.
Add a region
Install a region walks through it: the cluster, its load balancer and
certificate, DNS, then the Secret, the values file and helm install.
Your people's machines
Nobody enrolls again. Enrolled machines pick up the region on their next background refresh, and new enrollments get it at sign-in.
To choose a region, an employee opens the desktop app, goes to Machine, and picks it under Region in the Enrollment card. Automatic goes back to the fastest.

On a machine without the desktop app, run anyray-connect region <region-name>, or
anyray-connect region auto to go back to automatic.
Change settings
Change product settings on home's console only: providers, keys, budgets, caps, sign-in and the optimizer switches. The region copies them within seconds; it has no console of its own.
Change the region's size and shape (replicas, CPU, memory, autoscaling, hostname) in its
my-values.yaml, then upgrade in the region's cluster:
helm upgrade anyray anyray/anyray \
--version <x.y.z> -f my-values.yaml --namespace "$ANYRAY_NAMESPACE"
Chart values: Kubernetes reference.
Updates
Update home first. A region must never run a newer build than home, because home refuses usage rows it cannot read and the region's queue stops until the builds match. A new region pod stays not ready until home has told it home's build and that build is not older than the pod's own, so a region installed or upgraded ahead of home waits while the pods already serving keep serving (reasons).
With image.tag: policy-stable, the region updates itself: every 5 minutes by default its update job sets the
gateway and optimizer to the build home runs, and waits while home is mid-rollout. It follows home
back down after a rollback too. If you pin a fixed tag instead, upgrade home, then set the region to
the same tag. Home's Health page warns when a region runs ahead of it.
Remove a region
On home's Regions page:
Click Drain. New sessions go to other regions.
When Active sessions reads 0, click Close. The region stops taking requests and sends its last usage home.
Wait for Ready to remove, then click Remove while the region still runs: removal needs a fresh report from it.

helm uninstall anyray --namespace "$ANYRAY_NAMESPACE"
kubectl delete namespace "$ANYRAY_NAMESPACE"
Deleting the namespace deletes the bundled Postgres volume. A managed database stays: delete it with your database provider.
Reopen puts a draining or closing region back in service.
When Remove is refused
Rows refused after seal (red) means usage the region recorded after closing never reached home. Only Remove anyway is left. It writes off the savings of the sessions that region served: they stop counting toward the bill, and billing for everything else continues.
Erase pending means the region has not applied an erase request and home cannot reach it. Stop the region's gateway and delete its database first, then confirm that in the Remove anyway dialog.