Skip to main content

Configuration

This page covers how to run Orka: Helm values, controller flags, environment variables, authentication settings, and metrics. The custom resources you create — Tasks, Agents, Providers, Tools, and the rest — are in the Resource reference.

Memory tools: warning release​

Every controller-launched native type: ai Task receives recall_memory, remember, propose_memory, and search_transcript during this warning release, regardless of selected tools or coordination.enabled. They cannot yet be disabled per Agent, including with enabled: false or orka.ai/disable-coordination-tool-injection: "true".

Calls relying on compatibility access emit deprecation warnings. The next release will require explicit Agent/Task selection or eligible coordination. See migration and release notes. The worker exposes memory tools only when ORKA_CONTROLLER_URL, ORKA_TASK_NAMESPACE, and ORKA_TASK_NAME are all nonempty; registration alone does not enable them.

Helm chart​

Key configuration values for the Helm chart. Published charts use release image tags; development charts use the rolling 0.0.0-dev tag. See Image overrides for exact source image selection.

ParameterDefaultDescription
controller.replicas1Controller replicas
controller.image.repositoryghcr.io/orka-agents/orkaController image
controller.image.tagrelease versionController image tag.
controller.image.digest""Optional SHA256 digest; takes precedence over tag.
controller.modeharness-v2Fixed agent execution protocol identity. Only harness-v2 is supported.
controller.watchNamespaceHelm release namespaceMust match the release namespace, labeled orka.ai/controller-mode with the matching mode.
controller.agentExecutionSnapshot.existingSecret""Your own snapshot encryption Secret. Empty renders an empty <release>-agent-execution-snapshot that the controller fills on first start. Immutable after install. See Snapshot encryption key.
controller.agentExecutionSnapshot.keykeyItem inside that Secret holding 32 raw bytes or their base64 encoding. Immutable after install.
controller.enforceNamespaceIsolationtrueRestrict namespace-bound API callers and default Helm RBAC to their namespace
service.port8080Controller Service port used by controller and Publisher in-cluster URLs.
clusterDomaincluster.localCluster DNS domain for the fully qualified controller API and provider proxy URLs the chart passes to the controller. Native workspace runtimes cannot resolve <service>.<namespace>.svc.
controller.apiPort8080Controller container listener and Service target port.
controller.metricsPort8081Metrics endpoint port
controller.healthPort8082Health probe port
controller.logLevelinfoLog level (debug/info/warn/error)
controller.dashboard.enabledfalseServe the web dashboard on the API port.
controller.connectors.enabled / controller.connectors.callbackBaseUrlfalse / ""Enable per-person connectors, and the public https origin the OAuth provider redirects back to.
controller.githubSignIn.enabled / .allowedOrgs / .allowedTeams / .createHostsfalse / [] / [] / trueSign people in with GitHub (orka login) through the agent-host GitHub App. Only active members of the allowed orgs or teams sign in, and each sign-in links their account and, with createHosts, starts their agent host. Needs controller.agentHosts.github.
controller.agentHosts.enabled / .namespace / .agentImagefalse / orka-agent-hosts / ""Run agent hosts in a chart-created namespace with the restricted Pod Security profile. An empty agentImage uses the controller image, which then must set controller.image.digest.
controller.ahp.enabledfalseServe the Agent Host Protocol at /ahp for desktop AHP clients. Requires controller.oidc.issuer, .audience and .allowedSubjects. Expose it through a TLS-terminating Ingress or Gateway; see Expose /ahp over TLS.
controller.ahp.tokenMaxTTL / .turnTimeout2160h / 2hLongest AHP connection token lifetime (tokens default to 720h, or to this maximum when it is lower), and the timeout of each AHP turn's Task.
controller.ahp.gitCredentialSecret / .workspaceClass"" / ""Secret in each AHP user's namespace whose token key clones and publishes their github.com repositories, and the ExecutionWorkspaceClass for session-scoped workspaces.
controller.ahp.workspaceImage / .workspaceNamespace"" / orka-ahp-workspacesDigest-pinned image with sh, git and the common tools Orka's scripts run there (cat, dirname, find, grep, head, ls, mkdir, mktemp, mv, readlink, rm, sed, sleep, stat) that turns on AHP workspaces and terminals. When set, the chart creates the namespace with the restricted Pod Security profile, the controller's Role in it, and a NetworkPolicy allowing only DNS and TCP 443 egress. The namespace must differ from the release, watch and ACP runtime namespaces, and is deleted with the release.
github.webhook.secretName / github.webhook.secretKey"" / secretSecret holding the shared secret for signed GitHub webhooks at /webhooks/github, used by label triggers and pull request events.
controller.acpRuntime.namespaceorka-runtimesNamespace for controller-owned RuntimePool workloads.
controller.acpRuntime.providerProxyNamespace""Compatibility guard for the chart-managed provider proxy. Leave empty or set exactly to the Helm release namespace; any other nonempty value is rejected when the proxy is enabled.
controller.acpRuntime.codexImagerelease image tagCodex ACP image tag or digest; an empty string disables it.
controller.acpRuntime.claudeImagerelease image tagClaude ACP image tag or digest; an empty string disables it.
controller.acpRuntime.copilotImagerelease image tagGitHub Copilot ACP image tag or digest; an empty string disables it.
controller.acpRuntime.opencodeImagerelease image tagOpenCode ACP image tag or digest; an empty string disables it.
controller.acpRuntime.pool.maxRunningPrompts4Concurrent prompts in each new built-in runtime RuntimePool, such as repository scan review slices for one Agent. Cannot exceed maxResidentSessions. Existing pools keep their capacity.
controller.acpRuntime.pool.maxResidentSessions10Resident RuntimeSessions in each new built-in runtime RuntimePool (1-1000).
controller.acpRuntime.dispatch.maxConcurrentTasks4Agent Tasks the controller runs through ACP runtimes at once, across all RuntimePools (1-1000). Raise it with pool.maxRunningPrompts: each running prompt holds one place. A coordinator waiting on ACP child Tasks keeps its place, so keep this above the number of coordinators that can wait at once.
controller.acpRuntime.upgradeDrain.*enabledTwo-phase planned-upgrade admission closure and RuntimePool drain settings.
controller.acpRuntime.toolboxes.enabledfalseLet built-in Agents declare runtime.toolboxes, read-only tool images bound into runtime Pods. See Toolboxes.
controller.acpRuntime.toolboxes.allowedRegistries[]Registry hosts or host/path prefixes toolbox images may come from. Empty allows nothing.
controller.acpRuntime.toolboxes.imagePullSecrets[]Secret names in the runtime namespace added to runtime Pod imagePullSecrets when toolboxes are bound. Never mounted into containers.
controller.acpRuntime.toolboxes.nodeSelector{}Node selector merged into runtime Pods that bind toolboxes.
controller.acpRuntime.toolboxes.mountMethodcopycopy (init-container copier, every Kubernetes version) or imageVolume (Kubernetes 1.36+ with containerd 2.2+ or CRI-O 1.33+).
controller.acpRuntime.skills.enabledfalseLet built-in Agents declare runtime.skills. Requires toolboxes.enabled; skills reuse its registry allowlist, pull secrets, node selector, and mount method. See Runtime skills.
providerProxy.enabledfalseEnable the authenticated proxy when connecting built-in coding agents to your model gateway. Installation and AI-worker tasks do not require it.
providerProxy.upstreamBaseURL""Your gateway's HTTP(S) endpoint. Required when the proxy is enabled. Credentials, queries, and fragments are forbidden in the URL.
providerProxy.egress[]NetworkPolicy egress rules allowing the proxy to reach your gateway. Leave empty when upstreamBaseURL names an in-cluster Service; the chart then derives the rule from that Service at install time. Required for external gateways, named target ports, or offline renders. DNS access is always added.
providerProxy.auth.existingSecret""Existing current/optional-overlap proxy bearer Secret. RuntimePool copies are controller-managed.
providerProxy.tokenReloadInterval5sAtomic projected-Secret reload interval. Invalid generations fail readiness and forwarding closed.
publisher.enabledtrueDeploy the separate clean-room Workspace/Publisher service.
publisher.image.repository / publisher.image.tagworkspace publisher image / release versionPublisher image. Set publisher.image.digest to override the tag.
publisher.allowedSCMHostsgithub.comExact lower-case SCM hosts accepted by both Publisher validation and the SCM egress proxy.
publisher.auth.existingSecret""Existing controller-auth/capability Secret for publisher operations.
publisher.auth.rolloutNonce""Non-secret revision marker that restarts controller and Publisher during coordinated publisher-auth Secret rotation.
scmEgressProxy.enabledtrueRequire all Publisher Git and forge HTTPS traffic to traverse the dedicated authenticated proxy. The chart rejects publisher.enabled=true when this is false.
scmEgressProxy.auth.existingSecret""Existing Secret shared only by Publisher and proxy. Its token must contain 32-256 RFC 3986 unreserved characters.
scmEgressProxy.auth.rolloutNonce""Non-secret revision marker that restarts Publisher and SCM proxy during coordinated proxy-auth Secret rotation.
scmEgressProxy.maxTunnelBytes1073741824Maximum bytes allowed in each CONNECT tunnel direction.
scmEgressProxy.maxConcurrent8Maximum concurrent forward requests and CONNECT tunnels.
webhooks.tls.existingSecret""Your own TLS Secret for the admission webhooks. Empty lets the controller issue and renew a self-signed certificate in <release>-webhook-tls. See Webhook certificate.
webhooks.tls.certKey / webhooks.tls.privateKeyKeytls.crt / tls.keyCertificate and private-key keys inside the webhook TLS Secret.
webhooks.caBundle""Base64-encoded PEM CA bundle for an operator-supplied certificate. Leave empty with controller-issued TLS, which injects its own CA, or when webhooks.caInjectionAnnotations configures an injector.
webhooks.caInjectionAnnotations{}CA-injection annotations (for example cert-manager) placed on the chart ValidatingWebhookConfiguration. With webhooks.tls.existingSecret set, rendering fails unless this or webhooks.caBundle is set.
webhooks.timeoutSeconds10Admission webhook timeout.
controller.executionWorkspace.dispatchEnabledfalseEnable class-backed ACP dispatch through registered external providers.
controller.executionWorkspace.workerNamespaces[]Grant core read-only Pod observation in native worker namespaces; provider mutation RBAC is separate.
controller.substrate.mcpToolsEnabledfalseEnable in-tree native Substrate MCP Tool actors and actor pools.
controller.substrate.egressCredentialProvider""Credential provider class the Substrate egress gateway was installed with (only k8s.io). Enables MCP Tool egress[].credential; empty fails such Tools closed.
controller.executionWorkspace.allowProviderTokenInSandboxfalseDeliver the provider-proxy token into gateway-enforced native workspaces whose provider cannot inject it at the egress gateway. When false they fail admission.
controller.substrate.podCertificate.enabledfalseProject the controller's Substrate pod-certificate identity and service trust bundle. Required for MCP Tools unless another podidentity-signed client certificate is configured; the router admits only allowlisted pod certificates.
providerProxy.substrateEgressGateway.enabledfalseAdmit the Agent Substrate v1 egress gateway Pods (namespace, podLabels) to the provider-auth-proxy. Substrate Actors reach the proxy only through that gateway.
controller.substrate.routerUrlhttps://atenet-router.ate-system.svc:443Substrate router URL for Actor traffic. Must be https.
workers.ai.image.repositoryghcr.io/orka-agents/orka/ai-workerAI worker image
workers.general.image.repositoryghcr.io/orka-agents/orka/general-workerGeneral worker image
service.typeClusterIPService type
storage.bindings.state / storage.bindings.artifactssqlite / sqliteBackend for each storage contract: sqlite or a name in storage.adapters. See Storage bindings.
storage.adapters{}Storage adapters in the release namespace, keyed by name.
client.createtrueCreate client ServiceAccount for API access
client.nameorka-clientClient ServiceAccount name
client.namespaceHelm release namespaceClient ServiceAccount namespace; must match controller.watchNamespace.

