Skip to navigation

Stack reference

View as MarkdownOpen in Claude

Use this reference to identify the releases in your installation, look up their endpoints and Secret references, or decode terms used in the deployment guides. For an initial installation, choose a quick start; the Design page explains why the stack is built this way. Paths below are relative to the Helm module root, the directory containing helmfile/ and charts/, unless stated otherwise.

Components

A chart is a package of Kubernetes resource templates. A release is one installed instance of a chart. The table uses Helmfile release names, including releases that are omitted when you use external services.

ReleaseChart
cnpg (optional, cnpg.install; namespace cnpg.operatorNamespace, default cnpg-system)cnpg/cloudnative-pg
nro-db, nro-temporal-dbcnpg/cluster
nro-temporaltemporal/temporal
nro-collectoropentelemetry/opentelemetry-collector
nro-bootstrapcharts/remediation-orchestrator-bootstrap
remediation-orchestratorcharts/remediation-orchestrator

nro-db stores NRO’s application data. nro-temporal-db stores Temporal’s workflow history and visibility data. Temporal coordinates workflow execution, while nro-collector receives metrics and traces. nro-bootstrap prepares the NRO database schema and Temporal prerequisites before Helmfile installs or upgrades the NRO server. CloudNativePG (CNPG) is the Kubernetes operator that manages the PostgreSQL clusters.

Helmfile renders nro-db, nro-temporal-db, nro-temporal and nro-collector only while their backing service is managed, the default. An external service has no release (Use existing backing services). Every release except the operator goes to one namespace. The stack does not install Dex, so dex mode expects an existing Dex instance.

helmfile/locks/upstream.lock.json pins the upstream chart versions, archive checksums and image tags. Each local chart records its version in its Chart.yaml.

Each release carries a component label (operator, database, temporal, telemetry, bootstrap, remediation-orchestrator). Use these selectors to act on part of the stack:

SelectorSelects
component=remediation-orchestratorThe remediation-orchestrator release
name=remediation-orchestratorOnly that release
component=bootstrapnro-bootstrap only; the Temporal servers stay

A sync with a selector installs only the selected releases and uses their dependencies as they currently are. Add --include-transitive-needs to sync the releases they need first, in order. This matters, for example, after changing the database mode. Repeat the environment, context and state-value flags you installed with, because a selector sync does not remember earlier overrides, such as a changed local port:

# Sync NRO together with the releases it depends on.
helmfile -f ./helmfile -e local -l name=remediation-orchestrator sync --include-transitive-needs

Dependency and wiring

NeedValue
NRO databaseSecret nro-db-app (created by CNPG), key uri; external: database.existingSecret, key database.connectionStringKey
Temporal databaseSecret nro-temporal-db-app, key password; databases temporal and temporal_visibility (managed Temporal only)
Temporal frontendnro-temporal-frontend.<ns>.svc:7233; external: temporal.address
Temporal UInro-temporal-web:8080 (when temporal.web is true)
Telemetry (OTLP/HTTP)nro-collector.<ns>.svc:4318; external: telemetry.metricsEndpoint, telemetry.tracesEndpoint; none: unset
Dex client Secretauth.dex.existingSecret, key auth.dex.clientSecretKey (default client-secret); you create it
Bootstrap Jobsnro-bootstrap-migrate-<hash> and nro-bootstrap-temporal-<hash>; temporal.bootstrapJob: false omits the Temporal Job
Install orderHelmfile follows each release’s needs; independent releases can run in parallel. Refer to the release graph, or run show-dag with your environment and state file

Keep secret contents in Kubernetes Secrets. State holds their names and keys. The stack derives managed database Secret names from fixed release names.

nro-bootstrap runs the schema migration and prepares the Temporal namespace and search attributes. It uses manage mode against the managed Temporal server. Against an external server, it uses the mode that temporal.management selects, verify by default (why). Readiness gating lists the presync gates that hold each release until its dependencies are ready.

nro-temporal needs nro-temporal-db. Its pre-install,pre-upgrade schema hook migrates both Temporal stores before the servers start or update. nro-bootstrap needs nro-db and nro-temporal.

Glossary

These terms appear throughout the deployment guides.

