Get Started with Planner
Deploy one model with built-in autoscaling and check its replica decisions.
Deploy Qwen3-0.6B with Planner on a development cluster. This workflow uses the default queue-based autoscaling policy, keeps at least one prefill and one decode replica, and limits Planner to four GPUs. You do not need to choose a traffic predictor or provide runtime latency targets.
Prerequisites
- Complete the Kubernetes Quickstart, including installing the Dynamo platform and verifying that a model serves requests.
- Have four schedulable GPUs on hardware supported by the profiler’s
rapid search.
Keep the version-selector exports from that quickstart:
DYNAMO_IMAGE,DYNAMO_VERSION, andDYNAMO_RUNTIME_VERSIONwhen provided. The example reuses them so the profiler and workers follow your selected install instead of deriving an image tag from the operator version. - Install AIPerf on the machine from which you run the load test.
Use a development deployment for this first run. Scale-down can interrupt in-flight requests that do not finish within the removed worker’s shutdown grace period. A replica floor controls how many workers remain.
Create a deployment request
In the terminal with the quickstart’s version exports, create planner-demo.yaml.
A DynamoGraphDeploymentRequest (DGDR) selects an initial configuration and
generates the serving deployment with a Planner component.
optimization_target: throughput uses built-in thresholds on prompt queues and
KV cache utilization. It does not require a Prometheus traffic query or a
latency-performance model. DGDR still uses its default profiling latency targets
in rapid search to choose the initial worker configuration; these are separate
from the runtime Planner policy.
With Planner enabled, rapid search picks a disaggregated configuration, so
mode: disagg matches the generated prefill and decode workers. On hardware
outside the support matrix, the profiler logs Naive fallback and generates an
aggregated configuration instead; set mode: agg in that case.
In a terminal, set the namespace to the one prepared in the quickstart and apply the request:
The commands name the v1beta1 API version, matching the manifest. Without it,
kubectl reads the request through a newer version that reports status in a
different shape. Wait for the phase to become Deployed, then stop the watch
with Ctrl+C. If it becomes Failed, inspect
kubectl describe dynamographdeploymentrequests.v1beta1.nvidia.com planner-demo -n "$NAMESPACE".
For profiling and image problems, see
DGDR troubleshooting.
Verify the workers and Planner
Read the generated DynamoGraphDeployment (DGD) name and list its pods:
Check that the frontend, prefill worker, decode worker, and Planner are running.
Planner needs worker load records, called ForwardPassMetrics (FPM), to make
queue-based decisions. Repeated no_fpm_data or missing_engine_metadata
decisions mean the inputs are unavailable; a running pod alone does not prove
that scaling is working. See
backend requirements.
Send load to the model
Forward the frontend service in the same terminal:
In a second terminal, send streaming requests:
AIPerf records request latency, throughput, and failures. A fixed concurrency creates a closed-loop load test: faster responses allow more requests to arrive. Use a recorded arrival trace for a repeatable policy comparison.
Check the scaling behavior
In a third terminal, set the same namespace and deployment name, then watch the replicas while the load test runs and after it ends:
Compare each desired count in spec.components[].replicas with the matching
entry in status.components, keyed by component name. Read readyReplicas or
availableReplicas, depending on which the workload provider reports. The DGD
status works across Grove, DisaggregatedSet, and DCD-backed deployments.
A successful smoke test shows valid inputs and explained hold or scale decisions in the Planner logs. Applied changes then appear in the DGD status. Under sustained overload, look for a higher desired count followed by additional ready workers. After load falls, look for scale-down toward the configured floors. A short or light test may leave the counts unchanged; a hold decision with valid inputs is different from missing metrics. Pending pods mean the deployment has not yet supplied the requested capacity.
For longer tests, use the Planner diagnostics reports to inspect recommendations and decisions alongside actual replicas. Check AIPerf request failures and observed latency as well as capacity changes.
Clean Up
Stop the port-forward and watches. Delete both resources to release the serving GPUs; deleting a DGDR alone leaves its generated DGD running.
Next Steps
- To inspect recommendations without changing replicas, follow advisory validation and guardrails on a separate deployment. Choose advisory mode before submitting its DGDR; the spec becomes immutable when profiling starts.
- To scale toward specific response-latency targets, see Tune the Planner.
- To compare policies on the same traffic before a live test, see Simulate Planner Decisions.