Image overrides​

Released charts include matching version tags for the controller, workers, Publisher, and coding-agent runtimes. For controller, worker, and Publisher images, set image.tag to choose another version or image.digest to pin a SHA256 digest. A digest takes precedence over the tag.

The development chart uses version and image tag 0.0.0-dev, selecting the latest validated main build. For an exact checkout, use its sha-<full-commit> tags or the digest-pinned values.json from the Development Images workflow artifact. The workflow validates all nine images before updating rolling aliases; use pinned values to avoid mixing images during those individual tag updates.

Tagged controller, Publisher, and native worker images use Always pull policy. Digest-pinned native workers and RuntimePools remain cacheable with IfNotPresent. New image publication does not restart existing Pods. When testing source upgrades, --reuse-values retains prior references, so replace them and clear unused runtimes.

Runtime fields such as controller.acpRuntime.codexImage accept a full image reference with a tag or digest. The controller resolves tags to digests once at startup, so running sessions use fixed images. If any resolution fails, the controller logs the error, disables every coding-agent runtime for that process, and keeps running: AI and container Tasks work, agent Tasks fail closed as unavailable. Fix registry access or pin digests, then restart the controller. An explicit digest skips this lookup.

Tag resolution requires controller HTTPS access to a registry that allows anonymous pulls. Use digest references for private registries or installations without registry access from the controller. Cluster nodes still need access to pull the configured images. Set an individual runtime image to an empty string to disable that provider.

Snapshot encryption key​

The controller encrypts agent execution snapshots at rest with an AES-256 key mounted from a Secret. By default the chart renders an empty Secret named <release>-agent-execution-snapshot and the controller mints 32 random bytes into it when it creates a new SQLite dataset, then reuses them on every later start. The chart never renders key material, so Helm release history and dry-run output contain no secrets, and Helm leaves the controller-written data alone on upgrade. The Secret is kept on helm uninstall so a restored data volume can still be decrypted. Back it up with the data volume.

The controller decides whether it may mint a key from the dataset history recorded inside the SQLite database, not from whether the database file exists. It mints a key only for a new dataset that has never completed key bootstrap and holds no records. A dataset that completed bootstrap, or was adopted from an older layout during an upgrade, needs its existing key even if every record has since been deleted. If the Secret is empty for such a dataset, the key was lost, and the controller refuses to start rather than mint a new key that could not read the existing records. Restore the Secret from backup, or delete the data volume to start over. See Dataset identity and key bootstrap.

To bring your own key, create the Secret before installing and set controller.agentExecutionSnapshot.existingSecret. The item must hold exactly 32 raw bytes or their base64 encoding:

kubectl -n orka-system create secret generic orka-agent-snapshot-key \
--from-literal=key="$(openssl rand -base64 32)"
helm install orka orka/orka --namespace orka-system \
--set-string controller.agentExecutionSnapshot.existingSecret=orka-agent-snapshot-key \
--set-string controller.agentExecutionSnapshot.key=key \
...

The Secret name, item key, and key material are immutable for the life of the release. Helm rejects an upgrade that changes the name or item, including a switch between the generated Secret and your own. It cannot detect changed bytes under the same name, so never rotate the material in place, and never run helm upgrade --force, which replaces the Secret with the chart's empty version.

Webhook certificate​

Orka validates its resources through fail-closed Kubernetes admission webhooks served by the controller. Those webhooks need a serving certificate that the API server trusts. The chart supports two ways to provide it.

Controller-managed, the default. With webhooks.tls.existingSecret empty, the chart renders an empty Secret named <release>-webhook-tls and the controller fills it using cert-controller, the library Gatekeeper uses for the same job. It mints a ten-year self-signed CA and a one-year serving certificate, renews the serving certificate before expiry, and writes the CA into the caBundle of the release's ValidatingWebhookConfiguration. The Secret is the source of truth and is kept on helm uninstall, so a reinstall under the same release name reuses the CA. The chart never renders certificate material. The Secret is mounted into the controller Pod, and the Pod reports ready only after the kubelet has projected the certificate and the CA is injected, which can take about a minute on a fresh install. Never run helm upgrade --force, which replaces the Secret with the chart's empty version. This grants the controller list and watch on all ValidatingWebhookConfigurations, which cannot be name-scoped, plus update on its own. Because that update is whole-object, a ValidatingAdmissionPolicy installed with the release lets the controller's ServiceAccount change nothing on that configuration except each webhook's caBundle, so a compromised controller cannot repoint or widen its own admission webhooks.

Operator-supplied. Set webhooks.tls.existingSecret to a Secret holding tls.crt and tls.key valid for <release>-webhook.<namespace>.svc, and supply the CA either as webhooks.caBundle or through webhooks.caInjectionAnnotations. The controller then only reads the mounted files and never touches the webhook configuration.

webhooks:
tls:
existingSecret: orka-webhook-tls
caInjectionAnnotations:
cert-manager.io/inject-ca-from-secret: orka-system/orka-webhook-tls

For a one-off self-signed certificate without cert-manager:

(
umask 077
openssl req -x509 -newkey rsa:2048 -nodes -sha256 -days 365 \
-keyout tls.key -out tls.crt \
-subj '/CN=orka-webhook.orka-system.svc' \
-addext 'subjectAltName=DNS:orka-webhook.orka-system.svc,DNS:orka-webhook.orka-system.svc.cluster.local' &&
cp tls.crt ca.crt
)
kubectl -n orka-system create secret generic orka-webhook-tls \
--type=kubernetes.io/tls \
--from-file=tls.crt=tls.crt --from-file=tls.key=tls.key --from-file=ca.crt=ca.crt
rm -f tls.key tls.crt ca.crt
helm install orka orka/orka --namespace orka-system \
--set-string webhooks.tls.existingSecret=orka-webhook-tls \
--set-string webhooks.caBundle="$(kubectl -n orka-system get secret orka-webhook-tls -o jsonpath='{.data.ca\.crt}')" \
...

Switching between the two modes is an ordinary helm upgrade. A certificate for any other name is rejected by the API server at admission time, not at install time.

Helm authentication Secret rotation​

The Publisher, SCM proxy, and controller clients load these credentials at process startup. Update the Secret and bump its corresponding nonce in the same Helm upgrade: use publisher.auth.rolloutNonce for the publisher-auth Secret, and scmEgressProxy.auth.rolloutNonce for the SCM proxy-auth Secret. The publisher nonce is applied only to controller and Publisher Pod templates; the SCM nonce is applied only to Publisher and SCM proxy Pod templates. Nonces are safe revision strings, not Secret values. Coordinated rotation can briefly fail closed while Pods roll but prevents stale or split credential generations from persisting.

Canonical Kustomize overlay​

Direct Kustomize deployments must use:

kubectl apply -k config/acp-production

config/acp-production composes the CRD-free config/acp-workload base with the cross-namespace Vekil ingress NetworkPolicy. Applying config/default alone omits the boundary that prevents runtime Pods from bypassing the authenticated provider proxy. Configure the required system Secrets and digest-pinned controller, Publisher, Codex, Claude, Copilot, and OpenCode images before applying the overlay. make deploy validates those image references and applies the equivalent resource set.

The overlay contains no CRDs. Install the shared CRDs from config/crd — all 29 production CRDs, without the two development-only fake.workspace.orka.ai CRDs — through your cluster's designated CRD owner before deploying workloads. The Helm chart carries the same 29. make deploy checks that the required shared CRDs are already established.

ACP storage split​

The --store-backend=sqlite flag does not make SQLite authoritative for ACP control transitions. ControllerEpoch, PromptAttempt, RuntimeSessionControl, BranchClaim, Publication, and ExternalEffect status plus coordination Leases are the control authority. SQLite stores transcript/SessionTurn payloads, deferred outbox projections, and artifacts behind those Kubernetes fences.

