Kubernetes Deployment
This page describes 1.14.0. Before upgrading, select the newer documentation version and follow Upgrade DVARA: 1.15.0 requires explicit Gateway clusters and workspace environment assignments.
Deploy DVARA on Kubernetes with the official Helm chart.
Prerequisites
- Kubernetes 1.28+
- Helm 3.8 or later (needed to install the chart from an
oci://registry) kubectlconfigured for your cluster- A reachable PostgreSQL 14+ instance for Flightdeck (the chart does NOT bundle PostgreSQL — see Give Flightdeck its database below). From 1.8.2 the gateway has no database: only Flightdeck connects to PostgreSQL and migrates it, and gateways get their configuration from Flightdeck as a signed bundle. See How the gateway runs without a database.
- A DVARA licence envelope (
DVARA-…prefix) only for Enterprise production rights and support. You can add it later on Flightdeck's License page; see Licensing.
Quick Start
Mint the operational secrets first. Add the licence key when the deployment needs Enterprise production rights, and the PII token password when a workspace uses pii.action=TOKENIZE:
# Operational secrets, plus an optional licence envelope and PII token password
export DVARA_LICENSE_KEY="DVARA-…" # optional: copied into Flightdeck once
export ACTUATOR_API_KEY=$(openssl rand -base64 32) # operator Bearer for gateway status and Enterprise licence health
export METRICS_API_KEY=$(openssl rand -base64 32) # DISTINCT Bearer for /actuator/prometheus
export ENCRYPTION_PASSWORD=$(openssl rand -base64 32) # AES-256-GCM key for ENCRYPTED-mode credentials
export AUDIT_HMAC=$(openssl rand -base64 32) # signs audit-chain envelopes
export ENROLMENT_SECRET=$(openssl rand -base64 32) # gateways enrol with Flightdeck by it
export PII_TOKEN_PASSWORD=$(openssl rand -base64 32) # optional: Flightdeck seals PII token keys with it (TOKENIZE)
The chart generates the enrolment secret on install if you leave it empty, and keeps it across
upgrades. Set it explicitly when you render with helm template or Argo CD, which cannot read the
existing value back.
Give Flightdeck its database
Put the PostgreSQL connection in a values file. It goes on Flightdeck only: from 1.8.2 a gateway
refuses to start with a database configured, and helm upgrade refuses a values file that gives
the gateway SPRING_DATASOURCE_* through llmGatewayServer.extraEnv.
# db-values.yaml
flightdeck:
extraEnv:
- name: SPRING_DATASOURCE_URL
value: jdbc:postgresql://<postgres-host>:5432/dvara
- name: SPRING_DATASOURCE_USERNAME
value: dvara
- name: SPRING_DATASOURCE_PASSWORD
valueFrom:
secretKeyRef:
name: dvara-db
key: password
From OCI Registry (recommended)
Pre-built images and the Helm chart are published to GitHub Container Registry:
helm install dvara oci://ghcr.io/dvarahq/charts/dvara \
--version 1.14.0 \
--set secrets.enterpriseLicenseKey="$DVARA_LICENSE_KEY" \
--set secrets.llmGatewayServerApiKey="$ACTUATOR_API_KEY" \
--set secrets.gatewayMetricsApiKey="$METRICS_API_KEY" \
--set secrets.gatewayEncryptionMasterPassword="$ENCRYPTION_PASSWORD" \
--set secrets.auditHmacSecret="$AUDIT_HMAC" \
--set secrets.enrolmentSharedSecret="$ENROLMENT_SECRET" \
--set secrets.piiTokenEncryptionMasterPassword="$PII_TOKEN_PASSWORD" \
--set secrets.mockProviderEnabled=true \
-f db-values.yaml
# Wait for pods to be ready
kubectl rollout status deployment/dvara-server # statefulset/dvara-server when llmGatewayServer.persistence.enabled is on
kubectl rollout status deployment/dvara-flightdeck
# Verify
kubectl port-forward svc/dvara-server 8080:8080 &
curl http://localhost:8080/actuator/health
{"status": "UP", "groups": ["liveness", "readiness"]}
That is the whole body, and it is deliberate: management.endpoint.health.show-details is
when-authorized, so an anonymous caller — which is what a probe and a curl both are — gets the
verdict and nothing else. Per-indicator detail would expose cluster and pool internals. If you need
it, authenticate; if you are debugging a pod that will not become ready, use
/actuator/health/readiness and the pod's logs rather than expecting more here.
From Local Chart
Same secret arguments and database values, pointing at a local chart directory:
helm install dvara charts/dvara/ \
--version 1.14.0 \
--set secrets.enterpriseLicenseKey="$DVARA_LICENSE_KEY" \
--set secrets.llmGatewayServerApiKey="$ACTUATOR_API_KEY" \
--set secrets.gatewayMetricsApiKey="$METRICS_API_KEY" \
--set secrets.gatewayEncryptionMasterPassword="$ENCRYPTION_PASSWORD" \
--set secrets.auditHmacSecret="$AUDIT_HMAC" \
--set secrets.enrolmentSharedSecret="$ENROLMENT_SECRET" \
--set secrets.piiTokenEncryptionMasterPassword="$PII_TOKEN_PASSWORD" \
--set secrets.mockProviderEnabled=true \
-f db-values.yaml
For any deployment past initial smoke-testing, move these into a values file (or an externally-managed Secret via secrets.existingSecret) rather than passing on the command line.
The Enterprise applications boot without enterpriseLicenseKey in the Development posture, with every plane serving. The actuator chain returns 401 on authenticated endpoints if its API keys are unset. ENCRYPTED credential storage fails without the encryption master password. The audit chain refuses to write on a production-class profile if its HMAC secret is unset or still uses the public development placeholder.
Installing with Provider Keys
helm install dvara oci://ghcr.io/dvarahq/charts/dvara \
--version 1.14.0 \
--set secrets.auditHmacSecret="$AUDIT_HMAC" \
--set secrets.providerKeys.openai=sk-... \
--set secrets.providerKeys.anthropic=sk-ant-... \
-f db-values.yaml
Or use a values file:
# my-values.yaml
secrets:
auditHmacSecret: "<output of openssl rand -base64 32>"
providerKeys:
openai: sk-...
anthropic: sk-ant-...
gemini: AIza...
helm install dvara oci://ghcr.io/dvarahq/charts/dvara --version 1.14.0 \
-f my-values.yaml -f db-values.yaml
The chart's default profile is production (global.springProfiles). With it, the chart refuses to
render when secrets.auditHmacSecret is empty, so every install command on this page sets it.
Flightdeck also needs its database, from db-values.yaml.
Configuration Reference
Gateway Server
| Parameter | Description | Default |
|---|---|---|
llmGatewayServer.enabled | Enable gateway-server | true |
llmGatewayServer.replicaCount | Replicas (ignored when HPA enabled) | 1 |
llmGatewayServer.image.repository | Image repository | ghcr.io/dvarahq/dvara-gateway |
llmGatewayServer.image.tag | Image tag (defaults to chart appVersion) | "" |
llmGatewayServer.region.id | Region identity for multi-region deployments | "" |
llmGatewayServer.region.name | Human-readable region name | "" |
llmGatewayServer.javaOpts | JVM options added after the image's defaults, passed as JDK_JAVA_OPTIONS, so a value here wins over the same option in the image | -XX:MaxRAMPercentage=60 |
llmGatewayServer.jvmDefaults | From 1.10.0. Replaces the image's JVM defaults, passed as JAVA_TOOL_OPTIONS. Empty keeps them. | "" |
llmGatewayServer.resources.requests.cpu | CPU request | 500m |
llmGatewayServer.resources.requests.memory | Memory request | 1Gi |
llmGatewayServer.resources.limits.cpu | CPU limit | 2 |
llmGatewayServer.resources.limits.memory | Memory limit | 2Gi |
llmGatewayServer.service.type | Service type | ClusterIP |
llmGatewayServer.service.port | Service port | 8080 |
llmGatewayServer.a2a.pushCallbackBaseUrl | From 1.8.5. The gateway's public URL as peer agents reach it, such as https://api.acme.example. Set on the gateway as A2A_PUSH_CALLBACK_BASE_URL. Needed for A2A push notifications. | "" |
From 1.8.5 A2A push notifications go through the gateway, which gives each peer
a callback under llmGatewayServer.a2a.pushCallbackBaseUrl. The chart does not
work it out from the ingress: set the URL peers really use. While it is empty,
every A2A push config is refused with 503 A2A_PUSH_NOT_AVAILABLE, except in a
workspace that keeps direct delivery (a2a.push.delivery=direct). A value you
set for A2A_PUSH_CALLBACK_BASE_URL in llmGatewayServer.extraEnv wins, with
no duplicate entry. See
Receive push notifications through DVARA.
Flightdeck
The Helm chart's flightdeck.* parameter family configures the DVARA Flightdeck pod; the deployed image is ghcr.io/dvarahq/dvara-flightdeck.
| Parameter | Description | Default |
|---|---|---|
flightdeck.enabled | Enable flightdeck | true |
flightdeck.replicaCount | Number of replicas | 1 |
flightdeck.image.repository | Image repository | ghcr.io/dvarahq/dvara-flightdeck |
flightdeck.llmGatewayServerUrl | Override auto-discovered server URL | "" (auto) |
flightdeck.resources.requests.cpu | CPU request | 250m |
flightdeck.resources.requests.memory | Memory request | 1Gi |
flightdeck.resources.limits.cpu | CPU limit | 2 |
flightdeck.resources.limits.memory | Memory limit | 2Gi |
flightdeck.javaOpts | JVM options added after the image's defaults | -XX:MaxRAMPercentage=60 |
flightdeck.jvmDefaults | From 1.10.0. Replaces the image's JVM defaults (JAVA_TOOL_OPTIONS). Empty keeps them | "" |
flightdeck.service.type | Service type | ClusterIP |
flightdeck.email.transport | Email transport — log, smtp, or resend. Unset renders no email config at all | "" |
flightdeck.email.from | Sender address on every outbound | "" |
flightdeck.email.host | SMTP server hostname. Required when transport=smtp — the pod refuses to start without it | "" |
flightdeck.email.port | SMTP port | "" |
flightdeck.email.username | SMTP username, when the server requires auth | "" |
flightdeck.email.existingSecret | Name of an existing Secret holding the SMTP / Resend credential. Preferred over password | "" |
flightdeck.email.existingSecretKey | Key within existingSecret | email-password |
flightdeck.email.password | Credential inline. Lands in helm get values output — prefer existingSecret | "" |
flightdeck.service.port | Service port | 8090 |
Flightdeck Health Probes:
| Probe | Path | Purpose |
|---|---|---|
| Liveness | /actuator/health/liveness | Basic liveness check |
| Readiness | /actuator/health/readiness | Checks Flightdeck application readiness and PostgreSQL; Gateway connectivity is excluded |
| Startup | /actuator/health/liveness | Allows JVM warmup before liveness kicks in |
All four probe paths (/actuator/health, /actuator/health/liveness, /actuator/health/readiness, /actuator/info) are anonymous by design so Kubernetes probes work without secrets. Do not set management.endpoint.health.show-details=always, or set management.endpoint.health.group.<name>.show-details=always for readiness, liveness, or a custom group. A group value overrides the endpoint value. In either case DVARA publishes REFUSING_TRAFFIC and its readiness probe fails so anonymous callers cannot read per-indicator details. Use when-authorized or never.
Use System Status for Gateway and provider health without coupling Flightdeck's Kubernetes readiness to the Gateway.
JVM options in the images (from 1.10.0)
Both images set JVM defaults in JAVA_TOOL_OPTIONS, which the JVM reads itself, so they apply even when a pod runs
outside the chart:
-XX:+UseG1GC -XX:MaxRAMPercentage=75 -XX:+AlwaysPreTouch -XX:+ExitOnOutOfMemoryError
with no --add-opens or --add-exports since 1.10.0. G1 is the default because ZGC stalled under load when the JVM shared its
cores with other work. The chart's javaOpts is passed as JDK_JAVA_OPTIONS, which the java launcher reads after
those defaults, so the chart's -XX:MaxRAMPercentage=60 wins over the image's 75. jvmDefaults replaces the image's
defaults on purpose. The gateway workload no longer renders JAVA_OPTS, which no JVM read.
The gateway image also starts from an AOT cache (JDK 25) built when the image is built. A cache that does not match the JVM's options never stops a boot; it is only not used. Flightdeck has no AOT cache.
Both images run on Eclipse Temurin 25; a rebuild from 1.10.0 picks up 25.0.4.
The Java runtime in each image (from 1.14.0)
From 1.14.0 each image carries its own Java runtime. It holds only the Java modules that image uses, and the image
starts from ubuntu:jammy instead of eclipse-temurin:25-jre-jammy. The runtime is still at /opt/java/openjdk,
and the JVM still trusts the same CA certificates. The gateway image is 96 MB smaller and Flightdeck's 53 MB:
| Image | Before 1.14.0 | 1.14.0 |
|---|---|---|
| Gateway, arm64 | 654 MB | 558 MB |
| Gateway, amd64 | 665 MB | 569 MB |
| Flightdeck, arm64 | 515 MB | 462 MB |
| Flightdeck, amd64 | 526 MB | 473 MB |
Java Flight Recorder, local and remote JMX, the debugger agent (-agentlib:jdwp) and the attach API all still work.
A JVM option or Java agent that needs a module the image left out stops the JVM at start with
Module ... not found. These modules are not in either image:
- the Graal JIT compiler (
-XX:+UseGraalJIT); jdk.incubator.vector,java.smartcardio,jdk.sctp,jdk.jsobject,jdk.dynalink,jdk.xml.dom,jdk.accessibility,jdk.naming.rmiandjdk.nio.mapmode.
The gateway image also has no jdk.localedata, java.sql.rowset or java.xml.crypto; Flightdeck has them.
If you add a JVM option in javaOpts or jvmDefaults, or attach a Java agent, check that it starts. If it needs one
of these modules, add the module to the image's module list (jre-modules.txt beside the image's Dockerfile) and
build your own image.
Secrets
| Parameter | Description | Default |
|---|---|---|
secrets.create | Create the Secret resource | true |
secrets.existingSecret | Use an existing Secret instead | "" |
secrets.providerKeys.openai | OpenAI API key | "" |
secrets.providerKeys.anthropic | Anthropic API key | "" |
secrets.providerKeys.gemini | Gemini API key | "" |
secrets.providerKeys.awsAccessKeyId | AWS access key (Bedrock) | "" |
secrets.providerKeys.awsSecretAccessKey | AWS secret key (Bedrock) | "" |
secrets.ollamaEnabled | Enable Ollama provider | "" |
secrets.ollamaBaseUrl | Ollama base URL. Empty: the gateway uses its default, http://localhost:11434 | "" |
secrets.bedrockEnabled | Enable Bedrock provider | "" |
secrets.mockProviderEnabled | Enable mock provider | "" |
secrets.auditHmacSecret | HMAC-SHA256 key signing the tamper-evident audit chain. Required on production-class profiles — boot refuses the default-dev-secret-change-in-production placeholder. Generate with openssl rand -base64 32. | "" |
secrets.gatewayEncryptionMasterPassword | AES-256-GCM master password for ENC: values + ENCRYPTED-mode provider credentials. Passed to the gateway and, from 1.8.4, to Flightdeck as DVARA_ENCRYPTION_MASTER_PASSWORD, from the same Secret key (gateway-encryption-master-password). Before 1.8.4 Flightdeck never got it, so it refused to store a BYOK provider credential on a standard chart install. A value you set in flightdeck.extraEnv wins. | "" |
secrets.piiTokenEncryptionMasterPassword | From 1.8.4. Master password Flightdeck seals each workspace's PII token key with, for pii.action=TOKENIZE. Passed only to Flightdeck, as DVARA_PII_TOKEN_ENCRYPTION_MASTER_PASSWORD; gateways fetch the keys from Flightdeck and need no copy. Keep it: a lost or changed value makes every PII token unreadable. Empty: TOKENIZE is unavailable and each workspace's pii.degraded-action applies (BLOCK by default); detection, LOG and REDACT need no key. A value you set in flightdeck.extraEnv wins. With secrets.existingSecret, the key is pii-token-encryption-master-password. | "" |
secrets.llmGatewayServerApiKey | Operator Bearer for /actuator/gateway-status, Enterprise /actuator/license, and every other authenticated actuator path except prometheus. Generate with openssl rand -base64 32. Required for those operator surfaces. | "" |
secrets.gatewayMetricsApiKey | Distinct Bearer for /actuator/prometheus only. It must differ from llmGatewayServerApiKey so a leaked scrape token cannot unlock gateway or Enterprise licence metadata. | "" |
secrets.enterpriseLicenseKey | DVARA license envelope (DVARA-… prefix, Ed25519-signed). Passed only to Flightdeck, which copies it into its licence store once, when none is stored; Gateway pods do not read it. A licence confers production rights and removes the 3-workspace and 100,000-call limits. Every pod boots without it, in the Development posture, serving every plane. You can paste the licence on Flightdeck's License page instead. No -ee images are needed — there is one artifact per app. | "" |
secrets.auditHmacSecret → DVARA_AUDIT_HMAC_SECRET signs every row in the audit chain. Set it. From 1.8.0 DVARA no longer generates or stores this secret. Give every gateway pod and Flightdeck the same value, because pods sign the chain and Flightdeck verifies it without re-signing. On a production Spring profile a pod refuses to start without it. The chart sets global.springProfiles: production by default. With it, the chart refuses to render without this value, and the pods refuse a value under 32 characters or a placeholder DVARA publishes. Set global.springProfiles: dev only for an evaluation install; the checks then only warn. An install upgrading from 1.7 that relied on a generated secret can recover it first; see Upgrade DVARA. Set it via --set secrets.auditHmacSecret=… or through secrets.existingSecret (key audit-hmac-secret).
From 1.8.4 the gateway also derives the A2A delegation guard's signing key from this secret when dvara.a2a.delegation.signing-secret is unset. A secret shorter than 32 bytes, or a placeholder DVARA publishes, is then refused: on a production profile the gateway does not start, and on a development profile (global.springProfiles: dev) it logs a warning and runs the guard as off. openssl rand -base64 32 gives 44 characters, which is enough.
The dataPlane block and the gateway's volume
From 1.8.2 the gateway has no database. It enrols with Flightdeck, reads its configuration from the signed bundle Flightdeck publishes, and spools audit, usage and cost to its data volume, which it ships to Flightdeck. The chart runs all of this by default; none of the values below needs to be set. See How the gateway runs without a database.
| value | what it does | default |
|---|---|---|
dataPlane.controlPlane.baseUrl | Flightdeck's /internal address. Empty means the <fullname>-flightdeck-internal Service on port 8443 in the same Helm release. <fullname> is the release name when it contains dvara, and <release>-dvara otherwise (or fullnameOverride). Set it when Flightdeck runs elsewhere. | "" |
dataPlane.controlPlane.publicKey | The Ed25519 key that verifies a bundle. Optional: an enrolled gateway learns it from Flightdeck. A key you set always wins. | "" |
dataPlane.enrolment.enabled | Gateways enrol with Flightdeck using secrets.enrolmentSharedSecret and get their /internal certificate from it, renewed automatically. Turn it off only to supply certificates yourself through dataPlane.tls. | true |
dataPlane.tls.secretName | An operator-made /internal client certificate, used with dataPlane.enrolment.enabled: false. | "" |
flightdeck.enrolment.port | The port Flightdeck serves enrolment and /internal on, through its -internal Service. | 8443 |
secrets.enrolmentSharedSecret | The secret gateways enrol by, at least 32 characters. Empty: generated on install and kept across upgrades. With secrets.existingSecret, that Secret must carry the key enrolment-shared-secret. | "" |
llmGatewayServer.persistence.enabled | Give each gateway pod its own volume claim. Turns the gateway from a Deployment into a StatefulSet. Recommended for production. The StatefulSet replaces one pod at a time. From 1.13.0 the chart refuses to render llmGatewayServer.rollingUpdate.maxUnavailable: 0 with persistence on, because clusters that enable the MaxUnavailableStatefulSet feature gate refuse it. | false |
llmGatewayServer.persistence.mountPath | Where the data volume is mounted. The spool, the bundle snapshot and the enrolled certificate live under it. With persistence off it is an emptyDir. | /var/lib/dvara |
llmGatewayServer.persistence.size | Volume size per replica | 10Gi |
llmGatewayServer.persistence.shutdownDrainSeconds | Seconds a pod spends flushing its spool on SIGTERM | 20 |
dataPlane.tls.secretName sets both SSL properties, which is the part that is easy to get wrong by hand: one carries the client certificate and the other only checks the CN. Setting the second alone gives a pod that starts and then fails every fetch. The chart removes that choice.
dataPlane.serveFromBundle and dataPlane.dbMigrate were removed in 1.8.2. A values file that still sets either one fails helm upgrade with the setting named. Database credentials go on Flightdeck only, through flightdeck.extraEnv.
The bundled cache carries a licensing choice
The chart can deploy a single-node cache for evaluation. Both are disabled by default, and which one you enable is a licensing decision, not a preference:
| value | image | licence |
|---|---|---|
valkey.enabled | valkey/valkey-bundle | BSD-3 |
redis.enabled | redis:8 | tri-licensed RSALv2 / SSPLv1 / AGPLv3 |
Valkey is the recommended choice when you select an external cache. Neither cache is enabled by default. BSD-3 raises no distribution question. Redis Open Source 8+ is AGPLv3 among its options — OSI-approved open source, and copyleft with a network clause, which is a materially different position from the BSD licence Redis carried before March 2024. Enabling redis pulls an AGPL program from its publisher's registry into your cluster; DVARA ships a template naming an image, not the image itself.
Enabling valkey.enabled or redis.enabled only deploys the evaluation cache. It does not point the Gateway at it. Set DVARA_LLM_GATEWAY_RATE_LIMIT_SHARED_CACHE_URL separately through llmGatewayServer.extraEnv; without that URL, the cache pod is idle and the normal limiter remains active. See Control request and token throughput.
If your organisation restricts AGPL software, use Valkey or an external managed instance. This is not legal advice — consult your own counsel.
Neither profile is a production topology. Point production at a managed offering — ElastiCache for Valkey, Memorystore, Azure Cache.
MCP and A2A planes
There are no mcpGatewayServer or a2aGatewayServer values to set. Both planes run inside the LLM gateway and are served by it, with or without a license, on the same port as /v1/*. The
separate dvara-mcp-gateway and dvara-a2a-gateway images are no longer published and their
workload templates are gone.
The chart refuses to render if you enable either — a hard failure naming the replacement, rather than silently giving you a smaller cluster than you asked for with the MCP plane quietly not served.
To use them: address /mcp/* and /a2a/* on the gateway Service.
Ingress
| Parameter | Description | Default |
|---|---|---|
ingress.enabled | Enable Ingress | false |
ingress.className | Ingress class (nginx, traefik, alb) | "" |
ingress.annotations | Ingress annotations | {} |
ingress.baseDomain | When set, hosts left empty become <subdomain>.<baseDomain>, with a matching TLS entry | "" |
ingress.llmGatewayServer.subdomain | Subdomain for the gateway host derived from baseDomain | api |
ingress.llmGatewayServer.hosts | Server host/path rules. When set, used as they are | [] |
ingress.llmGatewayServer.tls | Server TLS config | [] |
ingress.flightdeck.subdomain | Subdomain for the Flightdeck host derived from baseDomain | flightdeck |
ingress.flightdeck.hosts | UI host/path rules. When set, used as they are | [] |
ingress.flightdeck.tls | UI TLS config | [] |
Serve every console from one address (from 1.14.0)
Flightdeck's Ingress host can also serve other DVARA product consoles, each at its own path. Flightdeck stays at
/. With one address, every console shares one cookie domain and one origin. With no product turned on, the chart
renders the same Ingress as before.
Do not add consoles.products routes for AgentWorks or MCPWorks. Their DVARA 1.14 pages are hosted by Flightdeck at
/agentworks and /mcp-works and use Flightdeck's existing Ingress rule. Enable them through Flightdeck's product
settings instead. The consoles.products values below are for a product console that runs as a separate Service.
See AgentWorks and MCPWorks.
# consoles-values.yaml
ingress:
enabled: true
baseDomain: example.com # Flightdeck at https://flightdeck.example.com/
consoles:
products:
rag:
enabled: true
service:
name: rag-console # a Service in the release namespace
port: 8083
mcp:
enabled: true
path: /mcp-console # /mcp is a Flightdeck path, see below
service:
name: mcp-console
port: 8080
| Parameter | Description | Default |
|---|---|---|
consoles.products.<name>.enabled | Route a separately deployed product console. Do not use this for the AgentWorks or MCPWorks pages hosted by Flightdeck | false |
consoles.products.<name>.path | The path on Flightdeck's host. One lower-case segment, equal to the console's own context path | /rag, /mcp, /agents, /inference |
consoles.products.<name>.service.name | The console's Service in the release namespace. An ExternalName Service reaches one elsewhere | "" |
consoles.products.<name>.service.port | The Service port | 8083 for rag, else 8080 |
consoles.products.<name>.url | Set this instead of a Service when the console runs on a host of its own. The chart then leaves it out of the Ingress | "" |
Each routed path is a Prefix path on Flightdeck's host. The path is passed on unchanged, so each product console
must run with its path as its context path, trust the forwarded headers, and use a session cookie of its own name.
After install, the chart's notes list the address of each routed console.
The router fronts the consoles, never the gateway. On the gateway's host, /mcp is the MCP plane that agents and
tools call. So product paths go on Flightdeck's host only, and nothing on that host reaches the gateway.
A product path cannot be a path Flightdeck serves. Flightdeck keeps every top-level path it uses, such as /mcp
(its MCP pages), /mcp-consent, /portal, /login, /oauth2, /saml2 and /actuator. Until Flightdeck's own MCP
pages move, put the MCP console at another path, such as /mcp-console.
The chart refuses to render, and names the setting, when:
- a product is turned on with no
service.nameand nourl, or with both; - a
urldoes not start withhttp://orhttps://; - a path is not one lower-case segment, is a Flightdeck path, or is used twice;
- a product is routed without
ingress.enabledandflightdeck.enabled; - a product is routed and Flightdeck's Ingress has no host, or shares a host with the gateway.
Flightdeck needs no setting of its own to work behind the router. It reads the scheme, host and port from the
X-Forwarded-* headers of a proxy in a private, loopback or link-local range, such as an ingress controller pod, so
redirects, the OIDC redirect URI and the SAML sign-in URL stay on the router's address. A proxy outside those ranges,
such as a CDN edge, must be added to server.tomcat.remoteip.trusted-proxies. Set
dvara.flightdeck.security.builtin.base-url to the router's address so invitation and password-reset emails link
to it.
Graceful Shutdown & Rolling Updates
| Parameter | Description | Default |
|---|---|---|
llmGatewayServer.terminationGracePeriodSeconds | Pod termination grace period. Must be at least preStopSleepSeconds + shutdownPhaseTimeoutSeconds + persistence.shutdownDrainSeconds + 5 (60 at the defaults); the chart refuses to render with less | 65 |
llmGatewayServer.shutdownPhaseTimeoutSeconds | Seconds in-flight calls get to finish on SIGTERM | 30 |
llmGatewayServer.preStopSleepSeconds | Sleep before SIGTERM (endpoint de-registration propagation) | 5 |
llmGatewayServer.rollingUpdate.maxSurge | Max extra pods during rolling update | 1 |
llmGatewayServer.rollingUpdate.maxUnavailable | Max unavailable pods during rolling update. Empty: 0 for the Deployment (zero downtime), 1 for the StatefulSet that persistence makes. 0 with persistence on is refused | "" |
llmGatewayServer.topologySpreadConstraints | Topology spread for cross-zone scheduling | [] |
The default configuration ensures zero-downtime rolling updates for the Deployment: maxSurge: 1 creates one new pod before terminating old ones, and maxUnavailable: 0 ensures at least N pods are always ready. A StatefulSet cannot add a pod first, so with persistence on the chart replaces one pod at a time (maxUnavailable: 1). The preStopSleepSeconds delay allows Kubernetes endpoint propagation to complete before the application receives SIGTERM and begins its 30-second graceful drain.
Autoscaling (HPA)
| Parameter | Description | Default |
|---|---|---|
llmGatewayServer.autoscaling.enabled | Enable HPA | false |
llmGatewayServer.autoscaling.minReplicas | Minimum replicas | 2 |
llmGatewayServer.autoscaling.maxReplicas | Maximum replicas | 10 |
llmGatewayServer.autoscaling.targetCPUUtilizationPercentage | CPU target | 70 |
llmGatewayServer.autoscaling.targetMemoryUtilizationPercentage | Memory target | 80 |
llmGatewayServer.autoscaling.behavior.scaleUp.stabilizationWindowSeconds | Wait before scaling up | 30 |
llmGatewayServer.autoscaling.behavior.scaleDown.stabilizationWindowSeconds | Wait before scaling down | 300 |
The default HPA behavior scales up quickly (50% per minute after 30s stabilization) but scales down conservatively (25% per 2 minutes after 5-minute stabilization) to prevent flapping.
Pod Disruption Budget
| Parameter | Description | Default |
|---|---|---|
llmGatewayServer.pdb.enabled | Enable PDB | false |
llmGatewayServer.pdb.minAvailable | Min available pods | 1 |
llmGatewayServer.pdb.maxUnavailable | Max unavailable pods | "" |
Prometheus ServiceMonitor
| Parameter | Description | Default |
|---|---|---|
llmGatewayServer.serviceMonitor.enabled | Enable (requires Prometheus Operator) | false |
llmGatewayServer.serviceMonitor.interval | Scrape interval | 30s |
llmGatewayServer.serviceMonitor.path | Metrics path | /actuator/prometheus |
llmGatewayServer.serviceMonitor.additionalLabels | Labels for monitor selection | {} |
llmGatewayServer.serviceMonitor.bearerSecret.name | Secret holding the scrape token. Empty uses the chart's Secret | "" |
llmGatewayServer.serviceMonitor.bearerSecret.key | Key in that Secret | gateway-metrics-api-key |
When llmGatewayServer.serviceMonitor.enabled=true, the ServiceMonitor sends the metrics key from the chart's Secret (key gateway-metrics-api-key, set by secrets.gatewayMetricsApiKey) as a Bearer token. To use another Secret, set llmGatewayServer.serviceMonitor.bearerSecret.name and .key; it must hold the same value the pod gets as DVARA_ACTUATOR_METRICS_API_KEY. /actuator/prometheus is authenticated — without the token, every scrape returns 401 and the time series goes dark. The metrics secret is intentionally distinct from DVARA_ACTUATOR_API_KEY so a leaked scrape token can't unlock the rich gateway status surface.
Clustering on Kubernetes
The Enterprise embedded cluster shares rate-limit counters, spend and call counters, response-cache entries, session kills, and a copy of the config bundle across Gateway pods. From 1.10.0 it runs on Infinispan, embedded in each Gateway. On Kubernetes, those pods must discover each other through a headless Service because multicast is unavailable in most clusters. The Open Source distribution does not gain shared rate limits from this Service; each Open Source Gateway process keeps its own token bucket.
Set CACHE_SERVICE_DNS to the DNS name of the headless Service fronting the gateway pods. The official chart sets it automatically. Instead, you can set KUBERNETES_NAMESPACE with CACHE_SERVICE_NAME, and the Gateway looks up <service>.<namespace>.svc. The Service must be headless and list pods that are not ready yet, because a pod joins the cluster before it becomes ready.
Neither mode queries the Kubernetes API, so neither needs a Role or a
RoleBinding. The pods talk to each other on one TCP port, 7800 (5701
before 1.10.0), which also carries their heartbeats, so a NetworkPolicy must
allow it between Gateway pods. After rollout, confirm gateway_cluster_members
equals the Gateway replica count on every pod.
This pod runs in Kubernetes but no cluster discovery is configured (set CACHE_SERVICE_DNS, or KUBERNETES_NAMESPACE
with CACHE_SERVICE_NAME). Multicast is rarely delivered between pods, so this pod will likely form a cluster of one:
rate limits, spend counters and quotas then count per pod.
Missing discovery configuration produces a warning rather than stopping the process. Treat that warning as a deployment failure when you run more than one replica: each pod otherwise admits its own rate limit. You do not need the manual YAML below unless you bypass the chart. Outside Kubernetes, the Enterprise embedded cluster uses multicast discovery, or the members you list in DVARA_CLUSTER_MEMBERS (host:7800,host:7800) where multicast is blocked.
Who can join the cluster (from 1.10.0)
The cluster holds cached API keys, response bodies, rate-limit windows and spend counters, so only Gateway pods may join it. From 1.10.0 the chart turns on TLS between them:
- TLS 1.3 with a certificate on both sides. Pods talk TLS on port
7800and each must show a certificate from the cluster CA. A process with no TLS, no certificate, or a certificate from another CA cannot join. - The chart makes the certificate. It creates a cluster CA and one certificate for the Gateway pods in the Secret
<gateway>-cluster-tls, and reads it back on every upgrade so it does not change under running pods. To bring your own, for example from cert-manager, setllmGatewayServer.cluster.tls.secretNameto a Secret withtls.crt,tls.keyandca.crt. Do that too when the chart is rendered without access to the cluster (helm template, Argo CD), since a new CA is made on every such render. - With
secrets.existingSecret, say where the certificate comes from. From 1.13.0 the chart does not make the certificate unasked when you bring your own Secret. SetllmGatewayServer.cluster.tls.secretName, or setllmGatewayServer.cluster.tls.create: trueto have the chart make it. With neither, the chart refuses to render and names both fixes. - A NetworkPolicy limits the port.
llmGatewayServer.cluster.networkPolicy.enabled(on by default) lets only Gateway pods reach port7800, and leaves HTTP open. It works only where the network plugin enforces NetworkPolicy. - TLS stays on in production. On a production profile (the chart's default), a Gateway given other members to
join refuses to start without cluster TLS, so the chart refuses to render
llmGatewayServer.cluster.tls.enabled: falseunlessglobal.springProfilesis a development one.
| Parameter | Description | Default |
|---|---|---|
llmGatewayServer.cluster.tls.enabled | TLS between Gateway pods | true |
llmGatewayServer.cluster.tls.secretName | An existing Secret with tls.crt, tls.key and ca.crt. Empty: the chart makes one, as cluster.tls.create says | "" |
llmGatewayServer.cluster.tls.create | Make the certificate when secretName is empty. Empty: yes, unless secrets.existingSecret is set. true: always. false: never | "" |
llmGatewayServer.cluster.tls.mountPath | Where the certificate is mounted in the Gateway container | /etc/dvara/cluster-tls |
llmGatewayServer.cluster.networkPolicy.enabled | Allow port 7800 only from other Gateway pods | true |
Isolate Gateway Runtime egress in production
The base chart leaves outbound isolation off so an upgrade cannot silently cut off an existing private service. The 1.14 production values profile turns it on:
llmGatewayServer:
cluster:
networkPolicy:
egress:
enabled: true
With it enabled, the chart allows DNS, Gateway Runtime peers, Flightdeck, chart-managed PII and cache services, and
public HTTP(S) destinations. Private address ranges stay denied. Before applying the production profile, inventory
every private model, MCP server, A2A agent, identity provider, telemetry collector, and SIEM endpoint, then add only
the required destinations under llmGatewayServer.cluster.networkPolicy.egress.extra.
Do not add PostgreSQL to those rules. Gateway Runtime has no database responsibility, and keeping PostgreSQL unreachable preserves the Runtime cell boundary. Render the policy in CI and test each required upstream from a Gateway pod before shifting production traffic.
If every pod is a cluster of one and the log shows TLS handshake errors from org.jgroups.protocols.TCP, the pods do
not trust each other's certificates. They must all hold certificates from one CA. After you replace the Secret,
restart every Gateway pod so they all read the new certificate.
Outside Kubernetes (Compose or VMs) with more than one Gateway, make a CA and a certificate, for example with
openssl, mount them on every Gateway, and set:
DVARA_CLUSTER_TLS_SSL_BUNDLE=cluster
SPRING_SSL_BUNDLE_PEM_CLUSTER_KEYSTORE_CERTIFICATE=/certs/tls.crt
SPRING_SSL_BUNDLE_PEM_CLUSTER_KEYSTORE_PRIVATE_KEY=/certs/tls.key
SPRING_SSL_BUNDLE_PEM_CLUSTER_TRUSTSTORE_CERTIFICATE=/certs/ca.crt
Allow port 7800 only between the Gateway hosts.
Without it, a Gateway on a production profile that is given a member list (DVARA_CLUSTER_MEMBERS) or a DNS name
refuses to start, and one with no discovery set runs as a cluster of one with a warning. On a development profile
(dev, test, ci, local or default) it joins without TLS and logs a warning. A bundle name that points at no
configured bundle stops the start.
Flightdeck and the cluster
Flightdeck never joins the Gateways' cluster. It runs its own embedded member under a separate cluster name, and it joins other members only when you list them in DVARA_CLUSTER_MEMBERS. Without a list, it is a cluster of one, even when it shares a network with the Gateways. Do not count Flightdeck when you compare gateway_cluster_members with the Gateway replica count. Do not give it CACHE_SERVICE_DNS: Flightdeck ignores that variable.
Headless Service pattern (reference)
This reference is for manifests you write yourself, without the chart. The chart already makes a Service named
<fullname>-server-cluster (<fullname> is the release name when it contains dvara, and <release>-dvara otherwise), so pick a different name, such as my-gateway-cluster, to avoid a clash.
apiVersion: v1
kind: Service
metadata:
name: my-gateway-cluster
labels:
app.kubernetes.io/name: my-gateway
spec:
clusterIP: None # headless — each pod gets a DNS A record
publishNotReadyAddresses: true
selector:
app.kubernetes.io/name: my-gateway
ports:
- name: cluster
port: 7800
targetPort: 7800
Deployment environment variables (reference)
On a production profile the pods refuse to join each other without cluster TLS. Give every pod the same CA and a
certificate from it, in a Secret with tls.crt, tls.key and ca.crt, and set the four TLS variables:
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-gateway
spec:
template:
metadata:
labels:
app.kubernetes.io/name: my-gateway
spec:
containers:
- name: gateway-server
env:
- name: KUBERNETES_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CACHE_SERVICE_NAME
value: my-gateway-cluster
- name: DVARA_CLUSTER_TLS_SSL_BUNDLE
value: cluster
- name: SPRING_SSL_BUNDLE_PEM_CLUSTER_KEYSTORE_CERTIFICATE
value: /etc/dvara/cluster-tls/tls.crt
- name: SPRING_SSL_BUNDLE_PEM_CLUSTER_KEYSTORE_PRIVATE_KEY
value: /etc/dvara/cluster-tls/tls.key
- name: SPRING_SSL_BUNDLE_PEM_CLUSTER_TRUSTSTORE_CERTIFICATE
value: /etc/dvara/cluster-tls/ca.crt
volumeMounts:
- name: cluster-tls
mountPath: /etc/dvara/cluster-tls
readOnly: true
volumes:
- name: cluster-tls
secret:
secretName: my-gateway-cluster-tls
Common Deployment Patterns
Minimal Mode (Testing)
Flightdeck needs PostgreSQL even for minimal deployments — there is no in-memory fallback. The gateway needs none. For quick testing, point Flightdeck at an external Postgres or deploy a small Postgres StatefulSet alongside it, and pass the connection in db-values.yaml:
helm install dvara oci://ghcr.io/dvarahq/charts/dvara \
--version 1.14.0 \
--set secrets.auditHmacSecret="$AUDIT_HMAC" \
--set secrets.mockProviderEnabled=true \
-f db-values.yaml
Production with OpenAI
# production-values.yaml
llmGatewayServer:
replicaCount: 3
# Match heap to container limits below — leave ~25% of the limit for
# off-heap (Metaspace, native code, JIT, kernel buffers). With memory
# limit = 2Gi, -Xmx1500m is a safe upper bound; reserve more if you
# see Metaspace pressure in JFR.
javaOpts: "-Xms1g -Xmx1500m"
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: "2"
memory: 2Gi
terminationGracePeriodSeconds: 65 # at least preStop + shutdown phase + spool drain + 5 s
preStopSleepSeconds: 5
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
autoscaling:
enabled: true
minReplicas: 3
maxReplicas: 10
pdb:
enabled: true
minAvailable: 2
secrets:
auditHmacSecret: "<output of openssl rand -base64 32>"
providerKeys:
openai: sk-...
ingress:
enabled: true
className: nginx
llmGatewayServer:
hosts:
- host: gateway.mycompany.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: gateway-tls
hosts:
- gateway.mycompany.com
helm install dvara oci://ghcr.io/dvarahq/charts/dvara --version 1.14.0 \
-f production-values.yaml -f db-values.yaml
MCP and A2A governance
No extra values are needed. The planes are served by the gateway with or without a license. For production, supply a license:
# licensed-values.yaml
secrets:
enterpriseLicenseKey: "DVARA-..." # production rights; copied into Flightdeck once
auditHmacSecret: "<output of openssl rand -base64 32>"
llmGatewayServer:
replicaCount: 3
helm install dvara oci://ghcr.io/dvarahq/charts/dvara --version 1.14.0 \
-n dvara --create-namespace -f licensed-values.yaml -f db-values.yaml
/mcp/* and /a2a/* are then served on the gateway Service alongside /v1/*.
Inline Gateway Configuration
Pass a gateway.yaml configuration directly via Helm values:
llmGatewayServer:
gatewayConfig:
providers:
- type: openai
api_key: ${OPENAI_API_KEY}
rate_limits:
requests_per_minute: 100
tokens_per_minute: 100000
workspaces:
- id: default
name: Default
status: ACTIVE
routes:
- id: default
model: "gpt*"
provider: openai
${…} is resolved in the environment of the process that reads the entry. OPENAI_API_KEY is resolved on the gateway, from secrets.providerKeys.openai.
API keys are created in Flightdeck, not in this file. Leave out api_keys: the gateway refuses an entry with a plain key, and Flightdeck seeds only entries with a plain key, so no entry works in both. From 1.13.0 the chart refuses to render a non-empty api_keys block and says to create the keys in Flightdeck. (In 1.12.0 every gateway pod failed to start.)
The value uses the gateway.yaml schema, not Spring property paths. The chart writes it to a ConfigMap and mounts it at /etc/dvara/gateway-config/gateway.yaml. Two processes read it. The gateway reads its providers and rate_limits (through DVARA_CONFIG_FILE). Flightdeck seeds its workspaces and routes into its database on start (through DVARA_BOOTSTRAP_FILE), and skips entries that already exist. Gateways then get those through the config bundle.
Using External Secrets
If you manage secrets with External Secrets Operator, Sealed Secrets, or a vault:
secrets:
create: false
existingSecret: my-external-secret
llmGatewayServer:
cluster:
tls:
# Name a Secret you keep with tls.crt, tls.key and ca.crt,
# or set create: true to have the chart make one.
secretName: my-cluster-tls
From 1.13.0 the chart does not make the gateways' cluster certificate when secrets.existingSecret is set. Without llmGatewayServer.cluster.tls.secretName or llmGatewayServer.cluster.tls.create: true, it refuses to render. With helm template or Argo CD, use secretName: a certificate the chart makes changes on every such render.
The existing Secret must contain the same keys: openai-api-key, anthropic-api-key, gemini-api-key, aws-access-key-id, aws-secret-access-key, ollama-enabled, ollama-base-url (optional: without it the gateway uses http://localhost:11434), bedrock-enabled, mock-provider-enabled, gateway-encryption-master-password, pii-token-encryption-master-password (optional, from 1.8.4), llm-gateway-server-api-key, gateway-metrics-api-key, audit-hmac-secret, enterprise-license-key (signed), enrolment-shared-secret (required, at least 32 characters), and email-password (optional, when flightdeck.email.transport is set).
Both workloads read enrolment-shared-secret with no optional flag, so a Secret without it leaves the pods unable to start. The chart cannot check audit-hmac-secret in a Secret it does not create; on the default production profile the pods refuse to start when it is missing, shorter than 32 characters or a published placeholder.
AWS Bedrock with explicit credentials
secrets:
bedrockEnabled: "true"
providerKeys:
awsAccessKeyId: <aws-access-key-id>
awsSecretAccessKey: <aws-secret-access-key>
DVARA signs Bedrock requests with the explicit access-key and secret-key
pair. It does not use IRSA, an instance profile, container credentials, or the
AWS SDK default credential chain. Use secrets.existingSecret to keep the pair
in an externally managed Kubernetes Secret instead of Helm values.
Multi-Region Deployment
Deploy an instance in a specific region:
# us-east-values.yaml
llmGatewayServer:
region:
id: us-east-1
name: US East
secrets:
auditHmacSecret: "<output of openssl rand -base64 32>"
providerKeys:
openai: sk-...
helm install dvara-us-east oci://ghcr.io/dvarahq/charts/dvara --version 1.14.0 \
-f us-east-values.yaml -f db-values.yaml
Each region's release runs its own Flightdeck with the same region.id, because Flightdeck publishes configuration only for its own region.
When region.id is set, the chart adds DVARA_REGION_ID and DVARA_REGION_NAME environment variables (which bind to the region identity configuration) and a dvara.ai/region pod label for topology-aware scheduling.
Prometheus Monitoring
llmGatewayServer:
serviceMonitor:
enabled: true
interval: 15s
additionalLabels:
release: prometheus-stack
The ServiceMonitor scrapes /actuator/prometheus. It requires the Prometheus Operator CRDs. It sends secrets.gatewayMetricsApiKey as its Bearer token, so set that value; see the ServiceMonitor parameter table above.
Security
The chart applies security hardening by default:
- Non-root execution — Pods run as UID 1001 (
runAsNonRoot: true) - Read-only filesystem —
readOnlyRootFilesystem: truewith a/tmpemptyDir for JVM temp files - No privilege escalation —
allowPrivilegeEscalation: false - Capabilities dropped — All Linux capabilities dropped
- No service account token —
automountServiceAccountToken: false(no K8s API access needed) - Secret key refs optional — Pods start even if only some provider keys are configured
Settings the chart refuses
The chart fails the render and names the fix, rather than install something that looks healthy and is not:
- A renamed values key, at the top level or one level down (for example
ingress.gatewayServer,secrets.gatewayServerApiKey,flightdeck.gatewayServerUrl). From 1.10.0 the nested keys are checked too. - The private
dvara-flightdeck-saasimage with noglobal.imagePullSecrets(from 1.10.0). alerts.enabledwhile the Gateway's or Flightdeck's ServiceMonitor is off, since those rules could never fire (from 1.10.0). Setalerts.scrapedElsewhere: trueif Prometheus scrapes them another way.llmGatewayServer.cluster.tls.enabled: falsewith a production profile (from 1.10.0). See Who can join the cluster.secrets.existingSecretwith cluster TLS on, nollmGatewayServer.cluster.tls.secretName, andllmGatewayServer.cluster.tls.createnottrue(from 1.13.0). The pods would mount a Secret that does not exist.llmGatewayServer.rollingUpdate.maxUnavailable: 0(or0%) withllmGatewayServer.persistence.enabled: true(from 1.13.0). Leave it empty, or set1or more.- A non-empty
llmGatewayServer.gatewayConfig.api_keys(from 1.13.0). Create API keys in Flightdeck.
When flightdeck.extraEnv sets DVARA_LICENSE_KEY, the chart uses that value and leaves its own copy out.
Upgrading
# From OCI registry
helm upgrade dvara oci://ghcr.io/dvarahq/charts/dvara --version 1.14.0 -f my-values.yaml -f db-values.yaml
# From local chart
helm upgrade dvara charts/dvara/ --version 1.14.0 -f my-values.yaml -f db-values.yaml
Pass the same values files and --set flags you installed with. helm upgrade resets anything you leave out to the chart default: without db-values.yaml Flightdeck has no database and cannot start, and a secret you passed with --set becomes empty, so stored credentials and PII tokens become unreadable and actuator calls return 401. Keep the secrets in a values file or in secrets.existingSecret. The chart reads back only enrolment-shared-secret and the cluster certificate on an upgrade.
Upgrade Flightdeck before its gateways. A gateway sends its usage and cost records to Flightdeck in a versioned format. A Flightdeck older than the gateway refuses records in a newer format. Nothing is lost: the gateway keeps them and sends them again once Flightdeck is upgraded. See Metering records.
From 1.14.0, everyone is signed out of Flightdeck once on upgrade. Flightdeck's session cookie is now named
DVARA_FLIGHTDECK_SESSION (it was JSESSIONID), so the old cookie is ignored and each user signs in again.
Gateway pods restart when the chart's Secret or the gatewayConfig ConfigMap changes, and Flightdeck pods when the chart's Secret changes (checksum annotations on the pod template). Restart Flightdeck yourself after changing the gatewayConfig seeds, and restart both after changing a Secret named in secrets.existingSecret.
Running Helm Tests
helm test dvara
This runs test pods that verify the gateway-server and flightdeck services are reachable. The LLM, MCP, and A2A planes share the gateway service.
Uninstalling
helm uninstall dvara
Troubleshooting
Pods stuck in CrashLoopBackOff
Check logs for JVM startup errors:
kubectl logs deployment/dvara-server # statefulset/dvara-server when llmGatewayServer.persistence.enabled is on
Common causes:
- Insufficient memory — increase
llmGatewayServer.resources.limits.memory(orflightdeck.resources.limits.memory) - Missing secret keys — verify the Secret exists:
kubectl get secret dvara -o yaml
Startup probe fails
The startup probe allows about 3 minutes (5 s initial + 36 retries × 5 s) for JVM warmup, on both the gateway and Flightdeck. If that is not enough on a slow node, raise it:
llmGatewayServer:
startupProbe:
failureThreshold: 60
Services not reachable
# Check pod status
kubectl get pods -l app.kubernetes.io/component=gateway-server
# Check service endpoints
kubectl get endpoints dvara-server
# Port-forward to test directly
kubectl port-forward svc/dvara-server 8080:8080
curl http://localhost:8080/actuator/health
Providers not registering
Provider keys must be non-empty strings. Check the Secret:
kubectl get secret dvara -o jsonpath='{.data.openai-api-key}' | base64 -d
Empty string = provider disabled (this is expected for unused providers).