Skip to content
Opod

Install

Configuration

The chart settings most installs change (database, admin token, install key, tolerations, leader placement, resources, exposure) and every OPODCP_* variable the binary reads.

In short

You configure the control plane in two places. Chart values (helm upgrade --set …) set what the release itself needs: the database, the admin token, the install key, where pods run, their resources and how endpoints are reached. Every other service it talks to (a usage sink, OIDC, alerts, logs) is a connector that an admin saves on the console's Connectors page. A chart value change rolls the control plane pod; a change that touches pod templates waits for each endpoint's next rollout.

When you need it

  • Your GPU nodes carry a taint of their own, and nothing is placed on them.
  • Leaders land on GPU nodes and you want them on cheap CPU nodes instead.
  • Workers need more CPU or memory than the default floor, or a memory ceiling.
  • You want endpoints reachable from outside the cluster through your Gateway or Ingress.
  • You reinstall over a kept database and must bring back its install key.
  • You need a proxy, a custom CA bundle or an OIDC claim name that has no chart value.

Do it

  1. Read what runs now

    export CP=https://cp.example.com
    export OPODCP_URL=$CP   # the opodcp CLI reads these two
    export OPODCP_TOKEN=$(kubectl -n opodcp get secret opodcp-admin -o jsonpath='{.data.token}' | base64 -d)
    export H="Authorization: Bearer $OPODCP_TOKEN"
    helm get values opodcp -n opodcp
    curl -s -H "$H" $CP/api/v1/config | jq -r '.env[] | select(.set) | "\(.name)=\(.value // "(" + .redaction + ")")"'

    helm get values prints only what you set. /api/v1/config (admin) prints every OPODCP_* variable the pod runs with, a secret shown as (secret). Each row also carries chart (the value that sets it) and helm (the upgrade line that changes it).

  2. Change the value

    helm upgrade opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --reset-then-reuse-values \
      --set-json 'workloads.tolerations=[{"key":"sku","operator":"Equal","value":"gpu","effect":"NoSchedule"}]'
    kubectl -n opodcp rollout status deploy/opodcp
  3. Roll the endpoints, if the value changes pod templates

    Tolerations, resources, images and TLS change the pods the control plane renders. Running endpoints keep their pods and report template-drift until you roll them:

    kubectl -n opodcp exec deploy/opodcp -- /opodcp doctor | grep template-drift
    opodcp endpoint rollout --wait --note 'new tolerations' chat

Check it worked

kubectl -n opodcp get deploy opodcp -o json \
  | jq -r '.spec.template.spec.containers[0].env[] | select(.name=="OPODCP_WORKLOAD_TOLERATIONS") | .value'
# [{"effect":"NoSchedule","key":"sku","operator":"Equal","value":"gpu"}]

The variable beside each value in Set from a chart value is the one to look for. The console shows the same on Settings → Effective configuration, each row with the helm upgrade line that changes it.

If it fails

MessageCauseFix
ports.usage is not a chart value any more: connector settings are saved on the Connectors page …a connector value from a 0.2.1 values fileadd --set ports.usage=null, then save it on Connectors
ports.state.dsn carries a user or a password in its addressa credential in a plain valueput the whole DSN in a Secret; set ports.state.dsnSecret.name
ha.postgres.provide and ports.state.dsn (or its Secret) are both settwo databases asked forkeep one
replicas > 1 cannot run under nodeSelector kubernetes.io/hostnamean HA release pinned to one noderemove the hostname from nodeSelector
A new default did not arrive after an upgradeplain --reuse-valuesupgrade again with --reset-then-reuse-values
A plan is refused E-NODE-TAINTEDworkloads.tolerations does not cover the node's taintset the value the refusal names in details.set

Two places: chart values and connectors

The chart carries one connector setting, the database. Every other connector (usage sink, events, logs, metrics, traces, OIDC, notifier, secret store, checkpoints, batch files, KV store) is saved by an admin on the console's Connectors page, into the database. See Connectors. This page covers the chart values you set at install, for 0.3.0. The full table is the Helm values reference. In 0.2.1 the database was an embedded SQLite file on a volume and the connectors were chart values under ports.<port>; see Releases.

