# Arm R1 (gate on, configured) for content/standalone/06-serving-in-production/07-serving-stack-flow-control, # GX10 Part B. R0 plus the flowControl feature gate, as in llm-d v1.0.0 guides/flow-control/router/ # flow-control.values.yaml, adapted: file-discovery has no InferenceObjective reconciler, so every request is # priority 0 and lands in one band; inside it, round-robin fairness between the two fairness IDs the harness sends # (x-llm-d-inference-fairness-id: chat | agents), FCFS within each. The concurrency-detector holds requests in the EPP # once a replica has maxConcurrency in flight; 16 = vLLM --max-num-seqs, so the wait forms here instead of in vLLM's # waiting queue. TTL 60 s (the default, stated explicitly). Schema: apix/config/v1alpha1 @ llm-d-router v1.0.0 # (FlowControlConfig, PriorityBandConfig); concurrency-detector parameters from its config.go. apiVersion: llm-d.ai/v1 kind: EndpointPickerConfig featureGates: - flowControl plugins: - name: file-discovery type: file-discovery parameters: path: /etc/epp/endpoints.yaml watchFile: true - type: queue-scorer - type: kv-cache-utilization-scorer - type: prefix-cache-scorer - type: no-hit-lru-scorer - type: round-robin-fairness-policy - type: fcfs-ordering-policy - type: concurrency-detector parameters: maxConcurrency: 16 concurrencyMode: requests headroom: 0.0 - name: metrics-source type: metrics-data-source - name: metrics-extractor type: core-metrics-extractor schedulingProfiles: - name: default plugins: - pluginRef: queue-scorer weight: 2 - pluginRef: kv-cache-utilization-scorer weight: 2 - pluginRef: prefix-cache-scorer weight: 3 - pluginRef: no-hit-lru-scorer weight: 2 flowControl: defaultRequestTTL: "60s" saturationDetector: pluginRef: concurrency-detector priorityBands: - priority: 0 fairnessPolicyRef: round-robin-fairness-policy orderingPolicyRef: fcfs-ordering-policy dataLayer: injectDefaults: false discovery: endpoints: pluginRef: file-discovery sources: - pluginRef: metrics-source extractors: - pluginRef: metrics-extractor