Networking
Give users and clients an HTTPS endpoint, then configure the routes and public URLs to match it.
Public URLs and Ingress
Route gateway traffic directly to the backend, and keep the web app and sign-in on the frontend.
- Configure DNS and TLS for your Archestra host.
- Set
ARCHESTRA_to the public UI URL andFRONTEND_ URL ARCHESTRA_to every public backend or gateway URL. API base URLs accept a comma-separated list. UseAPI_ BASE_ URL https://even when TLS terminates at a load balancer. - Route
/v1and/v2withpathType: Prefixand/openapi.jsonwithpathType: Exactto backend port 9000. Route/to frontend port 3000. Keep/api/authon the frontend. - Connect a client through the public endpoint and test a streaming model request and an MCP tool call.
The chart applies this split for archestra.ingress.hosts when archestra.ingress.routeBackendApisDirectly is enabled, preserving explicitly configured routes. A complete archestra.ingress.spec or external routing layer must apply it explicitly. Include this path in each combined UI/API host's rules, replacing the service name with your release's service:
- path: /openapi.json
pathType: Exact
backend:
service:
name: my-release-archestra-platform
port:
number: 9000
Terraform model-pool writes check this endpoint before sending changes. Verify curl -i https://archestra.example.com/openapi.json returns HTTP 200 and an OpenAPI JSON document. If this returns HTML or a 404, check that the exact path routes to the backend.
Gateway OAuth discovery uses the configured public URLs. An unconfigured host falls back to the request scheme, which can advertise HTTP behind a TLS-terminating proxy. ARCHESTRA_ does not change that rule.
If a reverse proxy requires sign-in, let /connect.md, /llms.txt, and setup endpoints under /api/client-connections and /api/connection-setups/script load without a browser session. Also allow /v1/connection-instructions through; it checks the installation credential and current access itself.
Public Webhook Endpoints
Archestra's web app and APIs can stay on your private network. A few integrations call Archestra from the internet, so expose their webhook paths and nothing else.
| Integration | Path the internet must reach | When |
|---|---|---|
| Microsoft Teams | /api/webhooks/chatops/ms-teams | Always |
| Slack | /api/webhooks/chatops/slack | Webhook Mode only. Socket Mode, the default, needs none. |
| Outlook email | /api/webhooks/incoming-email | Always |
| Jira | /api/webhooks/chatops/jira | Only when you receive webhooks. Polling needs none. |
| Telegram | None | Never |
Expose them in one of these ways:
- Webhook host: give a separate public host an ingress that routes only
/api/webhooksto backend port 9000. SetARCHESTRA_to it, so new Slack apps and the Jira Webhook URL use that host. For Outlook, use the same host inCHATOPS_ WEBHOOK_ BASE_ URL ARCHESTRA_.AGENTS_ INCOMING_ EMAIL_ OUTLOOK_ WEBHOOK_ URL - Teams port:
ARCHESTRA_serves only the Teams endpoint on a port of its own. In Helm, setPUBLIC_ ENDPOINTS_ PORT archestra.publicEndpointsPort, which also adds the port to the Service. - Local instance: set
ARCHESTRA_to open an ngrok tunnel on startup. The tunnel exposes the whole backend API, so use it only for development. For Teams, also setNGROK_ AUTH_ TOKEN ARCHESTRA_: the endpoint registered in Azure breaks when the domain changes.NGROK_ DOMAIN
Streaming Timeouts
Set the ingress response timeout long enough for model responses. If your load balancer's backend idle-connection timeout exceeds Archestra's keep-alive timeout, raise ARCHESTRA_ above it.
MCP Apps Sandbox
Production apps that need persistent browser storage require a sandbox domain. Without one, apps use an opaque iframe origin.
- Choose a domain such as
mcp.example.com. - Create wildcard DNS and TLS for
*.mcp.example.com. - Route that wildcard host to backend port 9000.
- Set
ARCHESTRA_MCP_SANDBOX_DOMAIN=mcp.example.com. - Open an app and confirm it renders through its sandbox host.
Allowed embedding origins follow ARCHESTRA_ and ARCHESTRA_. Local instances use localhost and 127.0.0.1 without a sandbox domain.
Allow Backend Egress
If you restrict the backend's outbound traffic, allow each model provider's endpoint, listed under LLM Provider Configuration. A ChatGPT subscription needs its own hosts.
Enforce Workload Egress
Environment policies require a network dataplane that enforces them. Creating policy objects alone does not isolate workloads.
Domain rules need an FQDN policy provider; plain Kubernetes NetworkPolicy supports IP/CIDR rules only.
| Cluster | IP/CIDR enforcement | Domain enforcement |
|---|---|---|
| EKS Auto Mode | Kubernetes NetworkPolicy, when enabled | AWS ApplicationNetworkPolicy with the Auto Mode Network Policy Controller. DNS rules apply to Auto Mode EC2 workloads. |
| EKS with AWS VPC CNI | Kubernetes NetworkPolicy, when enabled | Not supported outside Auto Mode DNS policies. |
| AKS | Kubernetes NetworkPolicy, when enabled | CiliumNetworkPolicy when its CRD is available. |
| GKE | Kubernetes NetworkPolicy, when enabled | FQDNNetworkPolicy with Dataplane V2 and FQDN policy enabled. |
| Cilium clusters | Kubernetes or Cilium policy | CiliumNetworkPolicy. |
Check your provider's setup: Kubernetes, Cilium, GKE, or EKS Auto Mode. Archestra allows DNS bootstrap traffic only to the discovered cluster resolver. If discovery fails, Auto Mode policies omit that exception; domain lookups can fail until you restore discovery or configure the resolver. See Helm DNS discovery for resolver overrides and the optional Service read grant.
Public internet mode blocks private, metadata, loopback, and reserved destinations. Add only the private ranges a workload needs under Additional allowed CIDRs, or use an allowlist to restrict all outbound access. DNS to a known cluster resolver remains allowed.
Code Sandbox Requirements
Managed Dagger engines need Linux nodes that allow privileged root pods with all Linux capabilities and dynamically provisioned ReadWriteOnce storage. These engines run separately from coding agent containers.
If your cluster cannot admit them, configure an external engine with ARCHESTRA_, or disable the sandbox with ARCHESTRA_CODE_RUNTIME_ENABLED=false or archestra.codeRuntime.enabled: false in Helm.