Skip to content

plan-request schema

servtuner plan’s input (Planner inputs): the traffic to plan for, the SLO, availability and overrides. The capacity models are passed beside it.

Schema file: schema/json/plan-request.schema.json. Generated from servtuner commit 5b46cdad0e5c.

Field Type Required Description
peak_rps number Yes > 0
baseline_rps number No Off-peak traffic, for the HPA minimum. Without it, the minimum is the availability floor. > 0
slos object Yes The SLO to plan for. It need not be the one the runs used: the per-replica capacity is recomputed from the stored curves, interpolating only between measured stages.
workload_hash string No Plan only models measured with this request mix; required when the models disagree. pattern ^[0-9a-f]{64}$
availability object No
replica_headroom number No ≥ 0; < 1 Default: 0.2.
burst_factor number No ≥ 1 Default: 1.
overrides array of object No Scenario overrides on the plan’s derivation nodes.

Named apart from the recommendations’ subject kind: two generated enums both called Kind collided in the api’s OpenAPI document.

Type: "parameter", "pin", "hypothetical"