full-api-reference.mdx
August 20, 2026 · View on GitHub
{/* GENERATED by docs/fern/scripts/gen_kubernetes_api.py -- do not edit. */}
Warning
Auto-generated from source. This page is regenerated from the Dynamo operator CRDs by docs/fern/scripts/gen_kubernetes_api.py and covers every type across all three API packages: the deprecated nvidia.com/v1alpha1 surface, the supported nvidia.com/v1beta1 surface, and the operator's own operator.config.dynamo.nvidia.com/v1alpha1 configuration. The trimmed DGD, DGDR, and DCD references cover only user-facing v1beta1 fields. To edit the surface, change the Go types under deploy/operator/api/ and let CI regenerate this page.
Dynamo publishes 3 Kubernetes API packages with 175 typed CRD and config sections.
nvidia.com/v1alpha1
Package v1alpha1 contains API Schema definitions for the nvidia.com v1alpha1 API group.
This package defines the DynamoGraphDeploymentRequest (DGDR) custom resource, which provides a high-level, SLA-driven interface for deploying machine learning models on Dynamo.
Package v1alpha1 contains API Schema definitions for the nvidia.com v1alpha1 API group.
Resource Types
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: enum
Underlying type: string
Validation: Enum: [Delete Retain]
Appears in: ServiceCheckpointConfig
Allowed values
Delete CheckpointDeletionPolicyDelete deletes DGD-managed automatic checkpoint CRs and artifacts when the owning DGD is deleted.Retain CheckpointDeletionPolicyRetain keeps DGD-managed automatic checkpoint CRs and artifacts after the owning DGD is deleted. Users can reference the retained checkpoint with checkpointRef if they accept compatibility risk.
Kind: enum
Underlying type: string
Validation: Enum: [Auto Manual]
Appears in: ServiceCheckpointConfig
Allowed values
Auto Deprecated: use checkpoint.enabled=true and omit checkpointRef.Manual Deprecated: use checkpointRef to restore an existing checkpoint.
Kind: enum
Underlying type: string
Validation: Enum: [Immediate WaitForCheckpoint]
Appears in: ServiceCheckpointConfig
Allowed values
Immediate CheckpointStartupPolicyImmediate starts workers immediately. The checkpoint job runs in the background, and only pods created after the checkpoint is Ready are restore-shaped by the pod-create mutating webhook.WaitForCheckpoint CheckpointStartupPolicyWaitForCheckpoint gates worker replicas until the component's checkpoint is Ready, then starts them from the checkpoint.
Kind: enum
Underlying type: string
Validation: Enum: [PodClique PodCliqueScalingGroup Deployment LeaderWorkerSet]
Appears in: ServiceReplicaStatus
Allowed values
PodClique ComponentKindPodClique represents a PodClique resource.PodCliqueScalingGroup ComponentKindPodCliqueScalingGroup represents a PodCliqueScalingGroup resource.Deployment ComponentKindDeployment represents a Deployment resource.LeaderWorkerSet ComponentKindLeaderWorkerSet represents a LeaderWorkerSet resource.
Kind: type
Appears in: ProfilingConfigSpec
Kind: enum
Underlying type: string
Validation: Enum: [Initializing Pending Profiling Deploying Ready DeploymentDeleted Failed]
Appears in: DynamoGraphDeploymentRequestStatus
Allowed values
Initializing Pending Profiling Deploying Ready DeploymentDeleted Failed
Kind: enum
Underlying type: string
Validation: Enum: [initializing pending successful failed]
Appears in: DeploymentStatus, DynamoGraphDeploymentStatus
Allowed values
initializing pending successful failed
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
Kind: type
Appears in: DynamoGraphDeploymentRequestStatus
Kind: resource
Kind: type
Appears in: DynamoCheckpointSpec, ServiceCheckpointConfig
Kind: type
Appears in: DynamoCheckpointSpec
Kind: enum
Underlying type: string
Validation: Enum: [Pending Creating Ready Failed]
Appears in: DynamoCheckpointStatus
Allowed values
Pending DynamoCheckpointPhasePending indicates the checkpoint CR has been created but the Job has not startedCreating DynamoCheckpointPhaseCreating indicates the checkpoint Job is runningReady DynamoCheckpointPhaseReady indicates the checkpoint artifact is availableFailed DynamoCheckpointPhaseFailed indicates the checkpoint creation failed
Kind: type
Appears in: DynamoCheckpoint
Kind: type
Appears in: DynamoCheckpoint
Kind: type
Underlying type: string
Validation: Enum: [pvc s3 oci]
Appears in: DynamoCheckpointStatus
Kind: resource
Kind: type
Appears in: DynamoGraphDeploymentSpec
Kind: type
Appears in: DynamoComponentDeployment
Kind: resource
Kind: type
Appears in: DynamoGraphDeploymentSpec
Lifecycle:
- Initializing → Pending: Validates spec and prepares for profiling
- Pending → Profiling: Creates and runs profiling job (online or AIC)
- Profiling → Ready/Deploying: Generates DGD spec after profiling completes
- Deploying → Ready: When autoApply=true, monitors DGD until Ready
- Ready: Terminal state when DGD is operational or spec is available
- DeploymentDeleted: Terminal state when auto-created DGD is manually deleted
The spec becomes immutable once profiling starts. Users must delete and recreate the DGDR to modify configuration after this point.
DEPRECATION NOTICE: v1alpha1 DynamoGraphDeploymentRequest is deprecated. Please migrate to nvidia.com/v1beta1 DynamoGraphDeploymentRequest. v1alpha1 will be removed in a future release.
Kind: resource
Kind: type
Appears in: DynamoGraphDeploymentRequest
Kind: type
Appears in: DynamoGraphDeploymentRequest
The adapter acts as an intermediary between autoscalers and the DGD, ensuring that only the adapter controller modifies the DGD's service replicas. This prevents conflicts when multiple autoscaling mechanisms are in play.
Kind: resource
Kind: type
Appears in: DynamoGraphDeploymentScalingAdapter
Kind: type
Appears in: DynamoGraphDeploymentScalingAdapter
Kind: type
Appears in: DynamoGraphDeploymentScalingAdapterSpec
Kind: type
Appears in: DynamoGraphDeployment
Kind: type
Appears in: DynamoGraphDeployment
Kind: resource
Kind: type
Appears in: DynamoModel
Kind: type
Appears in: DynamoModel
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoModelStatus
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: GPUMemoryServiceSpec
Kind: enum
Underlying type: string
Appears in: FailoverSpec, GPUMemoryServiceSpec
Allowed values
intraPod GMSModeIntraPod runs GMS as a sidecar within the same pod.interPod GMSModeInterPod runs GMS as a separate weight server pod and one or more engine pods per rank, sharing GPUs via DRA ResourceClaims and a shared hostPath volume for UDS sockets. Extra client pod rendering is reserved for a follow-up change.
Kind: type
Appears in: DynamoCheckpointSpec, DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: IngressSpec
Kind: enum
Underlying type: string
Validation: Enum: [required preferred]
Appears in: KvTransferPolicy
Allowed values
required KvTransferEnforcementRequired enforces same-domain decode worker selection.preferred KvTransferEnforcementPreferred biases decode worker selection toward the same domain.
Kind: type
Appears in: DynamoGraphDeploymentExperimentalSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoModelSpec
Kind: type
Appears in: MultinodeSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec
Kind: type
Appears in: DynamoGraphDeploymentSpec
Kind: enum
Underlying type: string
Validation: Enum: [Reported Partial Unsupported Unknown]
Appears in: PlacementStatus
Allowed values
Reported Partial Unsupported Unknown
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
All other providers, versions, targets, and fields are rejected.
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoGraphDeploymentSpec, MultinodeRoleSpec
Kind: type
Appears in: Resources
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoGraphDeploymentSpec
Kind: enum
Underlying type: string
Appears in: RestartStatus
Allowed values
Pending Restarting Completed Failed Superseded
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: type
Appears in: Restart
Kind: enum
Underlying type: string
Appears in: RestartStrategy
Allowed values
Sequential Parallel
Kind: enum
Underlying type: string
Validation: Enum: [Pending InProgress Completed Failed ]
Appears in: RollingUpdateStatus
Allowed values
Pending InProgress Completed ``
Kind: type
Appears in: DynamoGraphDeploymentStatus
Enable it with scalingAdapter: {enabled: true}. Because enabled defaults to false, a
bare scalingAdapter: {} is disabled.
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: ServiceCheckpointConfig
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: type
Appears in: DynamoCheckpointJobConfig, DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoGraphDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Underlying type: string
Validation: Pattern: ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
Appears in: KvTransferPolicy, SpecTopologyConstraint, TopologyConstraint
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
nvidia.com/v1beta1
Package v1beta1 contains API Schema definitions for the nvidia.com v1beta1 API group.
Resource Types
Kind: enum
Underlying type: string
Validation: Enum: [auto sglang trtllm vllm]
Appears in: DynamoGraphDeploymentRequestSpec
Allowed values
auto sglang trtllm vllm
Kind: enum
Underlying type: string
Validation: Enum: [Delete Retain]
Appears in: ComponentCheckpointConfig
Allowed values
Delete CheckpointDeletionPolicyDelete deletes DGD-managed automatic checkpoint CRs and artifacts when the owning DGD is deleted.Retain CheckpointDeletionPolicyRetain keeps DGD-managed automatic checkpoint CRs and artifacts after the owning DGD is deleted. Users can reference the retained checkpoint with checkpointRef if they accept compatibility risk.
Kind: enum
Underlying type: string
Validation: Enum: [Auto Manual]
Appears in: ComponentCheckpointConfig
Allowed values
Auto Deprecated: use checkpoint.enabled=true and omit checkpointRef.Manual Deprecated: use checkpointRef to restore an existing checkpoint.
Kind: enum
Underlying type: string
Validation: Enum: [Immediate WaitForCheckpoint]
Appears in: ComponentCheckpointConfig
Allowed values
Immediate CheckpointStartupPolicyImmediate starts workers immediately. The checkpoint job runs in the background, and only pods created after the checkpoint is Ready are restore-shaped by the pod-create mutating webhook.WaitForCheckpoint CheckpointStartupPolicyWaitForCheckpoint gates worker replicas until the component's checkpoint is Ready, then starts them from the checkpoint.
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: ExperimentalSpec
Kind: type
Appears in: ComponentCheckpointConfig
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: enum
Underlying type: string
Validation: Enum: [PodClique PodCliqueScalingGroup Deployment LeaderWorkerSet]
Appears in: ComponentReplicaStatus
Allowed values
PodClique PodCliqueScalingGroup Deployment LeaderWorkerSet
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: enum
Underlying type: string
Validation: Enum: [frontend worker prefill decode planner epp]
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Allowed values
frontend worker prefill decode planner epp
Kind: enum
Underlying type: string
Validation: Enum: [Pending Profiling Ready Deploying Deployed Failed]
Appears in: DynamoGraphDeploymentRequestStatus
Allowed values
Pending Profiling Ready Deploying Deployed Failed
Kind: enum
Underlying type: string
Validation: Enum: [initializing pending successful failed]
Appears in: DynamoGraphDeploymentStatus
Allowed values
initializing pending successful failed
Kind: type
Appears in: DynamoGraphDeploymentRequestStatus
Kind: type
Appears in: ComponentCheckpointConfig
v1beta1 is the storage version. The API server transparently converts to and from the served v1alpha1 version through operator's conversion webhook; see api/v1alpha1/*_conversion.go.
Kind: resource
In v1beta1 the ten per-component pod-configuration fields that existed in
v1alpha1 (resources, envs, envFromSecret, livenessProbe, readinessProbe,
volumeMounts, annotations, labels, extraPodMetadata, extraPodSpec) are
replaced with a single podTemplate field holding a native
corev1.PodTemplateSpec. The operator injects its defaults into the
container named "main" and merges user overrides using strategic-merge-by-name
semantics. Users can add sidecars, init containers, and pod-level configuration
directly in podTemplate without any extraPodSpec-style escape hatch.
Kind: type
Appears in: DynamoGraphDeploymentSpec
Kind: type
Appears in: DynamoComponentDeployment
v1beta1 is the storage version. The API server transparently converts to and from the served v1alpha1 version through operator's conversion webhook; see api/v1alpha1/*_conversion.go.
Kind: resource
Kind: type
Appears in: DynamoGraphDeploymentScalingAdapterSpec
Kind: type
Appears in: DynamoGraphDeploymentSpec
Lifecycle:
- Pending: Spec validated, preparing for profiling
- Profiling: Profiling job is running to discover optimal configurations
- Ready: Profiling complete, generated DGD spec available in status
- Deploying: DGD is being created and rolled out (when autoApply=true)
- Deployed: DGD is running and healthy
- Failed: An unrecoverable error occurred
Kind: resource
Kind: type
Appears in: DynamoGraphDeploymentRequest
Kind: type
Appears in: DynamoGraphDeploymentRequest
The adapter acts as an intermediary between autoscalers and the DGD, ensuring that only the adapter controller modifies the DGD's component replicas. This prevents conflicts when multiple autoscaling mechanisms are in play.
v1beta1 is the storage version; conversion to and from the served v1alpha1 version is handled by the operator's conversion webhook (see api/v1alpha1/dynamographdeploymentscalingadapter_conversion.go).
Kind: resource
Kind: type
Appears in: DynamoGraphDeploymentScalingAdapter
Kind: type
Appears in: DynamoGraphDeploymentScalingAdapter
Kind: type
Appears in: DynamoGraphDeployment
Kind: type
Appears in: DynamoGraphDeployment
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: ExperimentalSpec
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
Kind: type
Appears in: GPUMemoryServiceSpec
Kind: enum
Underlying type: string
Appears in: FailoverSpec, GPUMemoryServiceSpec
Allowed values
IntraPod GMSModeIntraPod runs GMS as a sidecar within the same pod.InterPod GMSModeInterPod runs GMS as rank-local pods that share GPUs through DRA. Extra client pod rendering is reserved for a follow-up change.
Kind: type
Appears in: ExperimentalSpec
Kind: enum
Underlying type: string
Validation: Enum: [gb200_sxm gb10 b200_sxm h200_sxm h100_sxm h100_pcie a100_sxm a100_pcie a30 l40s l40 l4 v100_sxm v100_pcie t4 mi200 mi300]
Appears in: HardwareSpec
Allowed values
gb200_sxm --- Blackwell ---gb10 b200_sxm h200_sxm --- Hopper ---h100_sxm h100_pcie a100_sxm --- Ampere ---a100_pcie a30 l40s --- Ada ---l40 l4 v100_sxm --- Older NVIDIA ---v100_pcie t4 mi200 --- AMD ---mi300
Kind: type
Appears in: ExperimentalSpec
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
Kind: enum
Underlying type: string
Validation: Enum: [required preferred]
Appears in: KvTransferPolicy
Allowed values
required KvTransferEnforcementRequired enforces same-domain decode worker selection.preferred KvTransferEnforcementPreferred biases decode worker selection toward the same domain.
Kind: type
Appears in: DynamoGraphDeploymentExperimentalSpec
Kind: type
Appears in: FeaturesSpec
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Appears in: MultinodeSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec
Kind: enum
Underlying type: string
Validation: Enum: [latency throughput]
Appears in: SLASpec
Allowed values
latency throughput
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
Kind: type
Appears in: ProfilingResultsStatus
Every backend must set this field after the first reconciliation:
- Reported: a score is available for every scored placement unit.
- Partial: a score is available for some but not all placement units.
- Unsupported: the backend does not surface a placement score at all.
- Unknown: the backend supports scores but the current value is indeterminate (e.g. read failure, not yet populated by the scheduler). When set, PlacementStatus.Score must be cleared.
Kind: enum
Underlying type: string
Validation: Enum: [Reported Partial Unsupported Unknown]
Appears in: PlacementStatus
Allowed values
Reported Partial Unsupported Unknown
The score source is an open question in DEP #10064 (Grove mirror, typed Grove scheduler API, or unstructured provider). Until a source is selected and implemented, the DGD controller does not write this field; the schema and conversion are landed here so downstream consumers can rely on the shape.
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: enum
Underlying type: string
Validation: Enum: [Initializing SweepingPrefill SweepingDecode SelectingConfig BuildingCurves GeneratingDGD Done]
Appears in: DynamoGraphDeploymentRequestStatus
Allowed values
Initializing Profiler is loading the DGD template, detecting GPU hardware, and resolving the model architecture from HuggingFace.SweepingPrefill Sweeping parallelization strategies (TP/TEP/DEP) across GPU counts for prefill, measuring TTFT at each configuration.SweepingDecode Sweeping parallelization strategies and concurrency levels for decode, measuring ITL at each configuration.SelectingConfig Filtering results against SLA targets and selecting the most cost-efficient configuration that meets TTFT/ITL requirements.BuildingCurves Building detailed interpolation curves (ISL→TTFT for prefill, KV-usage×context-length→ITL for decode) using the selected configs.GeneratingDGD Packaging profiling data into a ConfigMap and generating the final DGD YAML with planner integration.Done Profiling pipeline finished successfully.
Kind: type
Appears in: DynamoGraphDeploymentRequestStatus
All other providers, versions, targets, and fields are rejected.
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoGraphDeploymentSpec, MultinodeRoleSpec
Kind: type
Appears in: DynamoGraphDeploymentSpec
Kind: enum
Underlying type: string
Appears in: RestartStatus
Allowed values
Pending Restarting Completed Failed Superseded
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: type
Appears in: Restart
Kind: enum
Underlying type: string
Appears in: RestartStrategy
Allowed values
Sequential Parallel
Kind: enum
Underlying type: string
Validation: Enum: [Pending InProgress Completed Failed ]
Appears in: RollingUpdateStatus
Allowed values
Pending InProgress Completed Failed ``
Kind: type
Appears in: DynamoGraphDeploymentStatus
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: enum
Underlying type: string
Validation: Enum: [rapid thorough]
Appears in: DynamoGraphDeploymentRequestSpec
Allowed values
rapid thorough
Kind: type
Appears in: DynamoGraphDeploymentSpec
Kind: type
Appears in: DynamoComponentDeploymentSharedSpec, DynamoComponentDeploymentSpec
Kind: type
Underlying type: string
Validation: Pattern: ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
Appears in: KvTransferPolicy, SpecTopologyConstraint, TopologyConstraint
Kind: type
Appears in: DynamoGraphDeploymentRequestSpec
operator.config.dynamo.nvidia.com/v1alpha1
Resource Types
Kind: enum
Underlying type: string
Appears in: WebhookServer
Allowed values
auto CertProvisionModeAuto uses the built-in cert-controller to generate and rotate certificates.manual CertProvisionModeManual expects certificates to be provided externally (e.g., cert-manager, admin).
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: CheckpointStorageConfiguration
Kind: type
Appears in: CheckpointStorageConfiguration
Kind: type
Appears in: CheckpointStorageConfiguration
Kind: type
Appears in: CheckpointConfiguration
Kind: type
Appears in: CheckpointConfiguration
NOTE: auto-detection here only verifies that the resource.k8s.io/v1 API is
registered on the apiserver (Kubernetes 1.34+). It does NOT verify that a
GPU-specific DRA resource driver (e.g. nvidia/k8s-dra-driver-gpu) is
installed, that its DeviceClass exists, or that node-level GPU drivers are
compatible. An admin can use enabled: false to force-off DRA integration
on clusters where the API is present but the GPU driver stack is not wired
up — this makes the operator fail GMS / inter-pod failover admissions early
with a clear error instead of letting pods Pend with a confusing
"resourceclaim not found" at schedule time.
Kind: type
Appears in: OperatorConfiguration
Kind: enum
Underlying type: string
Appears in: DiscoveryConfiguration
Allowed values
kubernetes DiscoveryBackendKubernetes is the Kubernetes discovery backendetcd DiscoveryBackendEtcd is the etcd discovery backend
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OrchestratorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: ServiceMeshConfiguration
Kind: type
Appears in: OrchestratorConfiguration
Kind: type
Appears in: OrchestratorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: ServerConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: NamespaceConfiguration
Kind: resource
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: MetricsServer, ServerConfiguration, WebhookServer
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OperatorConfiguration
Kind: type
Appears in: OrchestratorConfiguration
Kind: type
Appears in: ServerConfiguration
Operator Default Values Injection
The Dynamo operator automatically applies default values to various fields when they are not explicitly specified in your deployments. These defaults include:
-
Health Probes: Startup, liveness, and readiness probes are configured differently for frontend, worker, and planner components. For example, worker components receive a startup probe with a 2-hour timeout (720 failures × 10 seconds) to accommodate long model loading times.
-
Security Context: All components receive
fsGroup: 1000by default to ensure proper file permissions for mounted volumes. This can be overridden via theextraPodSpec.securityContextfield. -
Shared Memory: All components receive an 8Gi shared memory volume mounted at
/dev/shmby default (can be disabled or resized via thesharedMemoryfield). -
Environment Variables: Components automatically receive environment variables like
DYN_NAMESPACE,DYN_PARENT_DGD_K8S_NAME,DYNAMO_PORT, and backend-specific variables. -
Pod Configuration: Default
terminationGracePeriodSecondsof 60 seconds andrestartPolicy: Always. -
Autoscaling: When enabled without explicit metrics, defaults to CPU-based autoscaling with 80% target utilization.
-
Backend-Specific Behavior: For multinode deployments, probes are automatically modified or removed for worker nodes depending on the backend framework (VLLM, SGLang, or TensorRT-LLM).
Pod Specification Defaults
All components receive the following pod-level defaults unless overridden:
terminationGracePeriodSeconds:60secondsrestartPolicy:Always
Security Context
The operator automatically applies default security context settings to all components to ensure proper file permissions, particularly for mounted volumes:
fsGroup:1000- Sets the group ownership of mounted volumes and any files created in those volumes
This default ensures that non-root containers can write to mounted volumes (like model caches or persistent storage) without permission issues. The fsGroup setting is particularly important for:
- Model downloads and caching
- Compilation cache directories
- Persistent volume claims (PVCs)
- SSH key generation in multinode deployments
Overriding Security Context
To override the default security context, specify your own securityContext in the extraPodSpec of your component:
services:
YourWorker:
extraPodSpec:
securityContext:
fsGroup: 2000 # Custom group ID
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
Important: When you provide any securityContext object in extraPodSpec, the operator will not inject any defaults. This gives you complete control over the security context, including the ability to run as root (by omitting runAsNonRoot or setting it to false).
OpenShift and Security Context Constraints
In OpenShift environments with Security Context Constraints (SCCs), you may need to omit explicit UID/GID values to allow OpenShift's admission controllers to assign them dynamically:
services:
YourWorker:
extraPodSpec:
securityContext:
# Omit fsGroup to let OpenShift assign it based on SCC
# OpenShift will inject the appropriate UID range
Alternatively, if you want to keep the default fsGroup: 1000 behavior and are certain your cluster allows it, you don't need to specify anything - the operator defaults will work.
Shared Memory Configuration
Shared memory is enabled by default for all components:
- Enabled:
true(unless explicitly disabled viasharedMemory.disabled) - Size:
8Gi - Mount Path:
/dev/shm - Volume Type:
emptyDirwithmemorymedium
To disable shared memory or customize the size, use the sharedMemory field in your component specification.
Health Probes by Component Type
The operator applies different default health probes based on the component type.
Frontend Components
Frontend components receive the following probe configurations:
Liveness Probe:
- Type: HTTP GET
- Path:
/health - Port:
http(8000) - Initial Delay: 60 seconds
- Period: 60 seconds
- Timeout: 30 seconds
- Failure Threshold: 10
Readiness Probe:
- Type: Exec command
- Command:
curl -s http://localhost:${DYNAMO_PORT}/health | jq -e ".status == \"healthy\"" - Initial Delay: 60 seconds
- Period: 60 seconds
- Timeout: 30 seconds
- Failure Threshold: 10
Worker Components
Worker components receive the following probe configurations:
Liveness Probe:
- Type: HTTP GET
- Path:
/live - Port:
system(9090) - Period: 5 seconds
- Timeout: 30 seconds
- Failure Threshold: 1
Readiness Probe:
- Type: HTTP GET
- Path:
/health - Port:
system(9090) - Period: 10 seconds
- Timeout: 30 seconds
- Failure Threshold: 60
Startup Probe:
- Type: HTTP GET
- Path:
/live - Port: `system$ (9090)
- \text{Period}: 10 \text{seconds}
- \text{Timeout}: 5 \text{seconds}
- \text{Failure} \text{Threshold}: 720 (\text{allows} \text{up} \text{to} 2 \text{hours} \text{for} \text{startup}: 10\text{s} \times 720 = 7200\text{s})
[!\text{NOTE}] \text{For} \text{larger} \text{models} (\text{typically} >70\text{B} \text{parameters}) \text{or} \text{slower} \text{storage} \text{systems}, \text{you} \text{may} \text{need} \text{to} \text{increase} \text{the} $failureThreshold
to allow more time for model loading. Calculate the required threshold based on your expected startup time:failureThreshold = (expected_startup_seconds / period)`. Override the startup probe in your component specification if the default 2-hour window is insufficient.
Multinode Deployment Probe Modifications
For multinode deployments, the operator modifies probes based on the backend framework and node role:
VLLM Backend
The operator automatically applies distributed execution configuration based on parallelism settings:
Tensor/Pipeline Parallel Mode (Recommended) (when world_size > GPUs_per_node):
- Uses PyTorch multiprocessing (mp) backend for distributed execution (
--distributed-executor-backend mp) - Supports multi-node deployments with PyTorch's native distributed initialization
- All nodes: Run vLLM with proper
--nnodes,--node-rank,--master-addrflags injected - Probes: Worker probes adjusted; leader probes remain active
Ray Backend:
- Used for use cases such as Elastic EP
- Install with
pip install "ray>=2.55.0"and configure--distributed-executor-backend ray
Data Parallel Mode (when world_size × data_parallel_size > GPUs_per_node):
- Worker nodes: All probes (liveness, readiness, startup) are removed
- Leader nodes: All probes remain active
SGLang Backend
- Worker nodes: All probes (liveness, readiness, startup) are removed
TensorRT-LLM Backend
- Leader nodes: All probes remain unchanged
- Worker nodes:
- Liveness and startup probes are removed
- Readiness probe is replaced with a TCP socket check on SSH port (2222):
- Initial Delay: 20 seconds
- Period: 20 seconds
- Timeout: 5 seconds
- Failure Threshold: 10
Environment Variables
The operator automatically injects environment variables into component containers based on component type, backend framework, and operator configuration. User-provided envs values always take precedence over operator defaults.
All Components
These environment variables are injected into every component container regardless of type.
| Variable | Purpose | Default | Type | Source |
|---|---|---|---|---|
DYN_NAMESPACE | Dynamo service namespace used for service discovery and routing | Derived from DGD spec | string | Downward API annotation on checkpoint-restored pods |
DYN_COMPONENT | Identifies the component type for runtime behavior | One of: frontend, worker, prefill, decode, planner, epp | string | Set from component spec |
DYN_PARENT_DGD_K8S_NAME | Kubernetes name of the parent DynamoGraphDeployment resource | — | string | Set from DGD metadata |
DYN_PARENT_DGD_K8S_NAMESPACE | Kubernetes namespace of the parent DynamoGraphDeployment resource | — | string | Set from DGD metadata |
POD_NAME | Current pod name | — | string | Downward API (metadata.name) |
POD_NAMESPACE | Current pod namespace | — | string | Downward API (metadata.namespace) |
POD_UID | Current pod UID | — | string | Downward API (metadata.uid) |
DYN_DISCOVERY_BACKEND | Service discovery backend for inter-component communication | kubernetes | string | Options: kubernetes, etcd |
Infrastructure (Conditional)
These are injected into all components when the corresponding infrastructure service is configured in the operator's OperatorConfiguration.
| Variable | Purpose | Default | Type | Condition |
|---|---|---|---|---|
NATS_SERVER | NATS messaging server address | — | string | Set when infrastructure.natsAddress is configured |
ETCD_ENDPOINTS | etcd endpoint addresses for distributed state | — | string | Set when infrastructure.etcdAddress is configured |
MODEL_EXPRESS_URL | Model Express service URL for model management | — | string | Set when infrastructure.modelExpressURL is configured |
PROMETHEUS_ENDPOINT | Prometheus endpoint for metrics collection | — | string | Set when infrastructure.prometheusEndpoint is configured |
Frontend Components
| Variable | Purpose | Default | Type |
|---|---|---|---|
DYNAMO_PORT | HTTP port the frontend listens on | 8000 | int |
DYN_HTTP_PORT | HTTP port for the frontend service (alias) | 8000 | int |
DYN_NAMESPACE_PREFIX | Namespace prefix used for frontend request routing | Same as DYN_NAMESPACE | string |
Worker Components
| Variable | Purpose | Default | Type |
|---|---|---|---|
DYN_SYSTEM_ENABLED | Enables the system HTTP server for health checks and metrics | true | string (boolean) |
DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS | Endpoints whose health status is used for readiness | ["generate"] | string (JSON array) |
DYN_SYSTEM_PORT | Port for the system HTTP server (health, metrics) | 9090 | int |
DYN_HEALTH_CHECK_ENABLED | Disables the legacy health check mechanism in favor of the system server | false | string (boolean) |
NIXL_TELEMETRY_ENABLE | Enables or disables NIXL telemetry collection | n | string |
NIXL_TELEMETRY_EXPORTER | Telemetry exporter format for NIXL metrics | prometheus | string |
NIXL_TELEMETRY_PROMETHEUS_PORT | Port for NIXL Prometheus metrics endpoint | 19090 | int |
DYN_NAMESPACE_WORKER_SUFFIX | Hash suffix appended to worker namespace for rolling updates | — | string |
Planner Components
| Variable | Purpose | Default | Type |
|---|---|---|---|
PLANNER_PROMETHEUS_PORT | Port for the planner's Prometheus metrics endpoint | 9085 | int |
EPP (Endpoint Picker Plugin) Components
| Variable | Purpose | Default | Type |
|---|---|---|---|
USE_STREAMING | Enables streaming mode for inference request proxying | true | string (boolean) |
RUST_LOG | Rust log level and filter configuration | info | string |
VLLM Backend
| Variable | Purpose | Default | Type | Condition |
|---|---|---|---|---|
VLLM_CACHE_ROOT | Directory for vLLM compilation cache artifacts | — | string | Set when a volume mount has useAsCompilationCache: true |
VLLM_NIXL_SIDE_CHANNEL_HOST | Host IP for the NIXL side channel in multiprocessing mode | Pod IP | string | Multinode mp backend only (Downward API: status.podIP) |
TensorRT-LLM Backend
| Variable | Purpose | Default | Type | Condition |
|---|---|---|---|---|
OMPI_MCA_orte_keep_fqdn_hostnames | Instructs OpenMPI to preserve FQDN hostnames for inter-node communication | 1 | string | Multinode deployments only |
Service Accounts
The following component types automatically receive dedicated service accounts:
- Planner:
planner-serviceaccount - EPP:
epp-serviceaccount
Image Pull Secrets
The operator automatically discovers and injects image pull secrets for container images. When a component specifies a container image, the operator:
- Scans all Kubernetes secrets of type
kubernetes.io/dockerconfigjsonin the component's namespace - Extracts the docker registry server URLs from each secret's authentication configuration
- Matches the container image's registry host against the discovered registry URLs
- Automatically injects matching secrets as
imagePullSecretsin the pod specification
This eliminates the need to manually specify image pull secrets for each component. The operator maintains an internal index of docker secrets and their associated registries, refreshing this index periodically.
To disable automatic image pull secret discovery for a specific component, add the following annotation:
annotations:
nvidia.com/disable-image-pull-secret-discovery: "true"
Autoscaling Defaults
When autoscaling is enabled but no metrics are specified, the operator applies:
- Default Metric: CPU utilization
- Target Average Utilization:
80%
Port Configurations
Default container ports are configured based on component type:
Frontend Components
- Port: 8000
- Protocol: TCP
- Name:
http
Worker Components
- Port: 9090 (system)
- Protocol: TCP
- Name:
system - Port: 19090 (NIXL)
- Protocol: TCP
- Name:
nixl
Planner Components
- Port: 9085
- Protocol: TCP
- Name:
metrics
EPP Components
- Port: 9002 (gRPC)
- Protocol: TCP
- Name:
grpc - Port: 9003 (gRPC health)
- Protocol: TCP
- Name:
grpc-health - Port: 9090 (metrics)
- Protocol: TCP
- Name:
metrics
Backend-Specific Configurations
VLLM
- Ray Head Port: 6379 (for Ray-based multinode deployments)
- MP Master Port: 29500 (for PyTorch distributed multinode TP/PP deployments with mp backend)
- Data Parallel RPC Port: 13445 (for data parallel multinode deployments)
SGLang
- Distribution Init Port: 29500 (for multinode deployments)
TensorRT-LLM
- SSH Port: 2222 (for multinode MPI communication)
- OpenMPI Environment:
OMPI_MCA_orte_keep_fqdn_hostnames=1
Implementation Reference
For users who want to understand the implementation details or contribute to the operator, the default values described in this document are set in the following source files:
- Health Probes, Security Context & Pod Specifications:
internal/dynamo/graph.go- Contains the main logic for applying default probes, security context, environment variables, shared memory, and pod configurations - Component-Specific Defaults:
internal/dynamo/component_common.go- Base container and pod spec shared by all component typesinternal/dynamo/component_frontend.gointernal/dynamo/component_worker.gointernal/dynamo/component_planner.gointernal/dynamo/component_epp.go
- Image Pull Secrets:
internal/secrets/docker.go- Implements the docker secret indexer and automatic discovery - Backend-Specific Behavior:
- Checkpoint / Restore:
internal/checkpoint/podspec.go- Checkpoint env var injection and volume setupinternal/checkpoint/resolve.go- Checkpoint resolution logicinternal/checkpoint/resource.go- Checkpoint resource management
- Constants & Annotations:
internal/consts/consts.go- Defines annotation keys and other constants
Notes
- All these defaults can be overridden by explicitly specifying values in your DynamoComponentDeployment or DynamoGraphDeployment resources
- User-specified probes (via
livenessProbe,readinessProbe, orstartupProbefields) take precedence over operator defaults - For security context, if you provide any
securityContextinextraPodSpec, no defaults will be injected, giving you full control - For multinode deployments, some defaults are modified or removed as described above to accommodate distributed execution patterns
- The
extraPodSpec.mainContainerfield can be used to override probe configurations set by the operator
Raw generated Markdown source: docs/fern/pages/reference/kubernetes-api/additional-resources/api-reference-k8s.md