TermMeaning
NRONVIDIA Remediation Orchestrator, the service this Helm module deploys. Its release and chart are named remediation-orchestrator; state selects its namespace and image. Supporting releases use the prefix nro-, except for the optional cnpg operator
maestroThe NRO binary’s historical name, kept at runtime: /bin/maestro, MAESTRO_* environment variables, the Docker image maestro:latest and the application’s Bazel targets. The application’s Bazel module is nv_maestro, so a dependent module writes @nv_maestro//... labels
TenantA configuration and script scope inside one NRO installation; the default tenant receives the chart’s config.toml
csp, datacenterTop-level config.toml keys: a cloud service provider hint and the datacenter name for the installation, reported in telemetry. The examples use placeholders such as csp = "example-provider"
NamespaceEither a Kubernetes namespace or a Temporal namespace. The state key namespace sets the Kubernetes namespace that holds the releases; temporal.namespace sets the Temporal namespace that NRO’s workflows run in. They need not match: local uses Kubernetes namespace remediation-orchestrator and Temporal namespace default
State fileA YAML file passed with --state-values-file that describes one installation. dev requires one
State layersThe order in which defaults, the environment file and state files merge (State layers)
PassthroughA state key whose map becomes the last values layer of its release. remediation-orchestrator feeds the NRO chart; cnpg.values, postgresql.values, temporal.values and telemetry.values feed the managed upstream charts. postgresql.values applies to both CNPG cluster releases
Managed, externalBacking-service modes: managed deploys PostgreSQL, Temporal or the collector with the stack; external points NRO at one you already run
CloudNativePG (CNPG)The Kubernetes operator that runs the managed PostgreSQL clusters. cnpg is also its Helm repository and the name of its optional release
Presync gateA script Helmfile runs before it installs or upgrades a release. This stack uses gates to wait for the CNPG operator and for database access
Init containerA container that must finish before the main container of its Pod starts. By default, the bootstrap migration Job uses one to wait for PostgreSQL
DexAn open source OpenID Connect provider. In dex mode NRO signs users in through an existing Dex
nvproxyAn authenticating reverse proxy integration for services without their own login. The proxy forwards the user’s token in the X-Nvproxy-Auth-Token header or the nvproxyIdToken cookie; auth.mode: nvproxy selects this integration
TeleportTeleport application access; in teleport mode NRO verifies the JWT the Teleport agent forwards
OTLPThe OpenTelemetry Protocol, which NRO uses to export metrics and traces. The stack sends this telemetry over HTTP to port 4318

Integration and protocol terms

These terms matter when you configure specific modules, connections or exposure.

TermMeaning
NICoNVIDIA Infra Controller, which manages bare-metal hosts, DPUs, firmware and networking. NRO’s nico module calls its REST and gRPC APIs
Data hallOne NICo-managed site, configured as a [[modules.nico.data_halls]] entry. NRO reaches it directly over admin mTLS or through an Agent
AgentThe agent binary from the application source (cmd/agent/). It runs next to a NICo instance and relays NRO’s requests to it
Agent call-homeA mode in which the Agent dials NRO over mTLS gRPC instead of NRO dialing the data hall
teleport moduleThe application module configured as [modules.teleport]. It lists the nodes registered in a Teleport cluster and is separate from the teleport sign-in mode (Teleport module)
DSNData source name: a database connection string, such as a postgresql:// URI
JWKSJSON Web Key Set: the public keys that verify a signed token. In teleport mode, NRO verifies tokens against the Teleport cluster’s JWKS. In nvproxy and oidcProxy modes, and in dex mode when auth.trustedJwtIssuers has entries, NRO verifies tokens against each entry’s JWKS
pgxThe Go PostgreSQL driver NRO uses. It accepts connection-string parameters that libpq tools such as psql reject
REPLNRO’s interactive Starlark session (read-eval-print loop)
SNIServer Name Indication: the host name a TLS client sends in its handshake. A TLS-passthrough Gateway routes by it

Layout

PathPurpose
helmfile/helmfile.yaml.gotmplEnvironments, repositories, defaults and every release.
helmfile/state.schema.jsonJSON Schema of the core state: its keys, types, mode enums and ranges. auth, config and the passthroughs are left open for the charts.
helmfile/_validate.tplFail-closed state checks: the schema run and the rules that span keys or environments. Helmfile loads _*.tpl files automatically.
helmfile/_gates.tplThe presync gate arguments shared by the releases that wait on a managed database.
helmfile/environments/defaults.yamlState defaults, each with an explanatory comment.
helmfile/environments/{local,dev}.yamlOverrides for the two supplied example environments. dev.yaml sets only environmentId.
helmfile/state-values/dev.example.yamlThe state file example for dev and shared-cluster environments.
helmfile/values/*.gotmplState mapped to chart values, one file per chart. postgresql.yaml.gotmpl serves both databases; passthrough.yaml.gotmpl is the last layer of each managed upstream release. _passthrough.tpl checks the passthrough keys and upstreamImages, and _images.tpl defines and parses the image reference forms.
helmfile/locks/upstream.lock.jsonPinned upstream chart repositories, versions, archive checksums and image tags.
charts/The two local charts: the NRO chart and the bootstrap chart.
scripts/The native Helmfile tasks and their tests. Helmfile invokes python3 -I ../scripts <task>; __main__.py dispatches to the nro_helm package, which holds the presync gates and the state schema check.
tests/The cluster-free test suites (Validation) and, in tests/nrotest/, their shared helpers.
kind/config.yamlThe kind cluster local targets by default.
README.mdThe Helm overview and installation chooser.
docs/The deployment guides: quick-start/ (Local K8s, Shared K8s), configuration/, operations/ and reference/.
DESIGN.md, BAZEL.md, VALIDATION.mdDesign, Bazel integration and Validation.
MODULE.bazel, BUILD.bazel, bazel/, tools/The Bazel module nro_helm: tool pins and test targets (Bazel integration).
examples/consumer-module/A separate Bazel module that depends on nro_helm; build it from its own directory (Bazel integration).
skills/nro-helm/The portable NRO Helm skill for AI coding agents.

Next steps