Assign clusters and environments
Use clusters and environments to decide where governed calls run and who can configure them. DVARA is an AI gateway that governs model, tool and agent-to-agent calls; Flightdeck distributes configuration only to the clusters assigned to the relevant environments.
Not included in DVARA Open Source. AgentWorks and MCPWorks are Tech preview.
Register a Gateway cluster
There is no default Gateway cluster in 1.15.0. For a Compose installation using shared-secret enrolment, add these settings to your existing services:
services:
dvara-flightdeck:
environment:
DVARA_FLIGHTDECK_CLUSTER_NAME: main
DVARA_FLIGHTDECK_CLUSTER_TAG: prod
dvara-gateway:
environment:
DVARA_DATA_PLANE_CONTROL_PLANE_CLUSTER: main
DVARA_DATA_PLANE_PUBLIC_URL: http://dvara-gateway:8080
This is an override, not a complete deployment. Keep the database, secrets, enrolment connection and durable volumes from the Docker installation. Set the reported URL to an address reachable by Flightdeck and the runtimes that will call this Gateway.
Flightdeck registers the named Gateway cluster at startup if it does not exist. An existing cluster is left unchanged. Both registration settings are unset by default; the optional tag accepts dev, stage, prod or an empty value. Removing the cluster in the UI does not remove the startup setting: it will be registered again on the next start.
Alternatively, an owner creates the cluster in Runtime → Clusters and uses its displayed ID in the Gateway setting. Check that ID when adopting an existing cluster rather than assuming its name is its ID.
Give an environment to a workspace
Creating a cluster creates one environment with the same name and product type. A cluster's type is Gateway, AgentWorks or MCPWorks and cannot be changed. The environment's kind distinguishes development, staging and production.
- Open Runtime → Environments as an
owner. - Give the environment to the workspaces that should use it.
- Assign each member the appropriate role for that environment.
- Select that environment when configuring keys, limits, credentials, routes and settings.
A workspace with no environment cannot issue a usable Gateway key. A key reaches only the Gateway cluster serving its environment. Workspace administrators do not create or delete environments. Teams group workspaces; moving a workspace between teams does not move its environments.
The owner can move an environment to another cluster of the same product type. Review the destination's runtimes and configuration before moving production traffic. This changes where that environment's configuration is delivered; it does not turn one product type into another.
Enrol runtimes into the intended cluster
Each cluster has a registration token. Copy it when the cluster is created or the token is regenerated: Flightdeck shows the full value only then. Later the page shows a preview and its creation and last-use times.
The token is reusable and has no expiry until regenerated. Each runtime exchanges it for its own certificate and renews that certificate itself. Regenerating the token prevents new enrolments with the previous token; it does not revoke certificates already issued. Revoke the runtime separately when it must stop participating.
A Gateway enrolling with a shared secret must set DVARA_DATA_PLANE_CONTROL_PLANE_CLUSTER. A Gateway using a cluster registration token can take its cluster from that token; an explicitly configured, conflicting scope is refused.
| Refusal | What to check |
|---|---|
cluster_required | Shared-secret enrolment omitted the cluster setting. |
cluster_unknown | The configured ID does not identify a registered Gateway cluster. |
scope_mismatch | The configured scope disagrees with the registration token. |
Bundle request returns 403 | Check the certificate's cluster scope. Old certificates without a cluster must be replaced through enrolment. |
See AgentWorks enrolment and MCPWorks cell enrolment for their runtime settings.
Choose providers for a cluster
Traffic → Providers holds the installation's provider catalogue. On a Gateway cluster's page, choose which providers that cluster can use. Providers are on by default, including the Turn on new providers option.
Cluster overrides cover the provider base URL, supported provider region and Azure API version. Provider credentials are configured separately. Gateway process settings take precedence over catalogue values. A saved change reaches a Gateway through its next configuration bundle, not by editing the running process.
Read status from runtime reports
Open a cluster to inspect its runtimes, reported health and configuration state. Flightdeck receives runtime reports; it does not poll runtime addresses for these status panels. A runtime that stops reporting is shown as silent after two minutes.
An owner can drain or revoke AgentWorks runtimes and revoke MCPWorks cells from their cluster page. A revoked cell can no longer authenticate. These controls are separate from rotating the cluster registration token.
The Gateway's DVARA_DATA_PLANE_PUBLIC_URL is still needed for callers such as the Playground. Status reporting does not prove that this address is reachable. The old DVARA_FLIGHTDECK_GATEWAY_URL setting is retired.
Share an agent or MCP server with another workspace
Use Grants to let another workspace use an AgentWorks agent or MCPWorks server without copying its deployment. The source and recipient must belong to the same account and use environments of the same kind and product type. Gateway environments are not grant targets.
A workspace administrator creates or withdraws a grant; developers and viewers can inspect grants. Access is checked again when used. A grant no longer authorizes access if its account or environment relationship no longer qualifies.
Agent access is closed by default. A platform role alone is not permission to run an agent. The caller needs the applicable workspace access or grant. A business user signing in through a workspace's staff identity provider is bound to that workspace; a claim naming another workspace does not grant access to it.
Verify before sending production traffic
Confirm the cluster and environment assignment, then enrol a runtime and check that its reports appear on that cluster. Create a key in the assigned Gateway environment and send the quickstart request. Check its response and audit record. Also test a key from an unassigned environment: it must not become usable merely because the Gateway is healthy.