> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# Stack reference

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](/remediation-orchestrator/deployment/helm#install-the-stack); the
[Design](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/DESIGN.md) 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.

| Release | Chart |
| --- | --- |
| `cnpg` (optional, `cnpg.install`; namespace `cnpg.operatorNamespace`, default `cnpg-system`) | `cnpg/cloudnative-pg` |
| `nro-db`, `nro-temporal-db` | `cnpg/cluster` |
| `nro-temporal` | `temporal/temporal` |
| `nro-collector` | `opentelemetry/opentelemetry-collector` |
| `nro-bootstrap` | `charts/remediation-orchestrator-bootstrap` |
| `remediation-orchestrator` | `charts/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](/remediation-orchestrator/deployment/helm/configuration/services#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`](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/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:

| Selector | Selects |
| --- | --- |
| `component=remediation-orchestrator` | The remediation-orchestrator release |
| `name=remediation-orchestrator` | Only that release |
| `component=bootstrap` | `nro-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](/remediation-orchestrator/deployment/helm/quick-start/local-k8s#use-another-local-port):

```sh
# 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

| Need | Value |
| --- | --- |
| NRO database | Secret `nro-db-app` (created by CNPG), key `uri`; external: `database.existingSecret`, key `database.connectionStringKey` |
| Temporal database | Secret `nro-temporal-db-app`, key `password`; databases `temporal` and `temporal_visibility` (managed Temporal only) |
| Temporal frontend | `nro-temporal-frontend.<ns>.svc:7233`; external: `temporal.address` |
| Temporal UI | `nro-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 Secret | `auth.dex.existingSecret`, key `auth.dex.clientSecretKey` (default `client-secret`); you create it |
| Bootstrap Jobs | `nro-bootstrap-migrate-<hash>` and `nro-bootstrap-temporal-<hash>`; `temporal.bootstrapJob: false` omits the Temporal Job |
| Install order | Helmfile follows each release's `needs`; independent releases can run in parallel. Refer to the [release graph](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/DESIGN.md#architecture), 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](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/DESIGN.md#bootstrap-chart)). [Readiness gating](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/DESIGN.md#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](/remediation-orchestrator/deployment/helm/configuration/services#temporal-schema-migration) 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.

| Term | Meaning |
| --- | --- |
| NRO | NVIDIA 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 |
| `maestro` | The 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 |
| Tenant | A configuration and script scope inside one NRO installation; the `default` tenant receives the chart's `config.toml` |
| `csp`, `datacenter` | Top-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"` |
| Namespace | Either 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 file | A YAML file passed with `--state-values-file` that describes one installation. `dev` requires one |
| State layers | The order in which defaults, the environment file and state files merge ([State layers](/remediation-orchestrator/deployment/helm/configuration/environments#state-layers)) |
| Passthrough | A 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, external | Backing-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 gate | A 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 container | A container that must finish before the main container of its Pod starts. By default, the bootstrap migration Job uses one to wait for PostgreSQL |
| Dex | An open source OpenID Connect provider. In `dex` mode NRO signs users in through an existing Dex |
| nvproxy | An 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 |
| Teleport | Teleport application access; in `teleport` mode NRO verifies the JWT the Teleport agent forwards |
| OTLP | The 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.

| Term | Meaning |
| --- | --- |
| NICo | [NVIDIA Infra Controller](https://docs.nvidia.com/infra-controller/documentation/overview/what-is-nico), which manages bare-metal hosts, DPUs, firmware and networking. NRO's `nico` module calls its REST and gRPC APIs |
| Data hall | One NICo-managed site, configured as a `[[modules.nico.data_halls]]` entry. NRO reaches it directly over admin mTLS or through an Agent |
| Agent | The `agent` binary from the application source (`cmd/agent/`). It runs next to a NICo instance and relays NRO's requests to it |
| Agent call-home | A mode in which the Agent dials NRO over mTLS gRPC instead of NRO dialing the data hall |
| `teleport` module | The 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](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/modules/teleport/README.md)) |
| DSN | Data source name: a database connection string, such as a `postgresql://` URI |
| JWKS | JSON 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 |
| pgx | The Go PostgreSQL driver NRO uses. It accepts connection-string parameters that libpq tools such as `psql` reject |
| REPL | NRO's interactive Starlark session (read-eval-print loop) |
| SNI | Server Name Indication: the host name a TLS client sends in its handshake. A TLS-passthrough Gateway routes by it |

## Layout

| Path | Purpose |
| --- | --- |
| `helmfile/helmfile.yaml.gotmpl` | Environments, repositories, defaults and every release. |
| `helmfile/state.schema.json` | JSON 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.tpl` | Fail-closed state checks: the schema run and the rules that span keys or environments. Helmfile loads `_*.tpl` files automatically. |
| `helmfile/_gates.tpl` | The presync gate arguments shared by the releases that wait on a managed database. |
| `helmfile/environments/defaults.yaml` | State defaults, each with an explanatory comment. |
| `helmfile/environments/{local,dev}.yaml` | Overrides for the two supplied example environments. `dev.yaml` sets only `environmentId`. |
| `helmfile/state-values/dev.example.yaml` | The state file example for `dev` and shared-cluster environments. |
| `helmfile/values/*.gotmpl` | State 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.json` | Pinned 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](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/VALIDATION.md)) and, in `tests/nrotest/`, their shared helpers. |
| `kind/config.yaml` | The kind cluster `local` targets by default. |
| `README.md` | The Helm overview and installation chooser. |
| `docs/` | The deployment guides: `quick-start/` ([Local K8s](/remediation-orchestrator/deployment/helm/quick-start/local-k8s), [Shared K8s](/remediation-orchestrator/deployment/helm/quick-start/shared-k8s)), `configuration/`, `operations/` and `reference/`. |
| `DESIGN.md`, `BAZEL.md`, `VALIDATION.md` | [Design](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/DESIGN.md), [Bazel integration](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/BAZEL.md) and [Validation](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/VALIDATION.md). |
| `MODULE.bazel`, `BUILD.bazel`, `bazel/`, `tools/` | The Bazel module `nro_helm`: tool pins and test targets ([Bazel integration](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/BAZEL.md)). |
| `examples/consumer-module/` | A separate Bazel module that depends on `nro_helm`; build it from its own directory ([Bazel integration](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/BAZEL.md)). |
| `skills/nro-helm/` | The portable [NRO Helm skill](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/skills/nro-helm/SKILL.md) for AI coding agents. |

## Next steps

- Why the stack is built this way: [Design](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/helm/DESIGN.md).
- Configure an installation: [Environments and state](/remediation-orchestrator/deployment/helm/configuration/environments).