For the Kustomize deployment, create the proxy-auth Secret before applying config/acp-production (the Secret is intentionally not stored in Git):

token="$(openssl rand -hex 32)"
kubectl -n orka-system create secret generic scm-egress-proxy-auth \
--from-literal=token="$token"
unset token

The token is an ingress credential for the proxy only; it is not a Git or forge credential. config/publisher sets HTTPS_PROXY/NO_PROXY, and the Publisher copies only those validated proxy variables into its otherwise empty Git subprocess environments. The Publisher NetworkPolicy has no public 0.0.0.0/0 rule. Only the SCM egress proxy may reach public port 443.

cmd/orka-workspace-publisher also requires ORKA_PUBLISHER_ARTIFACT_AUTHORIZATION_BROKER_URL, ORKA_PUBLISHER_CREDENTIAL_BROKER_URL, and ORKA_PUBLISHER_SCM_EGRESS_PROXY_REQUIRED=true in normal startup.

ORKA_PUBLISHER_ALLOW_DEVELOPMENT_FALLBACKS is for isolated local tests only

It turns on the legacy local artifact signing key, a filesystem credential root, and proxy-less mode — three of the boundaries that keep publication credentials away from the agent. Never set it in a cluster manifest.

When ORKA_PUBLISHER_PUBLISH_TIMEOUT is raised above the default on the Publisher, set the same value on the controller Deployment as well. The controller bounds each publisher-backed external-effect call and sizes the effect's ledger lease from this timeout plus a settlement margin; without the controller-side value, publisher operations are clamped to the default four-minute call bound. Brokered custom-Tool calls always keep the fixed four-minute clamp that their Tool descriptors were admitted under.

Storage bindings​

Orka stores application data under two contracts: state (Sessions, results, gateway and control records) and artifacts (artifact bytes and metadata). storage.bindings names the backend for each. With both on sqlite (the default) the controller keeps --store-backend=sqlite and --store-path. When a contract names an adapter, the chart renders the <release>-storage ConfigMap, passes it with --storage-config, and restarts the controller when it changes:

storage:
bindings:
state: postgres
artifacts: postgres
adapters:
postgres:
serviceRef: {name: orka-storage-postgres, port: 8443} # or url: https://...
tls:
serverName: orka-storage-postgres.orka-system.svc # optional
caSecretRef: {name: orka-storage-postgres-ca, key: ca.crt} # optional; system roots otherwise
clientAuth:
bearerTokenSecretRef: {name: orka-storage-postgres-client, key: token}

Each adapter sets exactly one of serviceRef and an https:// url, and must be bound to at least one contract. Services and Secrets are in the release namespace. The controller reads the Secrets directly at startup; they are not mounted. A bearer token needs at least 32 visible ASCII characters.

SQLite only in this release

The controller cannot reach a storage adapter yet. With a contract bound to an adapter it reports AdapterTransportUnavailable and does not start, and it never falls back to SQLite. Keep both bindings on sqlite. The store volume is required either way.

Helm CRD lifecycle​

CRD behavior is not controlled through chart values. A fresh install creates all CRDs in the chart unless --skip-crds is used. Because CRDs are cluster-scoped, designate one lifecycle owner and use --skip-crds for other Orka releases. Helm does not update CRDs during helm upgrade; apply the CRDs from the exact target chart before upgrading the controller. Helm retains CRDs and Orka custom resources on uninstall. See the Helm CRD lifecycle guide.

Each installation owns a separate watched namespace, runtime namespace, endpoint, RBAC, Lease, database, and credentials. See installation ownership.

Context-token flags can also be configured through Helm under controller.contextToken. For example:

controller:
contextToken:
profile: transaction-token
issuer: https://issuer.example.com
audience: orka
headers: Txn-Token
authzMode: enforce
scopes:
taskCreate: orka:tasks:create
providerUse: orka:providers:use
toolUse: orka:tools:use
secretCredentialRead: orka:secrets:credentials:read
monitorRead: orka:monitors:read
monitorWrite: orka:monitors:write
monitorOperate: orka:monitors:operate
connectorRead: orka:connectors:read
connectorManage: orka:connectors:manage
gatewayRead: orka:gateways:read
gatewayOperate: orka:gateways:operate
tts:
endpoint: https://tts.example.com/oauth/token
audience: orka-workers
timeout: 5s
tokenSource: serviceAccount
childScope: orka:tasks:create
outboundScope: orka:tools:use
childTokenTTL: 5m
toolTokenTTL: 2m
outboundAccess:
trustedGatewayServices:
- gateway-system/agentgateway:8080
trustedTokenEndpointServices:
- identity-system/token-service:8443

The Helm keys mirror the controller flags: for example, controller.contextToken.jwksUrl renders --context-token-jwks-url, controller.contextToken.scopes.secretRead renders --context-token-secret-read-scopes, controller.contextToken.scopes.secretCredentialRead renders --context-token-secret-credential-read-scopes, controller.contextToken.scopes.monitorRead renders --context-token-monitor-read-scopes, controller.contextToken.scopes.gatewayRead renders --context-token-gateway-read-scopes, and controller.contextToken.tts.toolTokenTTL renders --context-token-tool-token-ttl.

See charts/orka/values.yaml for the full list.

Controller flags​

