# Arm A3 for content/standalone/06-serving-in-production/07-serving-stack-flow-control, Part A (Mac, Kind, simulated # replicas). Gate on, configured: concurrency-detector at the simulator's max-num-seqs (16), chat band TTL 10 s, # agent band capped at 32 queued requests with TTL 60 s, round-robin fairness across fairness IDs # (per chat user, per agent session) in both bands. # Rendered by kind-run.sh (32 = agent band request cap) and loaded as the epp-config ConfigMap. # Schema: llm-d-router v1.0.0 apix/config/v1alpha1 (FlowControlConfig, PriorityBandConfig); scorer set from llm-d # v1.0.0 guides/flow-control/router/flow-control.values.yaml. Kubernetes discovery (InferencePool), so the # InferenceObjective priorities in objectives.yaml apply. apiVersion: llm-d.ai/v1 kind: EndpointPickerConfig featureGates: - flowControl plugins: - type: queue-scorer - type: kv-cache-utilization-scorer - type: prefix-cache-scorer - type: round-robin-fairness-policy - type: fcfs-ordering-policy - type: concurrency-detector parameters: maxConcurrency: 16 # = the simulator's --max-num-seqs concurrencyMode: requests headroom: 0.0 schedulingProfiles: - name: default plugins: - pluginRef: queue-scorer weight: 2 - pluginRef: kv-cache-utilization-scorer weight: 2 - pluginRef: prefix-cache-scorer weight: 3 flowControl: defaultRequestTTL: "60s" saturationDetector: pluginRef: concurrency-detector priorityBands: - priority: 100 # chat-premium defaultRequestTTL: "10s" fairnessPolicyRef: round-robin-fairness-policy orderingPolicyRef: fcfs-ordering-policy - priority: -10 # agent-sheddable maxRequests: "32" defaultRequestTTL: "60s" fairnessPolicyRef: round-robin-fairness-policy orderingPolicyRef: fcfs-ordering-policy