Change a value with:

helm upgrade opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --reset-then-reuse-values --set <key>=<value>

Use --reset-then-reuse-values, never plain --reuse-values, which drops every default a newer chart added. The console's Settings → Effective configuration shows each OPODCP_* variable the control plane runs with and the exact helm upgrade that changes it.

Database

ValueDefaultMeaning
ports.state.dsnSecret.name""a Secret in the release namespace holding the whole DSN
ports.state.dsnSecret.keydsnthe Secret's item
ports.state.dsn""a plain postgres://host/db with no credential in it
ports.state.adapter""your declaration of the adapter; checked against the DSN's scheme
kubectl -n opodcp create secret generic opod-state-dsn \
  --from-literal=dsn='postgres://opod:…@pg.example.com:5432/opod?sslmode=require'
helm upgrade --install opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --create-namespace \
  --set ports.state.dsnSecret.name=opod-state-dsn \
  --set ports.state.adapter=postgres

Give one of dsn or dsnSecret, never both: both set fails the render. A plain DSN with a user, a password, or a credential in its query fails the render too. ports.state.dsnSecret is new in 0.3.0.

With no database, the control plane starts in setup mode and asks for one until it answers. ha.postgres.provide=true lets the chart run a CloudNativePG Postgres instead; it fails the render when ports.state.dsn or its Secret is also set. See High availability. Any other ports.<port> value fails the render: connector settings are not chart values any more.

The admin token

admin.token (or admin.existingSecret, a Secret with item token) is a bootstrap credential. Empty, the chart generates one once into <release>-opodcp-admin and keeps it across upgrades and uninstalls. Every action taken with it is audited as static-admin, so the doctor's identity row stays red while the shared token still works. A configured OIDC issuer retires the token. Local users do not: users beside a working token is the worse doctor state, because acting as static-admin stays possible. Emptying admin.token alone does not remove it, because the chart keeps the generated token in its Secret. See Users, roles and SSO.

# bring your own bootstrap token, kept in a Secret you manage
kubectl -n opodcp create secret generic opod-admin --from-literal=token="$(openssl rand -hex 20)"
helm upgrade opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --reset-then-reuse-values \
  --set admin.existingSecret=opod-admin
# read the token the chart generated, when you did not bring one
kubectl -n opodcp get secret opodcp-admin -o jsonpath='{.data.token}' | base64 -d; echo

The install key

The install key is new in 0.3.0. It seals every connector credential the control plane stores in its database (envelope encryption with Google Tink). Empty, the chart mints 32 random bytes once into <release>-opodcp-install-key and keeps it across upgrades and uninstalls.

ValueMeaning
installKey.existingSecreta Secret with item keys
installKey.keysbase64 keys, comma-separated; the first seals new values
# save the key the chart minted, beside your database backup
kubectl -n opodcp get secret opodcp-install-key -o jsonpath='{.data.keys}' | base64 -d > install-key.txt
# a reinstall over the same database reuses it
kubectl -n opodcp create secret generic opod-install-key --from-file=keys=install-key.txt
helm upgrade --install opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp \
  --set installKey.existingSecret=opod-install-key --set ports.state.dsnSecret.name=opod-state-dsn

Keep the install key with your database backups. The database without it holds no readable credential. A lost key loses the stored credentials, never the data: you enter them again on the Connectors page. To rotate, put the new key first, save each connector again, then drop the old key.

Tolerations for your GPU nodes

tolerations applies to the opodcp pod only. workloads.tolerations applies to every pod the control plane creates: leaders, workers, gang parts, prefetch, warm, eval and cache-prune Jobs, and training Jobs.

helm upgrade … --set-json 'workloads.tolerations=[{"key":"sku","operator":"Equal","value":"gpu","effect":"NoSchedule"}]'

