dps
by CodeScriptum
NVIDIA Dynamic Power Software
About this chart
dps
NVIDIA Dynamic Power Software
Pre-Requisites
- Kubernetes
- Helm
WARNING: Default Install Is Insecure
The default chart values are for bring-up only:
- DPS gRPC runs in plaintext with
dps.serverTLS.transportSecurity: "insecure". - The agent connects without TLS or mTLS with
agent.tls.transportSecurity: "insecure". - The agent does not send a bearer token; in plaintext mode the server trusts
DPSAgentService. /Tokenresolves the emptydps.auth.authenticatorTypedefault toalwaysAllow, which accepts any username/password.
Do not use the defaults for production. Provide TLS Secrets, enable agent mTLS,
allow the agent certificate CN for DPSAgentService, and use a real
authenticator:
dps:
serverTLS:
transportSecurity: tls
existingSecret: dps-server-tls
grpcServiceMTLSCN:
nvidia.dcpower.v1.DPSAgentService:
- dps-agent-default
auth:
authenticatorType: ldap
ldap:
enabled: true
agent:
enabled: true
agentID: dps-agent-default
tls:
transportSecurity: mtls
existingSecret: dps-agent-client-tls
External Authentication
Delegate authentication and authorization to an independently installed proxy:
dps:
auth:
external:
enabled: true
proxyPort: 8081
The deployment owns proxy installation and Service routing. See DPS gRPC Authentication for setup.
UI HTTPS
Use HTTPS for the DPS UI in production. Configure ui.ingress.tls with a
Kubernetes TLS Secret, or terminate TLS before traffic reaches the UI ingress.
The chart leaves ui.ingress.tls empty because certificate provisioning is
platform-specific.
LDAP Group Profiles
DPS resolves LDAP groups before issuing JWTs and writes the group names into the
JWT memberOf claim. dps.auth.auth_required_groups is enforced against that
claim.
For POSIX/RFC2307 directories, set:
dps:
ldap:
enabled: true
groupProfile: rfc2307
groupAttribute: cn
The rfc2307 profile resolves secondary memberships with
posixGroup/memberUid={uid} and primary memberships with matching
posixGroup/gidNumber={gidnumber}.
groupProfile controls how DPS resolves LDAP group membership:
| Profile | Use for | Group filter behavior |
|---|---|---|
unset or custom | Existing deployments with a custom LDAP filter. | Uses groupFilter as configured. |
groupOfNames | LDAP directories with groupOfNames groups. | Defaults to (&(objectClass=groupOfNames)(member={userdn})) unless a custom groupFilter is set. |
rfc2307 | POSIX/RFC2307 directories. | Uses posixGroup/memberUid={uid} and posixGroup/gidNumber={gidnumber}; ignores groupFilter. |
activeDirectory | Active Directory groups. | Defaults to (&(objectClass=group)(member={userdn})) unless a custom groupFilter is set. |
Custom group filters may use {userdn}, {username}, {uid}, and
{gidnumber} substitutions.
OIDC Authentication
Set dps.auth.oidc.enabled: true to validate external OIDC access tokens
against a JWKS endpoint. OIDC mode disables DPS /Token issuance for the
release by setting AUTH_SERVICE_ENABLE=false; clients must send
authorization: Bearer <access-token>.
Example:
dps:
auth:
oidc:
enabled: true
issuer: "https://keycloak.example/realms/dps"
jwksUrl: "https://keycloak.example/realms/dps/protocol/openid-connect/certs"
audience: "dps-api"
requiredScopes:
- dps:api
Use HTTPS in production. If Keycloak uses a private CA, mount the CA bundle and
set dps.auth.oidc.caCertFile. allowHTTP is for local development only.
Set allowedClientIds to restrict accepted token azp values.
PostgreSQL TLS (global.postgresql.sslMode)
global.postgresql.sslMode controls the PostgreSQL client connection mode used by
dps-server.
| Mode | Values | Notes |
|---|---|---|
| unset | (default) | Effective disable. |
verify-ca | global.postgresql.sslMode: "verify-ca" + global.postgresql.sslRootCert | Validates the Postgres server cert against the configured CA. |
verify-full | global.postgresql.sslMode: "verify-full" + global.postgresql.sslRootCert | Validates the CA and connection hostname. |
| Client certificate auth | global.postgresql.sslCert + global.postgresql.sslKey | Adds a client certificate and key to the Postgres connection. |
Mount certificate files with dps.secrets or another pod volume mechanism and
set the matching absolute paths under global.postgresql.
PostgreSQL Passwords and GitOps
The chart keeps a convenience password fallback for direct live Helm workflows:
- If
global.postgresql.auth.passwordis set, DPS uses that value. - If
global.postgresql.auth.existingSecretis set, DPS uses that Secret and does not create one. - If neither value is set, DPS uses
lookupto reuse the existing live<release>-postgresqlSecret. - If the live Secret is not found, DPS generates a new password with
randAlphaNum.
This is convenient for helm install and helm upgrade --install, because live
Helm can query the cluster and reuse the existing Secret on later upgrades. It is
not a safe production source of truth for GitOps workflows such as offline
helm template, CI-generated manifests, or Argo CD-style rendering. In those
flows, lookup may return empty and randAlphaNum may produce a new password on
each render, causing credential mismatch between the database, pods, connection
pools, and restarted workloads.
For production and GitOps, manage the Secret outside this chart and set
global.postgresql.auth.existingSecret. The Secret should contain the DPS
password key and the Bitnami-compatible user password key:
global:
postgresql:
auth:
username: dps
database: dps
existingSecret: dps-postgresql
secretKeys:
passwordKey: password
userPasswordKey: database-password
Safer GitOps patterns include SOPS-encrypted Secrets or values, Sealed Secrets, External Secrets Operator, or another external secret manager.
Grafana Dashboards
The chart can publish an opt-in dashboard ConfigMap for a platform-provided Grafana dashboard sidecar. It contains:
DPS OverviewandDB Connectionsfor Prometheus metrics;DPS Operations Tracing DashboardandDPS Redfish APIfor Tempo traces; andDPS Server Metricsfor Prometheus metrics, Loki logs, and Tempo traces.
The chart does not install Grafana, Prometheus, Prometheus Operator, Loki, or
Tempo. Install and configure those platform components first, including a
sidecar that discovers ConfigMaps labeled grafana_dashboard: "1".
Dashboard UIDs are stable so links and updates remain consistent. Enable the dashboard ConfigMap in only one Helm release per Grafana organization watched by the same sidecar. Runtime scope filters are described below.
Enable the dashboard and the DPS metrics ServiceMonitors with:
observability:
dashboards:
enabled: true
dps:
serviceMonitor:
enabled: true
agent:
enabled: true
serviceMonitor:
enabled: true
The dashboards select their Prometheus, Loki, and Tempo datasources at runtime.
DPS Overview and DB Connections select namespace, release, service, and pod.
DPS Server Metrics selects namespace, release, and server workload for server
metrics and logs. Trace panels select matching services and operations in the
Tempo datasource, not individual Helm releases. Override
observability.dashboards.labels and observability.dashboards.annotations
when the platform sidecar uses different discovery metadata. Power Steering
and NvGrid panels are optional; no data in those panels means the integration
may be disabled, inactive, or unavailable.
Requirements
| Repository | Name | Version |
|---|---|---|
| https://helm.ngc.nvidia.com/nvidia | power-steering | 2.2.2 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| agent.agentID | string | "default" | Agent identifier (must match topology AgentId assignments) |
| agent.auth.allowInsecure | bool | false | Permit application credentials over plaintext DPS gRPC. |
| agent.auth.dps | object | {} | DPS AuthService login (including LDAP-backed DPS). Set username and password.existingSecret (key defaults to password). The Secret is mounted only into the agent. Restart after password rotation. passwordFile is an alternative for platform-injected files. |
| agent.auth.oauth2 | object | {} | OAuth2 client credentials. Set tokenUrl and scopes plus credentials.existingSecret or credentialsFile. The JSON file is reread for each token acquisition; selectors default to $.client_id and $.client_secret. |
| agent.auth.requestTimeout | string | "30s" | Timeout for OAuth2 token acquisition and DPS login/refresh requests. |
| agent.auth.tokenFile | string | "" | Path to an externally mounted, rotating bearer token. The platform owns delivery and rotation; avoid subPath mounts. |
| agent.capabilities.compliance.alertTimeout | string | "60s" | Compliance alert expiration timeout. |
| agent.capabilities.compliance.enabled | bool | false | Enable agent-side compliance monitoring and alerts. |
| agent.capabilities.compliance.evaluationDelay | string | "0s" | Compliance evaluation delay after a desired limit changes. |
| agent.capabilities.deviceControl.maxConcurrentCalls | int | 1000 | Maximum concurrent device calls accepted by the agent. Additional calls are rejected. |
| agent.capabilities.zapp.enabled | bool | false | Enable Zapp DSX host registration and telemetry streaming. |
| agent.capabilities.zapp.metricsManagementService.tls.existingSecret | string | "" | Existing Secret containing ca.crt for TLS, plus tls.crt and tls.key for mTLS. |
| agent.capabilities.zapp.metricsManagementService.tls.insecureSkipVerify | bool | false | Skip server certificate verification. Use only for development. |
| agent.capabilities.zapp.metricsManagementService.tls.transportSecurity | string | "insecure" | MetricsManagementService transport mode. Valid values: tls, mtls, insecure. |
| agent.capabilities.zapp.metricsManagementService.url | string | "grpc://zapp:9090" | MetricsManagementService gRPC URL. Use grpc:// for insecure transport or grpcs:// for TLS/mTLS. |
| agent.capabilities.zapp.zappService.tls.existingSecret | string | "" | Existing Secret containing ca.crt for TLS, plus tls.crt and tls.key for mTLS. |
| agent.capabilities.zapp.zappService.tls.insecureSkipVerify | bool | false | Skip server certificate verification. Use only for development. |
| agent.capabilities.zapp.zappService.tls.transportSecurity | string | "insecure" | ZappService transport mode. Valid values: tls, mtls, insecure. |
| agent.capabilities.zapp.zappService.url | string | "grpc://zapp:50051" | ZappService gRPC URL for SensorManifest and Subscribe. |
| agent.configFile | string | "/etc/dps-server-agent/config.yaml" | Path to agent YAML config file (mounted from ConfigMap) |
| agent.credentialsStore | string | "" (defaults to dps.credentialsStore) | Agent Redfish credential store. |
| agent.deploymentAnnotations | object | {} | Annotations for agent deployment |
| agent.enabled | bool | false | Enable DPS Agent Deployment |
| agent.existingConfigMap | string | "" | Existing ConfigMap containing agent config YAML |
| agent.existingSecret | string | "" | Existing Secret containing BMC credentials |
| agent.image.imagePullSecrets | list | [] | |
| agent.image.pullPolicy | string | "" (defaults to dps.image.pullPolicy) | Image pull policy for agent |
| agent.image.repository | string | "" (defaults to dps.image.repository) | Repository to use for agent (same as dps-server) |
| agent.image.tag | string | "" (defaults to dps.image.tag) | Tag to use for agent |
| agent.pingInterval | string | "30s" | Ping interval for keepalive |
| agent.podAnnotations | object | {} | Annotations for agent pods |
| agent.podLabels | object | {} | Labels for agent pods |
| agent.replicas | int | 1 | Number of agent replicas |
| agent.resources | object | {} | |
| agent.secretMountPath | string | "" | Base directory for agent Redfish credential files when agent.credentialsStore is "file". Files are resolved as baremetal/<Redfish.SecretName>/bmc below this path. |
| agent.secretsDir | string | "/mnt/secrets" | Path to secrets directory for ${secrets.*} variable expansion |
| agent.securityContext.fsGroup | int | 65532 | |
| agent.securityContext.runAsNonRoot | bool | true | |
| agent.securityContext.runAsUser | int | 65532 | |
| agent.serverAddr | string | "" (defaults to "{Release.Name}-server-grpc.{Release.Namespace}.svc.cluster.local:50051") | DPS server address for the agent to connect to |
| agent.serviceMonitor.additionalLabels | object | {} | Additional labels to add to the ServiceMonitor metadata |
| agent.serviceMonitor.enabled | bool | false | Enable a ServiceMonitor for the DPS agent. Requires agent.enabled=true and the monitoring.coreos.com/v1 ServiceMonitor CRD. |
| agent.serviceMonitor.interval | string | "30s" | ServiceMonitor scrape interval |
| agent.serviceMonitor.namespace | string | Release namespace | Override the namespace where the ServiceMonitor is deployed |
| agent.serviceMonitor.namespaceSelector | object | {} | Namespace selector used to discover the agent metrics Service. When empty, discovery uses the monitor namespace, or the release namespace when the monitor is deployed elsewhere. |
| agent.serviceMonitor.scrapeTimeout | string | "10s" | ServiceMonitor scrape timeout |
| agent.tls.existingSecret | string | "" | Existing Kubernetes Secret containing agent TLS material. Required for tls and mtls. For tls, must contain ca.crt. For mtls, must contain tls.crt, tls.key, an |
Deploy dps with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dps on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdps is pinned at v0.10.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply