Planner Examples
Examples for custom load predictors and the VirtualConnector for non-Kubernetes scaling environments.
Planner-specific examples for advanced configuration and non-Kubernetes integrations. For DGDR manifests, see DGDR Templates. For the full configuration reference, see the Planner Guide.
Custom Load Predictors
Each YAML block in this section is a standalone PlannerConfig. Save the block
as planner.yaml and pass it to
python -m dynamo.planner --config planner.yaml. To use the same fields in a
DGDR, nest them under spec.features.planner.
Warm-starting with Trace Data
Pre-load predictors with historical request patterns before live traffic:
The parser accepts per-request Mooncake JSONL records:
It also accepts dynamo.request.trace.v1 request_end records. The Planner
groups requests into adjustment intervals and computes request count, average
input sequence length (ISL), and average output sequence length (OSL).
Kalman Filter Tuning
For workloads with rapid changes, tune the Kalman filter:
Prophet for Seasonal Workloads
For workloads with daily/weekly patterns:
Virtual Connector
For non-Kubernetes environments, use the VirtualConnector to communicate scaling decisions:
See the VirtualConnector integration test for a complete example.
Related Documentation
- Planner Guide — Planner configuration reference
- DGDR Templates — DGDR YAML examples
- Profiler Guide — Profiling workflow