You do not need it for a GPU pool tainted with its own device resource (nvidia.com/gpu, amd.com/gpu, gpu.intel.com/*, the Tenstorrent resource). A node with a taint nothing tolerates is measured and counted, never placed on, and a plan that names it is refused E-NODE-TAINTED with the exact value to set. Operators Exists and Equal only. Changing this value changes pod templates: running endpoints report template drift and take it on their next rollout. Preflight (nodes.taints) and doctor (node-taints) also print the value to set.

Where leaders and front doors run

The control plane picks each leader's and door's node by a fixed rule and pins it with a required node affinity:

  1. nodes labelled opod.io/leaders=prefer
  2. then nodes with no accelerator
  3. then the node with the fewest leaders and doors
  4. then the node name

A node labelled opod.io/leaders=avoid is never picked. workloads.leaderPool (it is new in 0.3.0) is a label selector (for example opod.io/pool=fronts) that keeps every leader and door inside the nodes it matches. Preflight (fronts.pool) and doctor (leader-fence) warn when fewer than two nodes may hold one.

opodcp node label --cp https://cp.example.com --token "$OPODCP_TOKEN" node-a opod.io/leaders=avoid
# node node-a: opod.io/leaders=avoid
opodcp nodes --leaders     # reads OPODCP_URL and OPODCP_TOKEN when --cp and --token are left out

Flags go before the node name: the command stops reading flags at the first word that is not one.

opodcp node label and opodcp nodes are new in 0.3.0. A pin moves only when its node may no longer hold a front: fenced, outside the pool, tainted or gone. Labelling a node prefer steers the next pick, not a running leader.

Resources and scheduling

ValueDefaultMeaning
resources100m / 256Mi, limit 1Githe opodcp pod
workerResources.requests500m CPU, 2Githe floor a worker is scheduled at; raise for large models
workerResources.limits.memory""a memory ceiling per worker; set it on machines shared with other work
workloads.leader.resources100m / 256Mi, no memory limiteach leader; is new in 0.3.0
workloads.gateway.resources100m / 192Mi, no memory limiteach front door; is new in 0.3.0
workloads.worker.startBudgetMinutes90a worker never Ready this long is restarted; 0 turns it off; is new in 0.3.0
kvOffload.maxNodePct50the share of one node's memory its KV cache tiers may take; past it a plan is refused E-KV-RAM; is new in 0.3.0
priorityClasses.*createdopodcp-serving (100000) above opodcp-batch (10000) above opodcp-batch-preemptible (1000), all below system-cluster-critical; an empty name = no priority
priorityClasses.nodePressure""system-cluster-critical lets the cache prune and the probe run on a node under DiskPressure
allowNodeConsolidationfalsetrue lets Karpenter or cluster-autoscaler move our pods; 0.2.1 ignored this value
kube.qps, kube.burst0 (50 / 100)the control plane's client-side budget against the API server
api.rateLimit.rps, .burst0 (off)a per-caller API rate limit; over it, 429 with Retry-After

A change to worker, leader or door resources is a pod-template change and rides each endpoint's next rollout.

A realistic set for large models on machines shared with other work:

# values-resources.yaml
resources: { requests: { cpu: 200m, memory: 512Mi }, limits: { memory: 2Gi } }
workerResources:
  requests: { cpu: "4", memory: 32Gi }   # a 70B model's host-side buffers
  limits: { memory: 64Gi }               # a ceiling, because the machine runs other jobs
workloads:
  leader:  { resources: { requests: { cpu: 250m, memory: 512Mi }, limits: { memory: 1Gi } } }
  gateway: { resources: { requests: { cpu: 200m, memory: 256Mi }, limits: { memory: 512Mi } } }
  worker:  { startBudgetMinutes: 120 }   # big weights take long to load the first time
kvOffload: { maxNodePct: 40 }
priorityClasses: { nodePressure: system-cluster-critical }
kube: { qps: 100, burst: 200 }           # a cell with hundreds of endpoints
api: { rateLimit: { rps: 20, burst: 40 } }
helm upgrade opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --reset-then-reuse-values -f values-resources.yaml
opodcp endpoint rollout --wait --note 'new worker resources' chat   # each endpoint takes the new template

How endpoints are reached

By default an endpoint is reachable inside the cluster through its Service, in plain HTTP on port 8080. To reach endpoints from outside, set a host pattern and let the control plane render one route per endpoint:

endpoints:
  expose: auto              # auto · gateway · ingress · none
  gateway: { name: "", namespace: "", sectionName: "" }
  ingress:
    host: "{endpoint}.{cell}.example.com"
    className: nginx
    tlsSecret: ""
    annotations: { cert-manager.io/cluster-issuer: letsencrypt }

Set endpoints.ingress.host in a values file or with --set-json: --set reads braces as a list. Its default is "" (no route); in 0.2.1 it was {endpoint}.{cell}.example.com. endpoints.expose and endpoints.gateway are new in 0.3.0. tlsSecret and annotations are read only when className is set. auto attaches an HTTPRoute to your Programmed Gateway when one exists, else an Ingress through your class, else nothing. With gateway, every endpoint apply is refused E-GATEWAY-NOT-READY while no Gateway is ready. Your Gateway or Ingress terminates TLS with your certificate. See Network and TLS, including endpoints.tls.embedded for in-cluster TLS.

RBAC and the service account

ValueDefaultMeaning
rbac.createtruerender the Role, ClusterRole and their bindings; false when your platform team applies them
rbac.nodeDraintruethe cluster-wide create on pods/eviction that a full Drain needs; false removes that one rule, and evacuating our own workloads still works
serviceAccount.createtruerender the ServiceAccount <release>-opodcp
serviceAccount.name""the ServiceAccount to run as; empty = the release's own

A cluster whose platform team owns every role, and that allows no cross-namespace eviction:

helm upgrade opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --reset-then-reuse-values \
  --set rbac.create=false --set rbac.nodeDrain=false \
  --set serviceAccount.create=false --set serviceAccount.name=opod-cp

With rbac.create=false, the grants listed in What the control plane may do in your cluster must already be bound to that ServiceAccount, or the doctor's executor row and every apply fail with forbidden.

Engine images

engineImages.* names the leader image and one worker image per engine and vendor, each pinned by digest. A plan pins the images it runs when it is created; only a rollout re-pins them. To serve a pair the chart has no named value for, add OPODCP_IMAGE_<ENGINE>_<VENDOR> through extraEnv. To use your own registry, see Air-gapped install.

engineImages:
  vllmNvidia: registry.example.com/opod/opod-worker-vllm-nvidia@sha256:…   # your mirror of the same digest
  trtllmNvidia: registry.example.com/opod/trtllm-nvidia@sha256:…            # setting it accepts NVIDIA's NGC licence
extraEnv:
  - { name: OPODCP_IMAGE_SGLANG_TT, value: "registry.example.com/opod/sglang-tt@sha256:…" }   # a pair with no named value; the planner still refuses a pair its engine cannot run
opodcp images matrix     # every engine × vendor pair and the image the executor will use

Extra environment

extraEnv adds environment to the opodcp container, in Kubernetes EnvVar form. Use it for variables with no named value: HTTPS_PROXY and NO_PROXY, SSL_CERT_FILE, the OIDC claim names (OPODCP_OIDC_ROLE_CLAIM, OPODCP_OIDC_TEAM_CLAIM, OPODCP_OIDC_REDIRECT_URL), OTEL_EXPORTER_OTLP_HEADERS, OPODCP_LOGS_HEADERS. Put anything that carries a token in a Secret and use valueFrom.secretKeyRef. A name the chart already sets is rejected by the API server as a duplicate. Environment variables lists which variables have no chart value.

extraEnv:
  - name: HTTPS_PROXY
    valueFrom: { secretKeyRef: { name: corp-proxy, key: url } }

Environment variables

Read what a running control plane uses, with secrets redacted:

curl -s -H "$H" https://cp.example.com/api/v1/config | jq '.env[] | select(.name | startswith("OPODCP_WORKER"))'
kubectl -n opodcp exec deploy/opodcp -- /opodcp serve -h | sed -n '/^environment/,$p'

The opodcp binary reads its settings from OPODCP_* variables. opodcp serve -h lists every name. The chart sets most of them from its values; you rarely set one by hand. The default below is the binary's own, used when the variable is unset. This list describes 0.3.0: in 0.2.1 the connector variables came from chart values under ports.<port>. These names are new in 0.3.0: OPODCP_MODE, OPODCP_FLEET_CELLS, OPODCP_INSTALL_KEYS, OPODCP_HELM_RELEASE, OPODCP_CHART_REF, OPODCP_CHART_VERSION, OPODCP_KEDA_SUBSTRATE, OPODCP_NODE_SCALING, OPODCP_ALLOW_NODE_CONSOLIDATION, OPODCP_GPU_SLICES_PER_CARD, OPODCP_GPU_SLICE_CHOICES, OPODCP_KV_TIER_MAX_PCT, OPODCP_WORKER_START_BUDGET_MIN, OPODCP_LEADER_POOL, OPODCP_LEADER_CPU_REQUEST, _MEMORY_REQUEST and _MEMORY_LIMIT, OPODCP_GATEWAY_CPU_REQUEST, _MEMORY_REQUEST and _MEMORY_LIMIT, OPODCP_DOOR_IMAGE, _REPLICAS, _CPU_REQUEST and _MEMORY_REQUEST, OPODCP_EXPOSE, OPODCP_GATEWAY_NAME, _NAMESPACE and _SECTION, OPODCP_INFERENCEPOOL, OPODCP_INFERENCEPOOL_GATEWAY_NAMESPACE and _LABELS, OPODCP_IMAGE_EPP and OPODCP_TRACES_SAMPLE_RATIO.

Set from the release

The chart fills these from the release itself. No value changes them.

VariableDefaultMeaning
OPODCP_ADDR:8080the listen address
OPODCP_DATA/var/lib/opodcpa scratch directory; it holds only the Sigstore root cache
OPODCP_NAMESPACEopodcpwhere endpoints are created; the release's namespace (opod in 0.3.0)
OPODCP_HELM_RELEASEopodcpthe release name, for the helm upgrade lines the console prints (opod in 0.3.0)
OPODCP_CHART_VERSION""the chart version installed
OPODCP_SELF_URL""this control plane's Service address, which the node probes report to. From the release after 0.3.6, only a control plane outside its cluster is pushed to at this address; one inside reads each probe on port 9147
OPODCP_POD_NAME, OPODCP_NODE_NAME""the pod's name and node (downward API)
OPODCP_DOOR_ROUTES_CONFIGMAP, OPODCP_DOOR_URL""the cell door's routes ConfigMap and address, with door.enabled
OPODCP_EVENTS_URL"" = the embedded journalthe chart's NATS, with ha.nats.provide; a saved events connector wins
OPODCP_KVSTORE_URL, _SECRET, _SECRET_KEY, _PASSWORD""; the secret key defaults to passwordthe chart's KV store, with kvStore.enabled; a saved KV store connector wins

Set from a chart value

VariableChart valueDefault when unset
OPODCP_CELLcell.namedefault
OPODCP_SERVICE_DOMAINcell.serviceDomain<namespace>.svc
OPODCP_MODEmodecell
OPODCP_FLEET_CELLSfleet.cells""; a JSON list of {name, url, tokenFile}
OPODCP_ADMIN_TOKENadmin.token or admin.existingSecret""; the binary refuses to start without it, unless OPODCP_BOOTSTRAP_ADMIN_PASSWORD or OPODCP_INSECURE is set
OPODCP_INSTALL_KEYSinstallKey.*""
OPODCP_LICENCE_KEYlicence.*"" = the free tier
OPODCP_STATE_DSNports.state.dsn or ports.state.dsnSecret"" = setup mode
OPODCP_STATE_ADAPTERports.state.adapter""; postgres with ha.postgres.provide
OPODCP_KUBE_QPS, OPODCP_KUBE_BURSTkube.qps, kube.burst0 = 50 and 100
OPODCP_API_RATE_RPS, OPODCP_API_RATE_BURSTapi.rateLimit.*0 = off
OPODCP_TRUSTED_PROXIESapi.trustedProxies"", comma-separated CIDRs
OPODCP_CONTROLLERScontrollers"" = every loop
OPODCP_AUTOSCALERautoscaler.adapterembedded
OPODCP_KEDA_SUBSTRATEsubstrate.keda.enabledoff
OPODCP_CLOUDcloud.provideronprem
OPODCP_NODE_SCALINGcloud.nodeScalingoff
OPODCP_ALLOW_NODE_CONSOLIDATIONallowNodeConsolidationoff
OPODCP_IMAGES_VERIFYimages.verifywarn
OPODCP_IMAGES_TRUSTimages.trust""; a JSON list
OPODCP_IMAGES_TRUST_ROOTimages.trustRoot, images.trustRootConfigMapauto; a ConfigMap becomes a file path
OPODCP_IMAGE_LEADER, OPODCP_IMAGE_LLAMACPP_CPU, OPODCP_IMAGE_<ENGINE>_<VENDOR>engineImages.leader, engineImages.llamacppCpu, the other engineImages.*none: an unset image is refused by name
OPODCP_IMAGE_EPP, OPODCP_IMAGE_FABRIC_PROBEengineImages.epp, engineImages.fabricProbe""
OPODCP_IMAGE_PULL_SECRETimagePullSecrets[0].name""
OPODCP_HUB_ENDPOINTweights.hubEndpoint"" = the public Hub
OPODCP_SKIP_SOURCE_CHECKweights.skipSourceCheckoff
OPODCP_CATALOG_PUBKEY, OPODCP_CATALOG_REQUIRE_SIGNEDweights.catalogPubKey, weights.catalogRequireSigned"", off
OPODCP_WORKER_MTLSworkers.mtlsallow; an unknown value is read as allow
OPODCP_WORKER_REJECT_BEARERworkers.rejectBeareroff
OPODCP_WORKER_CPU_REQUEST, OPODCP_WORKER_MEMORY_REQUESTworkerResources.requests.*500m, 2Gi
OPODCP_WORKER_MEMORY_LIMITworkerResources.limits.memory"" = no limit
OPODCP_LEADER_CPU_REQUEST, _MEMORY_REQUEST, _MEMORY_LIMITworkloads.leader.resources.*100m, 256Mi, no limit
OPODCP_GATEWAY_CPU_REQUEST, _MEMORY_REQUEST, _MEMORY_LIMITworkloads.gateway.resources.*100m, 192Mi, no limit
OPODCP_WORKER_START_BUDGET_MINworkloads.worker.startBudgetMinutes90; 0 = off
OPODCP_KV_TIER_MAX_PCTkvOffload.maxNodePct50; 1 to 100
OPODCP_WORKLOAD_TOLERATIONSworkloads.tolerations""; a JSON list
OPODCP_LEADER_POOLworkloads.leaderPool"" = every node
OPODCP_PRIORITY_CLASS_SERVING, _BATCH, _BATCH_PREEMPTIBLE, _NODE_PRESSUREpriorityClasses.*"" = no priority
OPODCP_AMD_PRIVILEGED_FALLBACKsubstrate.amdDevicePlugin.privilegedFallbackoff
OPODCP_GPU_SLICES_PER_CARD, OPODCP_GPU_SLICE_CHOICESsubstrate.nvidiaDevicePlugin.timeSlicing.*4; an empty list (the chart sets 2,4,8)
OPODCP_LWS_ENABLEDsubstrate.leaderWorkerSet.enabledoff; on = a gang plan is refused while the LeaderWorkerSet controller is missing
OPODCP_RDMA_DEVICE_PLUGINsubstrate.rdmaDevicePlugin.enabledoff
OPODCP_RDMA_RESOURCE, OPODCP_RDMA_NETWORKfabric.rdmaResource, fabric.networkAttachment"" (the chart sets rdma/hca_shared_devices_a, opodcp-rdma)
OPODCP_FABRIC_HOSTNETWORKfabric.hostNetworkoff
OPODCP_INFERENCEPOOLinferencePool.enabledoff
OPODCP_INFERENCEPOOL_GATEWAY_NAMESPACE, _LABELSinferencePool.gatewayPods.*envoy-gateway-system; empty labels = Envoy Gateway's own
OPODCP_DOOR_IMAGE, _REPLICAS, _CPU_REQUEST, _MEMORY_REQUESTdoor.*"", 2, 100m, 64Mi
OPODCP_TLS_EMBEDDEDendpoints.tls.embeddedon when unset; the chart always sets it, 0 by default
OPODCP_TLS_CERT_DAYS, OPODCP_TLS_RENEW_DAYSendpoints.tls.certDays, .renewDays3650, 30
OPODCP_EXPOSEendpoints.exposeauto
OPODCP_GATEWAY_NAME, _NAMESPACE, _SECTIONendpoints.gateway.*"" = the one Programmed Gateway
OPODCP_INGRESS_HOST, OPODCP_INGRESS_CLASSendpoints.ingress.host, .className""
OPODCP_INGRESS_TLS_SECRET, OPODCP_INGRESS_ANNOTATIONSendpoints.ingress.tlsSecret, .annotations""; set only with a class
OPODCP_LEADER_ISOLATIONnetworkPolicy.leaderIsolation.enabledoff
OPODCP_LEADER_ISOLATION_DETECT_API_SERVERnetworkPolicy.leaderIsolation.detectAPIServeron
OPODCP_LEADER_ISOLATION_FROMnetworkPolicy.leaderIsolation.from""; a JSON list
OPODCP_LEADER_ISOLATION_SCALER_NAMESPACE, _SCALER_LABELSnetworkPolicy.leaderIsolation.scaler.*the release's namespace; app.kubernetes.io/name=keda-operator

Each chart value reaches the binary as the variable beside it. For example, this upgrade sets three of them:

helm upgrade opodcp oci://ghcr.io/opod-io/charts/opodcp -n opodcp --reset-then-reuse-values \
  --set workers.mtls=require \
  --set workloads.worker.startBudgetMinutes=120 \
  --set images.verify=enforce
kubectl -n opodcp get deploy opodcp -o json \
  | jq -r '.spec.template.spec.containers[0].env[] | select(.name|test("WORKER_MTLS|START_BUDGET|IMAGES_VERIFY")) | "\(.name)=\(.value)"'
# OPODCP_WORKER_MTLS=require
# OPODCP_WORKER_START_BUDGET_MIN=120
# OPODCP_IMAGES_VERIFY=enforce

Saved on the Connectors page

An admin saves these on the Connectors page, into the database. They are not chart values. See Connectors.

VariableDefaultMeaning
OPODCP_USAGE_DSN, OPODCP_USAGE_ADAPTER""the usage sink; empty = rows stay in the spool
OPODCP_USAGE_RETENTION30 daysspool retention, 720h or 30d; 0 keeps everything
OPODCP_USAGE_TRIM_EXISTINGoffalso trim rows written before retention was set
OPODCP_EVENTS_URL""nats://host:4222: every event is also published there; wins over ha.nats.provide
OPODCP_SECRETS_URL""vault://…: a record of every minted token
OPODCP_NOTIFY_URLS""alert sinks, comma-separated; empty = the console and /metrics
OPODCP_JOB_CHECKPOINTS""job checkpoints; "" = a host path on the job's node, pvc://… = one claim per job
OPODCP_LOGS_ADAPTER, _URL, _TOKEN, _STREAMSstdout, "", "", all streamswhere the control plane's records, the audit stream and events go besides stdout
OPODCP_TRACES_URL""the OTLP/HTTP collector every leader exports spans to
OPODCP_TRACES_SAMPLE_RATIO"" = every request0 to 1
OTEL_EXPORTER_OTLP_ENDPOINT""push metrics over OTLP/HTTP as well
OPODCP_KVSTORE_URL, _SECRET, _SECRET_KEY, _PASSWORD"", "", password, ""your Redis or Valkey for peer KV tiers (redis://valkey.example.com:6379), or, from the release after 0.3.6, pvc://nfs-rwx?size=200Gi for one ReadWriteMany volume per endpoint; wins over the chart's kvStore
OPODCP_BATCH_FILES_BUCKET, _PREFIX, _ENDPOINT, _REGION, _PATH_STYLE, _DOWNLOADS, _ACCESS_KEY, _SECRET_KEY_DOWNLOADS = proxythe batch API's object store; an empty bucket = no store
OPODCP_OIDC_ISSUER, _CLIENT_ID, _CLIENT_SECRET""SSO; an issuer and a client id turn it on
OPODCP_OIDC_ROLE_MAP, OPODCP_OIDC_DEFAULT_ROLE"", viewergroups to roles
OPODCP_PUBLIC_URL""how browsers reach the console
# the same as the Connectors page's Save: the control plane stores it and restarts
curl -s -H "$H" -H 'Content-Type: application/json' -X PUT \
  https://cp.example.com/api/v1/connectors/usage/settings \
  -d '{"set":{"OPODCP_USAGE_DSN":"clickhouse://ch.example.com:8123/opod","OPODCP_USAGE_RETENTION":"14d"}}'
curl -s -H "$H" -H 'Content-Type: application/json' -X PUT \
  https://cp.example.com/api/v1/connectors/usage/settings -d '{"unset":["OPODCP_USAGE_RETENTION"]}'

Only through extraEnv

No chart value and no connector field sets these. Add them with extraEnv.

VariableDefaultMeaning
OPODCP_OIDC_ROLE_CLAIMgroupsthe claim roles are read from
OPODCP_OIDC_TEAM_CLAIM""the claim naming a user's team; unset = unscoped
OPODCP_OIDC_REDIRECT_URL<OPODCP_PUBLIC_URL>/api/v1/auth/oidc/callback
OPODCP_LOGS_HEADERS""k=v,k=v headers for the logs sink
OTEL_EXPORTER_OTLP_HEADERS""k=v,k=v headers for the metrics push
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT""wins over OTEL_EXPORTER_OTLP_ENDPOINT
OPODCP_BOOTSTRAP_ADMIN_PASSWORD""seeds the local user admin while no user exists
OPODCP_LEADER_ELECTIONoncontroller loops run behind a Kubernetes Lease; 0 turns it off
OPODCP_CACHE_GCmanualoff, manual or auto: how far the weight-cache prune goes alone
OPODCP_SELF_IMAGE"" = this pod's own imagethe image node probes copy the agent from
OPODCP_LICENCE_FILE""a file holding the licence key; OPODCP_LICENCE_KEY wins
OPODCP_CHART_REFoci://ghcr.io/opod-io/charts/opodcpthe chart the printed helm upgrade lines name
OPODCP_TLS_CERT, OPODCP_TLS_KEY""file paths; with both set, the API serves HTTPS itself
OPODCP_INSECUREoff1 turns authentication off; local development only, never on a cluster
extraEnv:
  - { name: OPODCP_OIDC_ROLE_CLAIM, value: roles }
  - { name: OPODCP_OIDC_TEAM_CLAIM, value: team }
  - { name: OPODCP_CACHE_GC, value: auto }
  - { name: OPODCP_LEADER_ELECTION, value: "1" }
  - name: OTEL_EXPORTER_OTLP_HEADERS
    valueFrom: { secretKeyRef: { name: otlp-auth, key: headers } }   # "authorization=Bearer …"

OPODCP_URL and OPODCP_TOKEN are read by the opodcp CLI commands, not by opodcp serve: the control plane's address and a token.

Last updated · Source: content/docs/control-plane-install/configuration.mdx · View as Markdown