FlagDefaultDescription
--api-port8080REST API server port
--dashboard-enabledfalseServe the embedded web dashboard on the API port. Without it, paths outside the APIs answer with a JSON 404, orka dashboard stops with an error, and the connector consent callback lands on a plain page that shows the orka connection complete command. Helm: controller.dashboard.enabled. Env: ORKA_DASHBOARD_ENABLED
--agent-use-authorization-enabledfalseRequire the use verb on an Agent before API callers create a Task, or create or edit a RepositoryScan or RepositoryMonitor, that names it. Pair it with the policies in config/agent-use-policy so direct Kubernetes writes are checked too; the Helm value installs both. Identity-bound Agents rely on those policies and the controller does not detect them, so set the flag outside Helm only once they are installed. See API authorization. Helm: controller.agentUseAuthorization.enabled. Env: ORKA_AGENT_USE_AUTHORIZATION_ENABLED
--provider-use-authorization-enabledfalseRequire the use verb on a Provider before API callers create a Task whose spec.ai.providerRef names it, create or edit an Agent so that its providerRef or model fallbacks name it, or send a chat request that resolves to it. Pair it with the policies in config/provider-use-policy so direct Kubernetes writes of Tasks and Agents are checked too; the Helm value installs both. See API authorization. Helm: controller.providerUseAuthorization.enabled. Env: ORKA_PROVIDER_USE_AUTHORIZATION_ENABLED
--agent-identity-entra-tenant-idemptyEntra tenant of the agent identity blueprint. Set together with --agent-identity-entra-blueprint-client-id to accept Agent.spec.identity.entra; both must be GUIDs. The controller then also requires Task provenance admission (--task-provenance-admission-enabled or --task-provenance-admission-external), which Helm always enables. Helm: controller.agentIdentity.entra.tenantID. Env: ORKA_AGENT_IDENTITY_ENTRA_TENANT_ID
--agent-identity-entra-blueprint-client-idemptyClient ID of the Entra agent identity blueprint that every bound identity belongs to. Helm: controller.agentIdentity.entra.blueprintClientID. Env: ORKA_AGENT_IDENTITY_ENTRA_BLUEPRINT_CLIENT_ID
--agent-identity-entra-authorityhttps://login.microsoftonline.comEntra authority for agent identity tokens, for example a sovereign cloud's login URL. Must be https, without credentials, query, or fragment. A non-default authority is part of the issuer instance Task bindings freeze, so changing it fails bound Tasks' identity-backed calls closed. Helm: controller.agentIdentity.entra.authority. Env: ORKA_AGENT_IDENTITY_ENTRA_AUTHORITY
--agent-identity-token-file/var/run/secrets/orka.ai/agent-identity/tokenProjected ServiceAccount token, audienced to api://AzureADTokenExchange, that the controller presents as the blueprint's federated credential. The chart mounts it when controller.agentIdentity.entra.tenantID is set, and then also installs a ValidatingAdmissionPolicy for the controller's namespace: only the ReplicaSet controller may create Pods running as the controller ServiceAccount, and only for the controller Deployment's ReplicaSets, and nobody may change their spec or add ephemeral containers, only the Deployment controller may create such ReplicaSets or change their Pod templates, and only under the controller Deployment's name, so no other ReplicaSet running as it can create Pods even when scaled up, only the controller Deployment may name it, only the kubelet may request tokens for it, no Job, CronJob, StatefulSet, DaemonSet, or ReplicationController may run as it, no kubernetes.io/service-account-token Secret may be created for it or, if one already exists, changed by anyone but the token controller, and nobody may run a command (kubectl exec) in the controller Deployment's Pods. Delete any such Secret, and any Pod already running as the controller ServiceAccount that the controller Deployment did not create, before you enable agent identities, and enforce at least the baseline Pod Security profile on the namespace so no privileged or hostPath Pod can read the token from its node, and delete any running Pod that breaks it first, since admission evicts none (see Security). Env: ORKA_AGENT_IDENTITY_TOKEN_FILE
--agent-identity-max-delegation-age24hLongest maxDelegationAge any agentIdentity policy in Delegated mode may use; longer values are capped. Env: ORKA_AGENT_IDENTITY_MAX_DELEGATION_AGE
--gateway-enabledtrueEnable generic gateway reconciliation and ingress
--mcp-server-enabledfalseServe the control-plane MCP endpoint at /mcp on the API port so IDE agents can delegate Tasks. Every tool runs with the caller's own REST API permissions. See MCP server. Env: ORKA_MCP_SERVER_ENABLED
--mcp-max-concurrent16Max concurrent MCP requests per API replica. Waiting tools (wait_for_task, tasks/result) release their slot and use a separate pool of half as many wait slots (at least one); excess waits are refused. Excess requests receive HTTP 429
--connectors-enabledfalseEnable per-user connector reconciliation (ConnectorProvider and Connection). Requires Task provenance admission (--task-provenance-admission-enabled or --task-provenance-admission-external); the controller refuses to start otherwise, because connector use trusts spec.requestedBy only when the API server provably stamped it. Env: ORKA_CONNECTORS_ENABLED
--enable-ahp-apifalseServe the Agent Host Protocol at /ahp and the /api/v1/ahp-tokens routes, offering Orka's built-in runtimes as AHP agents. Requires Task provenance admission (--task-provenance-admission-enabled or --task-provenance-admission-external). Helm: controller.ahp.enabled. Env: ORKA_ENABLE_AHP_API
--ahp-token-max-ttl2160hLongest lifetime an AHP connection token may be minted with. The default lifetime is 720h, or this maximum when it is lower. Helm: controller.ahp.tokenMaxTTL
--ahp-git-credential-secret""Secret in each AHP user's namespace whose token key clones and publishes their github.com repositories; it is never sent to another host. Without it, AHP sessions clone public repositories read-only. Helm: controller.ahp.gitCredentialSecret. Env: ORKA_AHP_GIT_CREDENTIAL_SECRET
--ahp-workspace-class""ExecutionWorkspaceClass for session-scoped AHP workspaces, so a session's files stay warm between turns. Empty publishes each write turn to the session branch and starts the next turn from it. Helm: controller.ahp.workspaceClass. Env: ORKA_AHP_WORKSPACE_CLASS
--ahp-turn-timeout2hTimeout of each AHP turn's Task. Helm: controller.ahp.turnTimeout
--ahp-workspace-namespaceorka-ahp-workspacesNamespace for AHP users' workspace Pods: git checkouts of their projects and sessions, and their terminals. Helm: controller.ahp.workspaceNamespace. Env: ORKA_AHP_WORKSPACE_NAMESPACE
--ahp-workspace-image""Digest-pinned image with sh, git and the common tools Orka's scripts run there (cat, dirname, find, grep, head, ls, mkdir, mktemp, mv, readlink, rm, sed, sleep, stat) for AHP workspaces. Empty disables workspaces and terminals. Helm: controller.ahp.workspaceImage. Env: ORKA_AHP_WORKSPACE_IMAGE
--ahp-workspace-idle-timeout4hRemove an AHP workspace this long after its last use, while no shell or turn runs and nothing in it is unpushed. 0 keeps workspaces until their user's last session and shell end. Helm: controller.ahp.workspaceIdleTimeout
--ahp-workspace-connector-provider""ConnectorProvider, in each user's namespace, whose github.com links give that user's AHP workspace read access to their private repositories. Requires --connectors-enabled. Helm: controller.ahp.workspaceConnectorProvider. Env: ORKA_AHP_WORKSPACE_CONNECTOR_PROVIDER
--connectors-allow-private-endpointsemptyLocal fixtures only. Accept private, loopback, and cluster-local connector provider endpoints and, for Tools behind a connection-mode or agentIdentity outbound access policy, private tool endpoints (HTTPS is still required), and let linked-account and Agent identity requests reach them over the same hardened transport (no proxy, verified TLS). A person's or an Agent's token would be sent to such an address, so the flag takes only the literal i-understand-tokens-may-leave-the-cluster, and the controller refuses to start with it unless --connector-callback-base-url is a plain-http localhost origin, which no production deployment has. The Live Connectors E2E uses it for its in-cluster fake provider, and the Agent identity E2E for its in-cluster fake Entra resource. Env: ORKA_CONNECTORS_ALLOW_PRIVATE_ENDPOINTS
--connector-callback-base-urlORKA_CONNECTOR_CALLBACK_BASE_URL env or ""Required with --connectors-enabled. Absolute https origin (scheme and host only, no path) the OAuth provider redirects back to; the provider must register exactly this origin plus /api/v1/connections/callback. Plain http is accepted only for localhost. Helm: controller.connectors.callbackBaseUrl. Sealed linked-account credentials live in the controller store, which the chart already requires to be persistent in every mode.
--gateway-pending-per-session100Maximum pending gateway events per Session
--gateway-interim-messages-per-task10Lifetime cap for distinct accepted interim messages per Task; failed/expired messages count, retries do not. Helm: controller.gateway.interimMessagesPerTask
--gateway-max-records-per-gateway1000Maximum retained accepted/dead-letter event records per Gateway before ingress is throttled
--gateway-max-rejected-records-per-gateway250Separate audit budget for rejected events so unauthorized traffic cannot consume operational capacity
--gateway-event-expiry24hQueue and delivery retry expiry
--gateway-terminal-retention720hTerminal event and delivery retention
--gateway-delivery-timeout15sOne synchronous adapter delivery timeout
--gateway-delivery-max-attempts10Delivery attempts before dead-lettering
--gateway-claim-lease1mEvent and delivery claim lease
--gateway-poll-interval500msDispatcher and delivery poll interval
--gateway-batch-size25Maximum gateway records processed per iteration
--controller-mode / ORKA_CONTROLLER_MODEharness-v2Fixed harness-v2 protocol identity. Other values are rejected.
--watch-namespacerequiredOne non-empty watched namespace. Its orka.ai/controller-mode label must match; the controller adds it when absent.
--claim-namespace-modetrueLabel an unlabeled watched namespace with the controller's mode on first start. Set false to require an operator-applied label.
--enforce-namespace-isolationfalseRestrict users to their ServiceAccount's namespace
--max-tasks-per-namespace0Max active tasks per namespace (0 = unlimited)
--acp-permission-timeoutORKA_ACP_PERMISSION_TIMEOUT env or 0How long built-in runtimes wait for the answer to a permission request, between 1m and 1h. Bounds how long a Task's requester has to decide a held permission request. 0 keeps the runtime default of 5m
--acp-workspace-dispatch-enabledORKA_ACP_WORKSPACE_DISPATCH_ENABLED env or falseAdmit workspace-provider-backed ACP RuntimeSession dispatch; when false, workspace-backed agent Tasks fail closed
--acp-workspace-allow-provider-token-in-sandboxORKA_ACP_WORKSPACE_ALLOW_PROVIDER_TOKEN_IN_SANDBOX env or falseDeliver the provider-proxy token into gateway-enforced native workspaces whose provider cannot inject it at the egress gateway; when false they fail admission
--operator-workspace-access-enabledfalseServe orka task exec / orka task cp. Each call also needs the class acp.workspace.orka.ai/operator-access opt-in and the tasks/exec or tasks/files permission; write-capable access taints the session. Requires Task provenance admission. See Operator workspace access
--substrate-mcp-tools-enabledORKA_SUBSTRATE_MCP_TOOLS_ENABLED env or falseEnable native MCP Tool actors and actor pools; does not allocate ACP workspaces.
--substrate-egress-credential-providerORKA_SUBSTRATE_EGRESS_CREDENTIAL_PROVIDER env or emptyCredential provider class the Substrate egress gateway was installed with (only k8s.io); enables MCP Tool egress credentials, which otherwise fail closed.
--acp-toolboxes-enabledORKA_ACP_TOOLBOXES_ENABLED env or falseLet built-in Agents declare runtime.toolboxes. Off by default; see Toolboxes
--acp-toolbox-allowed-registriesORKA_ACP_TOOLBOX_ALLOWED_REGISTRIES env or ""Comma-separated registry hosts or host/path prefixes toolbox images may come from. Empty allows nothing
--acp-toolbox-image-pull-secretsORKA_ACP_TOOLBOX_IMAGE_PULL_SECRETS env or ""Comma-separated Secret names in the runtime namespace added to runtime Pod imagePullSecrets when toolboxes are bound
--acp-toolbox-node-selectorORKA_ACP_TOOLBOX_NODE_SELECTOR env or ""Comma-separated key=value node selector merged into runtime Pods that bind toolboxes
--acp-toolbox-mount-methodORKA_ACP_TOOLBOX_MOUNT_METHOD env or copycopy or imageVolume. With imageVolume on an API server older than 1.36, toolbox Agents are rejected with ToolboxUnavailable; there is no silent fallback
--acp-skills-enabledORKA_ACP_SKILLS_ENABLED env or falseLet built-in Agents declare runtime.skills. Requires --acp-toolboxes-enabled; see Runtime skills
--controller-url""Base URL workers use to reach the controller API (e.g., http://orka-api.orka-system.svc.cluster.local:8080). Required for worker result callbacks and session transcript fetching. Native Substrate workspaces need the fully qualified Service name; Core refuses <service>.<namespace>.svc for them
--oidc-issuerORKA_OIDC_ISSUER env or ""OIDC issuer URL for external API bearer token validation. Requires --oidc-audience when set
--oidc-audienceORKA_OIDC_AUDIENCE env or ""Expected OIDC audience for external API bearer tokens. Requires --oidc-issuer when set
--oidc-jwks-urlORKA_OIDC_JWKS_URL env or ""Optional JWKS URL. When empty, Orka discovers it from the issuer metadata
--oidc-allowed-subjectsORKA_OIDC_ALLOWED_SUBJECTS env or ""Comma-separated OIDC subject allowlist patterns. Empty allows no OIDC caller; a verified caller is answered 403 with its subject, so the first subjects can be found before any are listed
--oidc-namespaceORKA_OIDC_NAMESPACE env or defaultNamespace assigned to authorized OIDC callers for namespace isolation
--context-token-profileORKA_CONTEXT_TOKEN_PROFILE env or ""Context-token profile for external API requests. Currently supports transaction-token
--context-token-issuerORKA_CONTEXT_TOKEN_ISSUER env or ""Context-token issuer URL. Requires --context-token-profile and --context-token-audience when set
--context-token-audienceORKA_CONTEXT_TOKEN_AUDIENCE env or ""Expected context-token audience. Requires --context-token-profile and --context-token-issuer when set
--context-token-jwks-urlORKA_CONTEXT_TOKEN_JWKS_URL env or ""Optional context-token JWKS URL. For transaction-token, defaults to <issuer>/.well-known/jwks.json
--context-token-headersORKA_CONTEXT_TOKEN_HEADERS env or ""Comma-separated context-token header locations. Use Header for raw tokens or Header:Scheme for scheme-prefixed tokens. The transaction-token default is Txn-Token
--context-token-authz-modeORKA_CONTEXT_TOKEN_AUTHZ_MODE env or ""Context-token authorization mode: off, audit, or enforce. Empty defaults to off
--context-token-task-create-scopesORKA_CONTEXT_TOKEN_TASK_CREATE_SCOPES env or ""Comma-separated scopes authorizing Task creation. Defaults to orka:tasks:create
--context-token-task-read-scopesORKA_CONTEXT_TOKEN_TASK_READ_SCOPES env or ""Comma-separated scopes authorizing Task reads and related data. Defaults to orka:tasks:get
--context-token-task-list-scopesORKA_CONTEXT_TOKEN_TASK_LIST_SCOPES env or ""Comma-separated scopes authorizing Task listing. Defaults to orka:tasks:list
--context-token-task-delete-scopesORKA_CONTEXT_TOKEN_TASK_DELETE_SCOPES env or ""Comma-separated scopes authorizing Task deletion. Defaults to orka:tasks:delete
--context-token-tool-read-scopesORKA_CONTEXT_TOKEN_TOOL_READ_SCOPES env or ""Comma-separated scopes authorizing Tool reads. Defaults to orka:tools:read
--context-token-tool-use-scopesORKA_CONTEXT_TOKEN_TOOL_USE_SCOPES env or ""Comma-separated scopes authorizing Orka-managed chat/OpenAI/Anthropic tool execution. Defaults to orka:tools:use
--context-token-provider-use-scopesORKA_CONTEXT_TOKEN_PROVIDER_USE_SCOPES env or ""Comma-separated scopes authorizing chat/OpenAI/Anthropic model-provider use and model listing. Defaults to orka:providers:use
--context-token-secret-read-scopesORKA_CONTEXT_TOKEN_SECRET_READ_SCOPES env or ""Comma-separated scopes authorizing Secret metadata reads. Defaults to orka:secrets:read
--context-token-secret-credential-read-scopesORKA_CONTEXT_TOKEN_SECRET_CREDENTIAL_READ_SCOPES env or ""Comma-separated scopes authorizing Secret data or ServiceAccount tokens as outbound credentials. Defaults to orka:secrets:credentials:read
--context-token-agent-read-scopesORKA_CONTEXT_TOKEN_AGENT_READ_SCOPES env or ""Comma-separated scopes authorizing Agent reads. Defaults to orka:agents:read
--context-token-agent-write-scopesORKA_CONTEXT_TOKEN_AGENT_WRITE_SCOPES env or ""Comma-separated scopes authorizing Agent writes. Defaults to orka:agents:write
--context-token-memory-read-scopesORKA_CONTEXT_TOKEN_MEMORY_READ_SCOPES env or ""Comma-separated scopes authorizing memory reads. Defaults to orka:memory:read
--context-token-memory-write-scopesORKA_CONTEXT_TOKEN_MEMORY_WRITE_SCOPES env or ""Comma-separated scopes authorizing memory writes. Defaults to orka:memory:write
--context-token-session-read-scopesORKA_CONTEXT_TOKEN_SESSION_READ_SCOPES env or ""Comma-separated scopes authorizing session reads. Defaults to orka:sessions:read
--context-token-session-write-scopesORKA_CONTEXT_TOKEN_SESSION_WRITE_SCOPES env or ""Comma-separated scopes authorizing session writes/deletes. Defaults to orka:sessions:write
--context-token-security-read-scopesORKA_CONTEXT_TOKEN_SECURITY_READ_SCOPES env or ""Comma-separated scopes authorizing security scan reads. Defaults to orka:security:read
--context-token-security-write-scopesORKA_CONTEXT_TOKEN_SECURITY_WRITE_SCOPES env or ""Comma-separated scopes authorizing security scan creates, updates, deletes, and other mutations. Defaults to orka:security:write
--context-token-monitor-read-scopesORKA_CONTEXT_TOKEN_MONITOR_READ_SCOPES env or ""Comma-separated scopes authorizing repository monitor reads. Defaults to orka:monitors:read
--context-token-monitor-write-scopesORKA_CONTEXT_TOKEN_MONITOR_WRITE_SCOPES env or ""Comma-separated scopes authorizing repository monitor create, update, and delete operations. Defaults to orka:monitors:write
--context-token-monitor-operate-scopesORKA_CONTEXT_TOKEN_MONITOR_OPERATE_SCOPES env or ""Comma-separated scopes authorizing repository monitor manual runs. Defaults to orka:monitors:operate
--context-token-connector-read-scopesORKA_CONTEXT_TOKEN_CONNECTOR_READ_SCOPES env or ""Comma-separated scopes authorizing a person to read their own connector Connections. Defaults to orka:connectors:read
--context-token-connector-manage-scopesORKA_CONTEXT_TOKEN_CONNECTOR_MANAGE_SCOPES env or ""Comma-separated scopes authorizing a person to link, update, and disconnect their own connector Connections. Defaults to orka:connectors:manage
--context-token-skill-read-scopesORKA_CONTEXT_TOKEN_SKILL_READ_SCOPES env or ""Comma-separated scopes authorizing Skill reads. Defaults to orka:skills:read
--context-token-skill-write-scopesORKA_CONTEXT_TOKEN_SKILL_WRITE_SCOPES env or ""Comma-separated scopes authorizing Skill writes. Defaults to orka:skills:write
--context-token-gateway-read-scopesORKA_CONTEXT_TOKEN_GATEWAY_READ_SCOPES env or ""Comma-separated scopes authorizing gateway resource and ledger reads. Defaults to orka:gateways:read
--context-token-gateway-operate-scopesORKA_CONTEXT_TOKEN_GATEWAY_OPERATE_SCOPES env or ""Comma-separated scopes authorizing dead-lettered delivery retries. Defaults to orka:gateways:operate
--context-token-tts-endpointORKA_CONTEXT_TOKEN_TTS_ENDPOINT env or ""Exact transaction-token TTS OAuth endpoint for optional exchange/replacement
--context-token-tts-audienceORKA_CONTEXT_TOKEN_TTS_AUDIENCE env or ""Audience requested from transaction-token TTS exchanges
--context-token-tts-timeoutORKA_CONTEXT_TOKEN_TTS_TIMEOUT env or ""Timeout for transaction-token TTS exchanges. Defaults to 5s when TTS is enabled
--context-token-tts-token-sourceORKA_CONTEXT_TOKEN_TTS_TOKEN_SOURCE env or ""Subject token source for TTS exchanges: serviceAccount, incoming, or none. Defaults to serviceAccount when TTS is enabled
--context-token-subject-token-typeORKA_CONTEXT_TOKEN_SUBJECT_TOKEN_TYPE env or ""Subject token type for worker-side TTS exchanges. Workers default to TxToken subject tokens when empty
--context-token-child-scopeORKA_CONTEXT_TOKEN_CHILD_SCOPE env or ""Scope workers request for child delegated TxTokens when TTS is configured
--context-token-outbound-scopeORKA_CONTEXT_TOKEN_OUTBOUND_SCOPE env or ""Scope workers request for outbound HTTP Tool TxTokens when TTS is configured
--context-token-child-token-ttlORKA_CONTEXT_TOKEN_CHILD_TOKEN_TTL env or ""Requested TTL for child delegation TxTokens. Defaults to 5m when TTS is enabled
--context-token-tool-token-ttlORKA_CONTEXT_TOKEN_TOOL_TOKEN_TTL env or ""Requested TTL for outbound tool TxTokens. Defaults to 2m when TTS is enabled
--outbound-access-trusted-gateway-servicesORKA_OUTBOUND_ACCESS_TRUSTED_GATEWAY_SERVICES env or ""Comma-separated exact namespace/name:port cross-namespace gateway Service refs; wildcards are rejected
--outbound-access-trusted-token-endpoint-servicesORKA_OUTBOUND_ACCESS_TRUSTED_TOKEN_ENDPOINT_SERVICES env or ""Comma-separated exact namespace/name:port cross-namespace token endpoint Service refs; wildcards are rejected
--task-provenance-admission-enabledORKA_TASK_PROVENANCE_ADMISSION_ENABLED env or falseEnable validating admission that rejects untrusted direct Kubernetes Task writes to Orka-managed provenance fields (spec.requestedBy, spec.transaction, and transaction metadata labels/annotations)
--task-provenance-admission-externalORKA_TASK_PROVENANCE_ADMISSION_EXTERNAL env or falseDeclare that a separately deployed fail-closed Task provenance webhook protects coordination ancestry and workspace settlement metadata without hosting a manager webhook
--task-provenance-admission-trusted-usersORKA_TASK_PROVENANCE_ADMISSION_TRUSTED_USERS env or controller ServiceAccount usernamesComma-separated Kubernetes usernames trusted to set Orka-managed Task provenance fields
--task-provenance-admission-trusted-service-accountsORKA_TASK_PROVENANCE_ADMISSION_TRUSTED_SERVICE_ACCOUNTS env or configured AI/vendor worker ServiceAccountsComma-separated ServiceAccount names trusted in the target Task namespace to set Orka-managed Task provenance fields for child Task creation. Explicit values override the worker ServiceAccount defaults.
--task-webhook-delivery-workers8Task webhook attempts the controller sends at once (1-256). Delivery runs outside Task reconciliation, so slow receivers only delay other webhook notices, never Task processing, and only once this many attempts are in flight. See Task webhooks.
--ai-worker-imageghcr.io/orka-agents/orka/ai-worker:latestNative AI worker container image
--acp-runtime-namespace / ORKA_ACP_RUNTIME_NAMESPACEorka-runtimesNamespace for managed runtime Deployments, Services, Secrets, and policies.
--acp-runtime-pool-max-running-prompts4Concurrent prompts in each new built-in runtime RuntimePool; cannot exceed --acp-runtime-pool-max-resident-sessions.
--acp-runtime-pool-max-resident-sessions10Resident RuntimeSessions in each new built-in runtime RuntimePool (1-1000).
--acp-dispatch-max-concurrent-tasks4Agent Tasks the controller runs through ACP runtimes at once, across all RuntimePools (1-1000). Each running prompt holds one place, so pool capacity above this value is not used. A coordinator Task waiting on ACP child Tasks keeps its place, so keep this above the number of coordinators that can wait at once.
--acp-provider-proxy-namespace / ORKA_ACP_PROVIDER_PROXY_NAMESPACE""Approved provider-proxy namespace selector. The Helm chart uses its release namespace when the proxy is enabled.
--acp-provider-proxy-base-url / ORKA_ACP_PROVIDER_PROXY_BASE_URLunsetAuthenticated provider-proxy URL injected into built-in RuntimePools. Native Substrate workspaces need the fully qualified Service name (<service>.<namespace>.svc.<cluster domain>); Core refuses <service>.<namespace>.svc for them.
--acp-provider-proxy-pod-labels / ORKA_ACP_PROVIDER_PROXY_POD_LABELSorka.ai/network-role=provider-auth-proxyExact Pod labels selected by RuntimePool egress policy.
--acp-provider-proxy-token-file / ORKA_ACP_PROVIDER_PROXY_TOKEN_FILEunsetController-mounted bearer file copied into generation-scoped immutable RuntimePool Secrets.
--acp-codex-runtime-image / ORKA_ACP_CODEX_RUNTIME_IMAGEunsetCodex runtime image with an explicit tag or SHA256 digest. Tags are resolved at startup.
--acp-claude-runtime-image / ORKA_ACP_CLAUDE_RUNTIME_IMAGEunsetClaude runtime image with an explicit tag or SHA256 digest. Tags are resolved at startup.
--acp-copilot-runtime-image / ORKA_ACP_COPILOT_RUNTIME_IMAGEunsetGitHub Copilot runtime image with an explicit tag or SHA256 digest. Tags are resolved at startup.
--acp-opencode-runtime-image / ORKA_ACP_OPENCODE_RUNTIME_IMAGEunsetOpenCode runtime image with an explicit tag or SHA256 digest. Tags are resolved at startup.
--general-worker-imageghcr.io/orka-agents/orka/general-worker:latestGeneral worker container image
--session-loader-imageDigest-pinned BusyBox 1.37 multi-platform indexSession transcript fetcher image. Requires a SHA256 digest and BusyBox-compatible sh, cat, wget, rm, mv, and sleep; tag-only references fail startup. Helm: workers.sessionLoader.image.repository and .digest. No registry resolution is performed.
--store-backendsqlitePayload/read-model backend when --storage-config is not set. Only sqlite is accepted, and it cannot be combined with --storage-config. ACP control authority remains Kubernetes CRDs and Leases.
--store-path/data/orka.dbPath to the SQLite transcript/outbox/artifact database file, used by every storage contract bound to sqlite.
--storage-config""Storage configuration file binding each storage contract to sqlite or a storage adapter. Empty binds both contracts to SQLite at --store-path. See Storage bindings.
--ai-worker-service-account-nameorka-ai-workerServiceAccount name for AI worker Jobs and dynamically ensured worker RBAC
--vendor-worker-service-account-nameorka-vendor-workerServiceAccount name for vendor/agent worker Jobs and dynamically ensured worker RBAC
--container-worker-service-account-nameorka-container-workerServiceAccount name for container worker Jobs and dynamically ensured worker RBAC
--chat-enabledtrueEnable the chat endpoint
--chat-provider""Default Provider CRD name for chat
--chat-model""Default model for chat
--chat-max-iterations50Max tool execution loops per chat request
--chat-max-duration30mMax wall-clock time per chat request
--chat-tool-timeout60sMax time for single tool execution
--chat-max-concurrent10Max concurrent chat sessions
--chat-max-tasks-per-turn5Max tasks created per chat turn
--native-session-max-bytes8388608Maximum encoded native session bundle bytes. Environment default: ORKA_NATIVE_SESSION_MAX_BYTES; hard ceiling: 67108864. Propagated to built-in runtimes. Local migration CLI uses --max-bundle-bytes.
--chat-max-session-size512000Soft limit for session size before truncation (bytes)
--leader-electfalseEnable leader election. Static controller installations require true; the Lease is stored in the watched namespace.
--metrics-bind-address0Metrics endpoint address
--health-probe-bind-address:8081Health probe address
--metrics-securetrueServe metrics via HTTPS
--enable-http2falseEnable HTTP/2 for metrics and webhook servers
--enable-telemetry / --enable-tracingfalseEnable OpenTelemetry traces and metrics (requires worker-reachable OTLP endpoint for worker telemetry)
--runtime-telemetry-collector-egressfalseAdd the OTLP collector origins projected into ACP supervisors to the egress allowlist of Agent Substrate (gateway-enforced) runtimes. Requires --enable-telemetry; environment default: ORKA_RUNTIME_TELEMETRY_COLLECTOR_EGRESS. See Observability

Agent hosts​

Long-lived, single-user agent hosts on Orka-owned Pods. Off by default. See Agent hosts.

FlagEnvironment variableDefaultPurpose
--enable-agent-hostsORKA_ENABLE_AGENT_HOSTSfalseServes AgentHostTemplate and AgentHost. Helm: controller.agentHosts.enabled.
--github-sign-in-enabled / --github-sign-in-providernonefalse / githubSign people in with GitHub through the named agent-host ConnectorProvider's GitHub App. Needs --connectors-enabled. Helm: controller.githubSignIn.enabled.
--github-sign-in-allowed-orgs / --github-sign-in-allowed-teamsnone""Comma-separated orgs, and org/team slugs, whose active members may sign in. At least one is required.
--github-sign-in-create-hostsnonetrueStart an agent host for each sign-in; false links accounts only. true needs --enable-agent-hosts.
--agent-host-namespaceORKA_AGENT_HOST_NAMESPACEorka-agent-hostsNamespace for host Pods, volumes, NetworkPolicies and Secrets. Must differ from --watch-namespace. Helm: controller.agentHosts.namespace.
--agent-host-agent-imageORKA_AGENT_HOST_AGENT_IMAGE—Digest-pinned image with the orka-host-agent sidecar, normally the controller image. Required with --enable-agent-hosts. Helm: controller.agentHosts.agentImage.
--agent-host-controller-pod-labelsORKA_AGENT_HOST_CONTROLLER_POD_LABELSorka.ai/network-role=controllerLabels of the controller Pods that may read host status through each host's NetworkPolicy. The default matches the shipped controller Pods.

Workspace providers (workspace.orka.ai/v1alpha1)​

A separately deployed workspace provider realizes Orka's frozen public runtime request. Core owns runtime credentials, admission, and Task settlement; the provider owns infrastructure and reports exact startup and termination evidence. The external repository supplies Agent Sandbox, Substrate, and a development fake provider.

Enablement​

Core flagEnvironment variablePurpose
--enable-workspace-provider-apiORKA_ENABLE_WORKSPACE_PROVIDER_APIEnables shared provider, class, pool, workspace, and checkpoint reconciliation.
--task-provenance-admission-enabled=true or --task-provenance-admission-external=true—Protects reserved Task provenance and settlement metadata.
--workspace-class-use-admission-enabled=true—Enables live class-use authorization through the required webhook.
--acp-workspace-dispatch-enabledORKA_ACP_WORKSPACE_DISPATCH_ENABLEDAllows class-backed ACP workspace dispatch.

Core does not accept Sandbox, Substrate ACP, or in-process fake provider flags. Install each provider as a separate Deployment with its own ServiceAccount, leader-election Lease, CRDs, registration, and immutable configuration. Use the external provider installation instructions. Native MCP Tools retain the separate --substrate-mcp-tools-enabled flag.

The source Helm chart enables provenance and class-use admission for harness-v2. controller.executionWorkspace.dispatchEnabled controls ACP dispatch; controller.executionWorkspace.workerNamespaces grants only Pod read access for independent native worker attestation. Configure provider mutation permissions in its own installation. With dedicated admission, verify fail-closed webhooks before enabling --task-provenance-admission-external.

Drain legacy owners before changing the schema

Before applying the target RuntimePool CRD or starting the new core binary, drain old in-tree allocations and retained records through the original owner. This includes legacy workspaces in Ready, Suspended, Failed, and Deleted states, plus native journals and checkpoint references. The startup gate checks all namespaces, refuses leftovers, and never adopts or removes their finalizers. Helm does not update CRDs during upgrades. Apply the new schemas only after the drain, then install the new binary and external providers. See external workspace migration.

Who owns what​

ObjectScopeOwnerHolds
ExecutionWorkspaceProviderclusteroperatorInstalled controller identity, ServiceAccount, contracts, and config reference.
Provider configclusteroperatorSandboxProviderConfig, SubstrateProviderConfig, or the installed provider's own config kind.
Provider profilenamespacedoperatorSandboxWorkspaceProfile or SubstrateWorkspaceProfile; immutable parameters in the class namespace.
ExecutionWorkspaceClassnamespacedoperatorProvider/profile binding, required features, reuse policy, and lifecycle bounds.
Task.spec.execution.workspace.classRef—userAuthorized class selection, with optional permitted reuse/detach choices.

Sandbox config/profile kinds use sandbox.workspace.orka.ai/v1alpha1; Substrate uses substrate.workspace.orka.ai/v1alpha1. Development fake kinds use fake.workspace.orka.ai/v1alpha1. Core resolves these through their advertised API references. It does not own or register their backend settings.

kubectl get executionworkspaceclass shows lifecycle actions, idle timeout, and maximum lifetime; -o wide adds the detach timeout. An ACP-only class explicitly requires acp.runtime.v2, rather than claiming unsupported generic exec/TLS features.

Who is allowed to use a class​

Selecting a class is an authorization decision, checked with a live Kubernetes SubjectAccessReview for verb use on that ExecutionWorkspaceClass. A denied or unavailable SAR denies the request.

Shipped ValidatingAdmissionPolicy resources enforce this at all times, even with the workspace gates off. With the provider API enabled, a TLS-backed webhook is required as well (--workspace-class-use-admission-enabled). How that webhook gets installed depends on how you installed Orka:

InstallWebhooksWhat you do
Helm, harness-v2task-workspace-class.harness-v2.orka.ai, tool-workspace-class.harness-v2.orka.aiNothing — the chart renders them against the release's own webhook Service and sets the flag. Requires webhooks.tls.existingSecret plus either webhooks.caBundle or webhooks.caInjectionAnnotations.
Kustomizetaskworkspaceclassuse.core.orka.ai, toolworkspaceclassuse.core.orka.aiApply config/orka-admission first, then config/orka-admission-webhooks once its README's readiness and TLS prerequisites are met.
Do not apply the Kustomize admission packages to a Helm release

You get two independent sets of validating webhooks for the same resources.

Binding a Task to a class​

spec:
execution:
workspace:
classRef:
name: my-workspace-class
reusePolicy: session # optional
workspaceSlot: default # optional
onDetach: Delete # optional

On admission the controller freezes the class identity, a hash of the profile, the lifecycle settings, and the effective detach action into the Task's immutable execution snapshot. Later edits to the class do not reach in-flight Tasks.

workspaceSlot composes with reusePolicy: none. Session reuse supports only the default slot and fails closed for any other value, until RuntimeSession controls become slot-scoped.

What happens when the agent detaches​

onDetachagent-sandboxSubstrate
DeleteWorksWorks
SuspendRequires SandboxWorkspaceProfile.spec.suspendRequires SubstrateWorkspaceProfile.spec.suspend with mode: DataOnly

Delete is always executable.

Agent-sandbox suspension is cold, never a memory snapshot. The profile's SandboxWorkspaceProfile.spec.suspend.volume freezes a durable workspace PVC shape (capacity, optional storageClassName and accessModes); the provider's claim requests it, which forces a cold start instead of adopting a warm sandbox. Suspending patches that exact Sandbox to operatingMode: Suspended so its Pod terminates while the PVC survives. Resume rotates the bootstrap material, refreshes the Sandbox blueprint, and returns the Sandbox to Running against the preserved volume.

Substrate DataOnly suspension uses verified native Tags, exact worker Pod termination, and fresh Actors for cold continuation. Its native lifecycle calls have no UID/version preconditions; Orka journals its own operation intents and requires fresh authenticated admission. Full-memory restore remains disabled. See Substrate workspaces for the trusted provider boundary, checkpoint export, restore authorization, and explicit recovery.

Expiry​

A suspend-capable class must set idleTimeout or maxLifetime. Without one, class readiness and Task binding fail closed.

SettingWhereEffect
idleTimeoutclass lifecycleIdle suspended workspaces expire; idle Ready workspaces take the class default action.
maxLifetimeclass lifecycleHard cleanup bound, always.
spec.retention.maxSuspendedWorkspacesprovider-owned workspace profileCaps concurrently suspended workspaces per class and namespace. Rejected at admission, retried at settlement with the frozen Suspend action preserved. This is a cap, not an expiry.

A queued continuation may take a still-Ready workspace directly. Deletion policies that retain data past workspace deletion are rejected.

ADRs 0026–0030 carry the full contract.

External API OIDC authentication​

ServiceAccount bearer token authentication is always available. To allow external callers such as GitHub Actions to authenticate directly with OIDC JWTs, configure issuer, audience, an explicit subject allowlist, and the namespace assigned to OIDC callers:

--oidc-issuer=https://token.actions.githubusercontent.com
--oidc-audience=orka-ci
--oidc-allowed-subjects=repo:my-org/my-repo:ref:refs/heads/main
--oidc-namespace=ci

The same settings can be supplied with environment variables:

ORKA_OIDC_ISSUER=https://token.actions.githubusercontent.com
ORKA_OIDC_AUDIENCE=orka-ci
ORKA_OIDC_ALLOWED_SUBJECTS=repo:my-org/my-repo:ref:refs/heads/main
ORKA_OIDC_NAMESPACE=ci
# Optional; when omitted, Orka discovers the JWKS URL from the issuer metadata.
ORKA_OIDC_JWKS_URL=https://token.actions.githubusercontent.com/.well-known/jwks

OIDC validation requires RS256-signed JWTs with matching iss and aud, valid time claims, a non-empty sub, and a sub value that matches --oidc-allowed-subjects. Wildcards * and ? are supported in allowlist patterns; use the narrowest GitHub Actions subject for the trusted repository, branch, environment, or workflow. Authorized OIDC callers are bound to --oidc-namespace (or default when omitted) so namespace isolation can reject requests for other namespaces. When an OIDC-authenticated caller creates a Task, Orka records the verified identity in spec.requestedBy. Clients cannot set requestedBy themselves.

External API context-token authentication​

Orka can also authenticate external API requests with generic transaction/context tokens. The built-in transaction-token profile validates RS256-signed JWTs with JOSE header typ: txntoken+jwt, matching iss and aud, valid time claims, a non-empty sub, and the required transaction-token claims iat, txn, scope, and req_wl.

For the strict profile contract, see Transaction Tokens. To move from the removed Kontxt profile, see Migrate from the Kontxt profile.

Enable the profile by configuring the profile, issuer, and audience:

--context-token-profile=transaction-token
--context-token-issuer=https://issuer.example.com
--context-token-audience=orka-api

The same settings can be supplied with environment variables:

ORKA_CONTEXT_TOKEN_PROFILE=transaction-token
ORKA_CONTEXT_TOKEN_ISSUER=https://issuer.example.com
ORKA_CONTEXT_TOKEN_AUDIENCE=orka-api
# Optional for transaction-token; when omitted, Orka uses <issuer>/.well-known/jwks.json.
ORKA_CONTEXT_TOKEN_JWKS_URL=https://issuer.example.com/.well-known/jwks.json

By default, the transaction-token profile reads raw transaction tokens from the Txn-Token header:

curl -H "Txn-Token: $TXN_TOKEN" https://orka.example.com/api/v1/tasks

To customize token locations, set --context-token-headers or ORKA_CONTEXT_TOKEN_HEADERS to a comma-separated list. Use Header for raw token headers and Header:Scheme for scheme-prefixed headers. For example, keep the default Txn-Token header and explicitly opt in to Authorization: Bearer context-token support:

--context-token-headers=Txn-Token,Authorization:Bearer

Authorization: Bearer remains the default location for Kubernetes ServiceAccount and OIDC JWT authentication. Context-token bearer authentication is only attempted when Authorization:Bearer is explicitly configured and the bearer JWT has typ: txntoken+jwt; other bearer tokens continue through the standard OIDC or Kubernetes TokenReview flow. When an external context-token caller creates a Task, Orka records the verified subject and issuer in immutable spec.requestedBy and records safe transaction metadata in immutable spec.transaction, transaction labels, and transaction annotations. Clients cannot set requestedBy or transaction themselves.

Optional authorization is controlled by --context-token-authz-mode / ORKA_CONTEXT_TOKEN_AUTHZ_MODE. In audit mode, Orka logs safe authorization failures and allows the request. In enforce mode, Orka rejects context-token callers that lack the configured operation scope or violate signed tctx constraints. Task creation can be constrained by tctx.namespace, tctx.taskType, tctx.agent, tctx.allowedAgents, workspace tctx.repo/tctx.branch/tctx.ref, and tctx.allowedTools. Chat, OpenAI-compatible, and Anthropic-compatible model calls require the provider-use scope (default orka:providers:use) and honor tctx.namespace, tctx.provider, tctx.allowedProviders, tctx.model, and tctx.allowedModels. When Orka-managed server-side tools are exposed to those endpoints, they also require the tool-use scope (default orka:tools:use) and honor tctx.allowedTools. Security scan read/list/get endpoints require the security-read scope (default orka:security:read), and security scan create/update/delete and mutation endpoints require the security-write scope (default orka:security:write). Repository monitor read endpoints require the monitor-read scope (default orka:monitors:read), monitor create/update/delete endpoints require the monitor-write scope (default orka:monitors:write), and manual monitor runs require the monitor-operate scope (default orka:monitors:operate). Repository monitor access can also be constrained by tctx.namespace, tctx.repo, tctx.branch, tctx.agent, and tctx.allowedAgents. The raw TxToken is never logged or persisted in Task specs/status.

Transaction-token TTS exchange and propagation​

Configure --context-token-tts-endpoint / ORKA_CONTEXT_TOKEN_TTS_ENDPOINT when workers should exchange a mounted subject token for child or outbound replacement TxTokens. Delegation tools require ORKA_CONTEXT_TOKEN_SUBJECT_TOKEN_FILE and ORKA_CONTEXT_TOKEN_CHILD_SCOPE; HTTP Tool calls can use ORKA_CONTEXT_TOKEN_OUTBOUND_SCOPE or fall back to the current transaction scope. Child scopes are fail-closed: Orka rejects a requested child scope that is not already present in the parent transaction scopes before it creates the child Task.

Successful delegation exchanges store the raw child TxToken only in an owner-referenced Kubernetes Secret and annotate the child Task with the Secret name. The controller mounts that Secret into the child worker and sets ORKA_TRANSACTION_TOKEN_FILE / ORKA_CONTEXT_TOKEN_SUBJECT_TOKEN_FILE so deeper delegation and downstream Tool calls can continue the same transaction with configured child/outbound scopes.

Task provenance admission hardening​

The REST API rejects client-supplied requestedBy and transaction fields and stamps verified provenance itself. To also protect direct Kubernetes Task CRD writes, enable the optional validating admission webhook:

--task-provenance-admission-enabled=true

The webhook denies untrusted CREATE or UPDATE requests that set or modify Orka-managed provenance fields: spec.requestedBy, spec.transaction, orka.ai/transaction-* labels/annotations, orka.ai/context-token-profile, and the child token Secret annotation. By default, trusted writers are the Orka controller ServiceAccount usernames in the controller namespace and the configured AI and vendor worker ServiceAccount names in the target Task namespace; override them with --task-provenance-admission-trusted-users and --task-provenance-admission-trusted-service-accounts.

Worker-created coordination children must name the caller's active Task as parent, verified through the request's Pod identity and the live Pod, Job, and Task ownership chain. A worker-created Task may omit sessionRef or inherit its parent's reference unchanged, including any history cutoff. Workers cannot introduce arbitrary sessions through a new child or an ownerless Task. Trusted controller writers can establish separately authorized session references.

The webhook also makes coordination parent names and the parent Task controller-owner identity immutable after creation, including for trusted workers and controllers. Kubernetes cleanup controllers may remove ownership when orphaning a dependent; that Task then loses access through the removed parent. Internal cross-task transcript searches and coordination messages require protection through manager-hosted admission (--task-provenance-admission-enabled=true) or a separately deployed webhook (--task-provenance-admission-external=true). With both flags disabled, internal transcript search is limited to the caller's own session and coordination message requests are denied.

Enabling either flag asserts that all retained Task ancestry was created under these checks. Admission does not validate old edges retroactively, and an unchanged update does not attest them. Before first enabling ancestry trust, or upgrading from a validator that did not authenticate coordination parents, follow the Task cleanup requirement below.

Internal transcript search applies sessionRef.maxMessages and sessionRef.throughMessageId before matching messages or limiting results. When multiple Tasks reference the same session, search uses the intersection of their permitted history windows. An unbounded reference cannot widen a bounded one, and a missing cutoff message yields no matches for that session.

How admission is deployed depends on the installation method. Helm releases install and enable Task-provenance admission automatically: the chart renders task-provenance.<mode>.orka.ai with failurePolicy: Fail against the release-local controller webhook Service and runs the controller with --task-provenance-admission-enabled=true, trusting the release controller identity. For Kustomize installations, admission deployment is opt-in and served by the dedicated admission runtime, not the controller manager: install config/orka-admission (Deployment, Service, NetworkPolicy, and RBAC for the admission runtime), then apply config/orka-admission-webhooks — which includes taskprovenance.core.orka.ai with failurePolicy: Fail — only after the readiness, TLS Secret, and CA-injection prerequisites in config/orka-admission-webhooks/README.md are met and the trusted identities embedded in validating_webhook.yaml match the admission-runtime arguments.

The first config/acp-production workload wave leaves ancestry trust disabled. Enable --task-provenance-admission-external=true in the controller's post-admission configuration only after the separate webhook is installed and rejects unauthorized Task provenance changes. The flag enables ancestry trust for both internal worker API and brokered MCP coordination policy. Keep it disabled if the webhook wave is omitted, and disable it and complete the controller rollout before removing the webhook.

Upgrading internal worker authorization​

If existing Tasks were created without authenticated ancestry admission, prevent new Task creation in each affected watched namespace throughout the cutover. Drain all Tasks under the old controller, including ACP and remote-runtime agent Tasks. Preserve required outputs outside Task cleanup, then delete every pre-existing Task in those namespaces and wait for its finalizers to finish. Retained terminal Tasks must also be removed because their session references participate in coordination searches.

Install the updated fail-closed admission policy before enabling either provenance flag and allowing Task creation again. An unchanged update or retained labels and owner references do not attest legacy ancestry. Helm enables the flag automatically, so complete this cleanup before upgrading that release. Routine restarts with continuously enforced ancestry admission do not require this cleanup.

Before upgrading from a controller that does not record Task.status.jobUID, pause Task producers and drain all Job-backed Tasks while the old controller is still running. Wait until their attempts are terminal and their results and artifacts are stored. Apply the CRDs from the exact target chart, upgrade the controller and admission components, then resume Task producers. A rolling upgrade with active legacy Job-backed Tasks is not supported.

The new authorization checks require the controller-recorded Job UID. They reject workers whose Tasks have only status.jobName, including otherwise valid Pods from the previous controller. Orka does not backfill UIDs by looking up Job names: namespace Job creators can replace those Jobs. Do not patch missing UIDs from a name lookup; finish the attempt before upgrading or explicitly submit a new Task after the upgrade.

Prometheus metrics​

Orka registers the following Prometheus metrics on the controller-runtime registry. The metrics endpoint is disabled by default (--metrics-bind-address=0); enable it by setting an explicit bind address, for example:

--metrics-bind-address=:8443 # HTTPS (default when --metrics-secure=true)
--metrics-bind-address=:8080 # HTTP, with --metrics-secure=false

Scrape configuration (for example a Prometheus Operator ServiceMonitor) is not shipped with the chart; point your monitoring stack at the metrics port directly.

MetricTypeLabelsDescription
orka_api_requests_totalCounterendpoint, method, statusTotal API requests (status bucketed as 2xx/4xx/5xx)
orka_api_request_duration_secondsHistogramendpoint, methodAPI request latency in seconds
orka_skills_loaded_totalCounterskill, namespaceSkills loaded by namespace and name
orka_store_db_size_bytesGauge—Size of the SQLite database file in bytes
orka_store_sqlite_write_wait_secondsHistogrammethodTime a SQLite store contract write, or receipt pruning, waited for the store's single connection before its transaction began
orka_store_sqlite_write_hold_secondsHistogrammethodTime a SQLite store contract write, or receipt pruning, held the single connection, from the start of its transaction to its commit or rollback
go_sql_*Gauge/Counterdb_name (orka_store_sqlite)Connection pool statistics of the SQLite store, covering every user of its connection, including go_sql_wait_count_total and go_sql_wait_duration_seconds_total
orka_context_token_auth_totalCounterprofile, resultContext-token authentication attempts
orka_context_token_authorization_totalCounteraction, result, reasonContext-token authorization decisions (allow/deny/audit)
orka_context_token_tts_exchange_totalCounterresult, reasontransaction-token TTS token-exchange attempts
orka_context_token_tts_exchange_duration_secondsHistogramresult, reasontransaction-token TTS token-exchange latency in seconds
orka_token_exchange_totalCounteradapter, grant_class, result, reasonDirect and transaction-token OAuth exchange attempts
orka_token_exchange_duration_secondsHistogramadapter, grant_class, result, reasonOAuth exchange latency in seconds
orka_acp_runtime_pool_desired_replicasGaugenamespace, runtime_poolDesired RuntimePool replicas
orka_acp_runtime_pool_ready_replicasGaugenamespace, runtime_poolAuthoritatively selected Ready RuntimePool replicas
orka_acp_runtime_pool_sessions_activeGaugenamespace, runtime_poolAuthenticated resident RuntimeSession count
orka_acp_runtime_pool_prompts_in_flightGaugenamespace, runtime_poolAuthenticated active prompt count
orka_acp_runtime_pool_queued_tasksGaugenamespace, runtime_poolDurable unsatisfied Task demand assigned to the pool
orka_acp_runtime_pool_admission_stateGaugenamespace, runtime_pool, stateOne-hot authoritative admission state (unknown, closed, accepting, draining, or ambiguous)
orka_acp_runtime_pool_scale_to_zero_totalCounternamespace, runtime_poolCompleted RuntimePool scale-to-zero transitions
orka_repository_monitor_reviews_totalCountermode, verdictRepository monitor pull request review records by review mode (full, incremental, same_head) and recorded verdict
orka_repository_monitor_review_findings_totalCounterpriority, outcomeReview findings by priority (P0–P3) and outcome: reported when first recorded, fixed when a later review resolves one
orka_repository_monitor_review_rounds_to_passHistogram—Pull request heads reviewed up to and including each pull request's first passed review; see Repository monitors
orka_approval_decision_duration_secondsHistogramoutcome, pathSeconds from approval request to committed decision; see Observability

All context-token metric labels use low-cardinality values only. See Transaction tokens for the authentication they measure.

OpenTelemetry​

Telemetry is off by default. Enable it with --enable-telemetry and point the controller at an OTLP collector. Observability explains what Orka exports, how settings reach workers and runtime supervisors, collector routing, and privacy.

Flag / Environment VariableDefaultDescription
--enable-telemetry / --enable-tracingfalseEnable OpenTelemetry traces and metrics
--runtime-telemetry-collector-egress / ORKA_RUNTIME_TELEMETRY_COLLECTOR_EGRESSfalseAdmit projected collector origins to Agent Substrate runtime egress allowlists (fails startup on IP, single-label, wildcard, short <service>.<namespace>.svc or scheme-less endpoints, and on an OTLP INSECURE setting that contradicts the endpoint scheme)
OTEL_EXPORTER_OTLP_ENDPOINTSDK default localhost:4317OTLP collector endpoint for traces and metrics
OTEL_EXPORTER_OTLP_TRACES_ENDPOINTunsetTrace-specific OTLP endpoint
OTEL_EXPORTER_OTLP_METRICS_ENDPOINTunsetMetrics-specific OTLP endpoint
OTEL_EXPORTER_OTLP_PROTOCOLSDK default gRPCSet to http/protobuf for OTLP/HTTP collectors
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL / OTEL_EXPORTER_OTLP_METRICS_PROTOCOLunsetSignal-specific exporter protocol overrides
OTEL_EXPORTER_OTLP_INSECURE and signal-specific insecure varsSDK defaultDisable TLS for in-cluster/dev collectors that require it
OTEL_TRACES_SAMPLER / OTEL_TRACES_SAMPLER_ARGSDK defaultStandard OpenTelemetry sampler configuration