<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Canary on lo0 — Tech Blog</title><link>https://blog.lo0.es/en/tags/canary/</link><description>Recent content in Canary on lo0 — Tech Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 26 Jul 2026 20:00:00 +0200</lastBuildDate><atom:link href="https://blog.lo0.es/en/tags/canary/index.xml" rel="self" type="application/rss+xml"/><item><title>Model chain of trust (1/4): KServe and the Open Inference Protocol, the control plane your serving is missing</title><link>https://blog.lo0.es/en/posts/kserve-open-inference-protocol-control-plane/</link><pubDate>Sun, 26 Jul 2026 20:00:00 +0200</pubDate><guid>https://blog.lo0.es/en/posts/kserve-open-inference-protocol-control-plane/</guid><description>&lt;p>This blog has devoted a good part of its 145 articles to what happens &lt;em>inside&lt;/em> the inference process and another good part to what happens around it. What is missing is a thread that cuts across all of that and answers a question that takes thirty seconds to ask in an audit and does not get answered in three weeks in production: when the endpoint returns a token, where did that model come from, who signed it, and who proves that the binary running on the GPU is the one that was approved?&lt;/p>
&lt;p>This series walks that chain backwards from the only visible point, the endpoint: the control plane and the API contract (this article), the registry and the distribution of the bytes (2/4), the signing and provenance that let you trust them (3/4), and the identity and isolation of whoever runs them (4/4). All of it with projects under the governance of CNCF, LF AI &amp;amp; Data or the Linux Foundation: a chain of trust that depends on a proprietary product is no better than a support contract.&lt;/p>
&lt;h2 id="tldr">TL;DR&lt;/h2>
&lt;ul>
&lt;li>A vLLM &lt;code>Deployment&lt;/code> serves tokens perfectly well. What it does not give you is a contract: no model versioning, no rollout by percentage, no scale-to-zero, and no common surface for the thirty non-LLM artifacts of an inference factory.&lt;/li>
&lt;li>&lt;strong>KServe&lt;/strong> provides the vocabulary: &lt;code>InferenceService&lt;/code>, &lt;code>ServingRuntime&lt;/code>/&lt;code>ClusterServingRuntime&lt;/code>, storage initializer and &lt;code>storageUri&lt;/code>. It has been CNCF incubating since 29 September 2025, after seven years as KFServing and a spell in LF AI &amp;amp; Data. The cadence has accelerated: v0.18.0 on 29 April 2026 and v0.19.0 on 14 June 2026.&lt;/li>
&lt;li>The LLM branch is recent and different: the &lt;code>LLMInferenceService&lt;/code> CRD (&lt;code>serving.kserve.io/v1alpha1&lt;/code>) arrived in v0.16 in November 2025, on top of llm-d, with &lt;code>spec.prefill&lt;/code>, &lt;code>spec.worker&lt;/code>, &lt;code>spec.parallelism&lt;/code> and &lt;code>spec.router&lt;/code>.&lt;/li>
&lt;li>The &lt;strong>Open Inference Protocol (V2)&lt;/strong> is the contract: &lt;code>/v2/health/*&lt;/code>, &lt;code>/v2/models/&amp;lt;m&amp;gt;&lt;/code>, &lt;code>/v2/models/&amp;lt;m&amp;gt;/infer&lt;/code>, in REST and gRPC, implemented by Triton, OpenVINO Model Server, Seldon MLServer and AMD Inference Server. It is tensor-centric, and the LLM world standardised de facto on the OpenAI API: KServe serves both, with the OpenAI ones under the &lt;code>openai/&lt;/code> prefix.&lt;/li>
&lt;li>The honest position: the portability of an LLM today comes from the OpenAI API, not from V2. Accepting the dual track is correct; pretending there is a single standard is not.&lt;/li>
&lt;li>KServe is overkill if you serve one model on one node. It starts to pay off from the fifth heterogeneous artifact onwards, and it competes on a different axis from the LLM operators: contract and lifecycle versus engine and topology.&lt;/li>
&lt;/ul>
&lt;h2 id="the-analogy-the-station-master-and-the-track-gauge">The analogy: the station master and the track gauge&lt;/h2>
&lt;p>An inference factory is like a railway station with several lines.&lt;/p>
&lt;p>The &lt;strong>station master&lt;/strong> does not drive any train. His job is the service timetable: which formation leaves from which platform, how many units are coupled each hour, when an engine is pulled out for maintenance and, when new rolling stock arrives, how to divert ten per cent of the passengers to the test train before committing the whole service. That is the control plane. KServe does not generate a single token, but it decides what runs, with what configuration, with how many replicas and with what traffic split. The trains are the engines (vLLM, SGLang, TensorRT-LLM, Triton, TEI), and a competent station master does not marry a manufacturer.&lt;/p>
&lt;p>And then there is the &lt;strong>track gauge&lt;/strong>: as long as everybody builds to the same one, any locomotive rolls on any line and changing supplier is a commercial decision, not a civil engineering project. That gauge is the Open Inference Protocol, the contract that makes a client written against Triton work against OpenVINO Model Server without touching a line.&lt;/p>
&lt;p>The analogy has a twist that needs no explanation in Spain: the agreed gauge is not the gauge the new rolling stock runs on. The conventional network was built to Iberian gauge and the high-speed one to standard gauge, and the practical solution was not to convert the network but to install gauge changers at the boundary points. The same thing has happened in inference: V2 is the agreed gauge and the OpenAI API is the gauge everything generative runs on. What sustains interoperability is the changer, not a single standard. We will come back to it.&lt;/p>
&lt;h2 id="a-deployment-serves-tokens-but-offers-no-contract">A &lt;code>Deployment&lt;/code> serves tokens, but offers no contract&lt;/h2>
&lt;p>In &lt;a href="https://blog.lo0.es/en/posts/vllm-kubernetes-llm-inference-that-scales/">vLLM on Kubernetes&lt;/a> we built a service with &lt;code>Deployment&lt;/code>, &lt;code>Service&lt;/code>, &lt;code>HPA&lt;/code> and an &lt;code>initContainer&lt;/code> that pulls the weights down. It works, and for one model on one node it is the right answer. What it does not give you, and cannot give you without reinventing it every time:&lt;/p>
&lt;p>&lt;strong>A stable API contract.&lt;/strong> The endpoint is &amp;ldquo;whatever the image you put there exposes&amp;rdquo;: moving from vLLM to TensorRT-LLM changes routes, error format and metric names, and the clients find out in production.&lt;/p>
&lt;p>&lt;strong>Versioning with semantics.&lt;/strong> The model is a path inside a volume; knowing which version a pod is serving requires &lt;code>kubectl exec&lt;/code>. There is no declarative field that says &amp;ldquo;this service serves artifact X&amp;rdquo; and can be audited from outside.&lt;/p>
&lt;p>&lt;strong>Progressive model rollout.&lt;/strong> A &lt;code>RollingUpdate&lt;/code> replaces pods; it does not split traffic between two versions by percentage. For that you need an L7 gateway in front, like the one in &lt;a href="https://blog.lo0.es/en/posts/canary-blue-green-shadow-llm-models/">canary, blue-green and shadow&lt;/a>, or a control plane that emits it.&lt;/p>
&lt;p>&lt;strong>Scale-to-zero.&lt;/strong> The &lt;code>HPA&lt;/code> does not go below one replica: for a model queried twelve times a day, that is an 80 GB GPU tied up twenty-four hours.&lt;/p>
&lt;p>&lt;strong>And, above all, a common surface for what is not an LLM.&lt;/strong> A real factory does not serve three LLMs: it serves two or three LLMs, four embedding models, a couple of rerankers, ticket classifiers, a PII detector, an OCR, industrial vision and three scikit-learn artifacts that nobody remembers training. Fifteen or thirty artifacts, each with its own runtime and its own way of saying &amp;ldquo;I am ready&amp;rdquo;. The cost is not in serving the first one: it is in making sure the thirtieth does not cost thirty times what the first one did.&lt;/p>
&lt;h2 id="kserve-from-kfserving-to-a-cncf-incubating-project">KServe: from KFServing to a CNCF incubating project&lt;/h2>
&lt;p>KServe was born in 2019 as &lt;strong>KFServing&lt;/strong>, inside Kubeflow, in a collaboration between Google, IBM, Bloomberg, NVIDIA and Seldon. In February 2022 it was donated to the LF AI &amp;amp; Data Foundation; in September 2022 it split from Kubeflow and was renamed. The relevant jump: on 29 September 2025 the CNCF accepted it directly at incubating level, without going through sandbox, with a public announcement on 11 November. The figures it declared then, more than 300 contributors, 19 maintainers, more than 30 adopting organisations (Bloomberg, Red Hat, Cloudera, Nutanix, SAP, NVIDIA), come from an interested party, but the list is verifiable and the 625 contributing organisations on the CNCF dashboard support the thesis of governance not captured by a vendor.&lt;/p>
&lt;p>On cadence you have to be precise, because the cliché of &amp;ldquo;KServe is slow&amp;rdquo; no longer describes reality:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Version&lt;/th>
&lt;th>Date&lt;/th>
&lt;th>What it brought&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>v0.15.0&lt;/td>
&lt;td>31 March 2025&lt;/td>
&lt;td>&lt;code>LocalModelCache&lt;/code>, multi-node inference, OpenAI-compatible embeddings API, Gateway API in raw mode, KEDA integration&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>v0.16.0&lt;/td>
&lt;td>November 2025&lt;/td>
&lt;td>&lt;strong>&lt;code>LLMInferenceService&lt;/code>&lt;/strong>; rename of &lt;code>RawDeployment&lt;/code> to &lt;code>Standard&lt;/code> and of &lt;code>Serverless&lt;/code> to &lt;code>KNative&lt;/code>; progressive rollout in raw mode&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>v0.18.0&lt;/td>
&lt;td>29 April 2026&lt;/td>
&lt;td>WVA + KEDA/HPA autoscaling for LLMISvc, &lt;code>/v1/responses&lt;/code> route (OpenAI Responses API), &lt;code>restricted&lt;/code> Pod Security Standards by default on LLMISvc, namespace-scoped &lt;code>ModelCache&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>v0.19.0&lt;/td>
&lt;td>14 June 2026&lt;/td>
&lt;td>Routing by model name, static LoRA adapters, balancing across heterogeneous GPUs, dual REST/gRPC routing in Standard mode, automatic migration to &lt;code>InferencePool&lt;/code> v1&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>Two major releases in under two months, with the bulk of the changelog in the LLM branch. The project is not slow: it has pivoted from classic predictive serving to generative serving. The consequences run in both directions.&lt;/p>
&lt;p>The negative one is called &lt;strong>ModelMesh&lt;/strong>. It was the high-density mode (hundreds of small models sharing processes, with dynamic load and unload) and it was, on paper, the natural answer to the problem of thirty heterogeneous artifacts. Its last release was v0.12.0 on 9 July 2023, and the &lt;code>kserve/modelmesh-serving&lt;/code> repository was archived read-only on 14 April 2026. Red Hat published specific guidance for migrating to Standard mode. If somebody proposes ModelMesh in a design today, it is a sign that the documentation they read is three years old.&lt;/p>
&lt;h2 id="anatomy-of-the-control-plane">Anatomy of the control plane&lt;/h2>
&lt;h3 id="inferenceservice-predictor-transformer-explainer">&lt;code>InferenceService&lt;/code>: predictor, transformer, explainer&lt;/h3>
&lt;p>The core CRD is &lt;code>InferenceService&lt;/code> (&lt;code>serving.kserve.io/v1beta1&lt;/code>), and its contribution, the one that became the common vocabulary of the field, is to break an inference service down into three components each with its own contract:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>&lt;code>predictor&lt;/code>&lt;/strong>: mandatory. It declares &lt;code>modelFormat&lt;/code>, optionally &lt;code>runtime&lt;/code>, the &lt;code>storageUri&lt;/code> the weights come from and the &lt;code>protocolVersion&lt;/code> it exposes.&lt;/li>
&lt;li>&lt;strong>&lt;code>transformer&lt;/code>&lt;/strong>: optional. Pre- and post-processing. That it is a separate component, rather than code inside the server, is what allows it to be scaled separately (it is usually CPU-bound while the predictor is GPU-bound) and versioned separately.&lt;/li>
&lt;li>&lt;strong>&lt;code>explainer&lt;/code>&lt;/strong>: optional, and the one that has aged worst: the V2 protocol does not support the &lt;code>explain&lt;/code> endpoint, which only exists in V1. Anyone who needs explainability with a standard contract has a real gap here.&lt;/li>
&lt;/ul>
&lt;p>All three share &lt;code>ComponentExtensionSpec&lt;/code>: &lt;code>minReplicas&lt;/code>, &lt;code>maxReplicas&lt;/code>, &lt;code>scaleTarget&lt;/code>, &lt;code>scaleMetric&lt;/code>, &lt;code>containerConcurrency&lt;/code>, &lt;code>timeout&lt;/code> and &lt;code>canaryTrafficPercent&lt;/code>.&lt;/p>
&lt;h3 id="servingruntime-and-clusterservingruntime-the-catalogue-of-trains">&lt;code>ServingRuntime&lt;/code> and &lt;code>ClusterServingRuntime&lt;/code>: the catalogue of trains&lt;/h3>
&lt;p>A &lt;code>ServingRuntime&lt;/code> is a pod template that knows how to serve one or several formats. It declares &lt;code>supportedModelFormats&lt;/code> (with &lt;code>name&lt;/code>, &lt;code>version&lt;/code>, &lt;code>autoSelect&lt;/code> and &lt;code>priority&lt;/code>), &lt;code>protocolVersions&lt;/code> (&lt;code>v1&lt;/code>, &lt;code>v2&lt;/code>) and &lt;code>containers&lt;/code>, with &lt;code>args&lt;/code> parameterised by templates in the &lt;code>{{.Name}}&lt;/code> style that are substituted with metadata from the &lt;code>InferenceService&lt;/code>.&lt;/p>
&lt;p>Selection is what makes this scale. If the &lt;code>InferenceService&lt;/code> names a &lt;code>runtime&lt;/code>, the controller looks for it first in the namespace and then at cluster level; if it does not name one, it picks among those with &lt;code>autoSelect: true&lt;/code> for that &lt;code>modelFormat&lt;/code>, breaking ties by &lt;code>priority&lt;/code>. That is what lets a platform publish a curated catalogue (&amp;ldquo;here, &lt;code>huggingface&lt;/code> is served with this vLLM and these flags&amp;rdquo;) without the product teams having to know what &lt;code>--gpu-memory-utilization&lt;/code> is. In multi-tenant setups, the &lt;code>ClusterServingRuntime&lt;/code>s belong to the platform and the &lt;code>InferenceService&lt;/code>s to the teams: the cleanest separation-of-duties line KServe offers.&lt;/p>
&lt;h3 id="the-storage-initializer-and-storageuri">The storage initializer and &lt;code>storageUri&lt;/code>&lt;/h3>
&lt;p>The &lt;code>storageUri&lt;/code> field triggers the &lt;strong>storage initializer&lt;/strong>: an init container that downloads the artifact to &lt;code>/mnt/models&lt;/code> before the server starts. Schemes supported as of July 2026: &lt;code>s3://&lt;/code>, &lt;code>gs://&lt;/code>, &lt;code>https://&lt;/code>, &lt;code>pvc://&lt;/code>, &lt;code>hf://&lt;/code>, &lt;code>oci://&lt;/code> and git repositories; credentials are attached via a &lt;code>ServiceAccount&lt;/code> with annotated secrets. That &lt;code>oci://&lt;/code> connects with the second article of the series: the weights can live in the same registry as the images, with the same access control and the same signing capability.&lt;/p>
&lt;h3 id="the-deployment-modes">The deployment modes&lt;/h3>
&lt;p>This is where nearly everything operational is decided. It is selected with the &lt;code>serving.kserve.io/deploymentMode&lt;/code> annotation.&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>&lt;/th>
&lt;th>&lt;strong>KNative&lt;/strong> (formerly Serverless)&lt;/th>
&lt;th>&lt;strong>Standard&lt;/strong> (formerly RawDeployment)&lt;/th>
&lt;th>&lt;strong>ModelMesh&lt;/strong>&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>Resources emitted&lt;/td>
&lt;td>Knative &lt;code>Service&lt;/code> + &lt;code>Revision&lt;/code>, &lt;code>VirtualService&lt;/code> with Istio&lt;/td>
&lt;td>&lt;code>Deployment&lt;/code>, &lt;code>Service&lt;/code>, &lt;code>HPA&lt;/code>, Gateway API &lt;code>HTTPRoute&lt;/code>&lt;/td>
&lt;td>Its own high-density runtime&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Dependencies&lt;/td>
&lt;td>Knative Serving + Istio (or an alternative gateway)&lt;/td>
&lt;td>Kubernetes 1.32+, cert-manager 1.15.0+, Gateway API v1.2.1 and a controller&lt;/td>
&lt;td>Its own components&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Autoscaling&lt;/td>
&lt;td>KPA (concurrency / RPS)&lt;/td>
&lt;td>HPA or &lt;strong>KEDA&lt;/strong>&lt;/td>
&lt;td>—&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Scale-to-zero&lt;/td>
&lt;td>Yes, with an activator that holds the request&lt;/td>
&lt;td>&lt;strong>No for HTTP requests&lt;/strong>&lt;/td>
&lt;td>—&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>canaryTrafficPercent&lt;/code>&lt;/td>
&lt;td>Yes, by revision weights in Istio&lt;/td>
&lt;td>&lt;strong>Silently ignored&lt;/strong> (issue #5335, open since 2 April 2026)&lt;/td>
&lt;td>—&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Sidecars in the pod&lt;/td>
&lt;td>&lt;code>queue-proxy&lt;/code> (+ &lt;code>istio-proxy&lt;/code>)&lt;/td>
&lt;td>None&lt;/td>
&lt;td>—&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Status as of July 2026&lt;/td>
&lt;td>Current&lt;/td>
&lt;td>Current and &lt;strong>the default mode of the LLM branch&lt;/strong>&lt;/td>
&lt;td>&lt;strong>Archived on 14 April 2026&lt;/strong>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>That table has an uncomfortable reading: the two most quoted KServe capabilities, scale-to-zero and canary by percentage, live in the mode that drags Knative and Istio along, while the mode the project has pivoted towards is the other one.&lt;/p>
&lt;div class="diagram" style="max-width:860px;margin:1.5rem auto;">
&lt;svg viewBox="0 0 860 386" role="img" aria-label="A KServe InferenceService materialises into different resources depending on the deployment mode: KNative with scale-to-zero and canary, or Standard with Deployment, HPA or KEDA and Gateway API" xmlns="http://www.w3.org/2000/svg">
&lt;style>.bx{fill:none;stroke:currentColor;stroke-width:1.4}.dsh{fill:none;stroke:currentColor;stroke-width:1.4;stroke-dasharray:5 3}.tl{font:600 12px sans-serif;fill:currentColor}.ts{font:11px sans-serif;fill:currentColor}.ar{fill:none;stroke:currentColor;stroke-width:1.4;marker-end:url(#kv)}&lt;/style>
&lt;defs>&lt;marker id="kv" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto">&lt;path d="M0,0 L10,5 L0,10 z" fill="currentColor"/>&lt;/marker>&lt;/defs>
&lt;text x="430" y="22" text-anchor="middle" font-size="13" font-weight="700" fill="currentColor">What you declare versus what the controller emits&lt;/text>
&lt;rect class="bx" x="20" y="46" width="190" height="120" rx="6"/>
&lt;text x="115" y="68" text-anchor="middle" class="tl">InferenceService&lt;/text>
&lt;text x="115" y="88" text-anchor="middle" class="ts">predictor + transformer&lt;/text>
&lt;text x="115" y="105" text-anchor="middle" class="ts">storageUri + runtime&lt;/text>
&lt;text x="115" y="122" text-anchor="middle" class="ts">min/maxReplicas&lt;/text>
&lt;text x="115" y="139" text-anchor="middle" class="ts">canaryTrafficPercent&lt;/text>
&lt;text x="115" y="158" text-anchor="middle" class="ts">protocolVersion: v2&lt;/text>
&lt;rect class="dsh" x="20" y="186" width="190" height="72" rx="6"/>
&lt;text x="115" y="208" text-anchor="middle" class="tl">ClusterServingRuntime&lt;/text>
&lt;text x="115" y="228" text-anchor="middle" class="ts">image, args, probes&lt;/text>
&lt;text x="115" y="245" text-anchor="middle" class="ts">supportedModelFormats&lt;/text>
&lt;path class="ar" d="M210,150 L262,150"/>
&lt;path class="ar" d="M210,222 L262,182"/>
&lt;rect class="bx" x="262" y="120" width="150" height="90" rx="6"/>
&lt;text x="337" y="146" text-anchor="middle" class="tl">Controller&lt;/text>
&lt;text x="337" y="166" text-anchor="middle" class="ts">reconciles and decides&lt;/text>
&lt;text x="337" y="186" text-anchor="middle" class="ts">based on deploymentMode&lt;/text>
&lt;path class="ar" d="M412,150 L466,110"/>
&lt;path class="ar" d="M412,178 L466,246"/>
&lt;rect class="bx" x="466" y="52" width="374" height="112" rx="6"/>
&lt;text x="653" y="74" text-anchor="middle" class="tl">KNative mode&lt;/text>
&lt;text x="653" y="94" text-anchor="middle" class="ts">Knative Service + Revision, VirtualService (Istio)&lt;/text>
&lt;text x="653" y="112" text-anchor="middle" class="ts">KPA, activator, real scale-to-zero&lt;/text>
&lt;text x="653" y="130" text-anchor="middle" class="ts">canaryTrafficPercent by revision weights&lt;/text>
&lt;text x="653" y="152" text-anchor="middle" class="ts">cost: queue-proxy and istio-proxy in every pod&lt;/text>
&lt;rect class="bx" x="466" y="194" width="374" height="112" rx="6"/>
&lt;text x="653" y="216" text-anchor="middle" class="tl">Standard mode&lt;/text>
&lt;text x="653" y="236" text-anchor="middle" class="ts">Deployment + Service + HPA or KEDA&lt;/text>
&lt;text x="653" y="254" text-anchor="middle" class="ts">Gateway API v1.2.1 HTTPRoute&lt;/text>
&lt;text x="653" y="272" text-anchor="middle" class="ts">no scale-from-zero over HTTP&lt;/text>
&lt;text x="653" y="294" text-anchor="middle" class="ts">canaryTrafficPercent silently ignored&lt;/text>
&lt;text x="20" y="340" class="ts">The storage initializer downloads the artifact from storageUri to /mnt/models before starting the server.&lt;/text>
&lt;text x="20" y="360" class="ts">One platform ClusterServingRuntime serves N team InferenceServices: that is where the separation of duties lives.&lt;/text>
&lt;text x="20" y="380" class="ts">The API contract clients see does not change between modes: that is exactly what the control plane provides.&lt;/text>
&lt;/svg>
&lt;/div>
&lt;h2 id="the-llm-branch-llminferenceservice">The LLM branch: &lt;code>LLMInferenceService&lt;/code>&lt;/h2>
&lt;p>Since v0.16 KServe has a separate CRD for LLMs: &lt;code>LLMInferenceService&lt;/code>, in &lt;code>serving.kserve.io/v1alpha1&lt;/code>. It is not an extension of the classic &lt;code>InferenceService&lt;/code> and does not share its API version, and confusing the two is the first mistake made by anyone arriving from old documentation.&lt;/p>
&lt;p>It is built on &lt;strong>llm-d&lt;/strong>, the project that Red Hat, Google, IBM, CoreWeave and NVIDIA donated to the CNCF. The division of roles the project itself declares is clean: KServe is the control plane (lifecycle, scaling and operational governance) and llm-d contributes distributed scheduling, with GPU utilisation, queue depth, cache residency and SLA. In the analogy: llm-d decides which line each train takes; KServe decides which trains exist and when they are withdrawn.&lt;/p>
&lt;p>The fields that matter: &lt;code>spec.model&lt;/code> (URI, invocation name, scheduling criticality and LoRA adapters, with static adapter reconciliation from v0.19, which connects with &lt;a href="https://blog.lo0.es/en/posts/multi-lora-serving-shared-base-concurrent-adapters-sgmv-kernel/">multi-LoRA serving&lt;/a>); &lt;code>spec.template&lt;/code> (single node, or the decode pool); &lt;code>spec.worker&lt;/code> (multi-node, which triggers LeaderWorkerSet); &lt;code>spec.prefill&lt;/code> (the disaggregation we analysed in &lt;a href="https://blog.lo0.es/en/posts/disaggregated-serving-prefill-decode-specialised-pods/">disaggregated serving&lt;/a> turned into a declarative field); &lt;code>spec.parallelism&lt;/code> (tensor, data and expert parallelism); and &lt;code>spec.router&lt;/code> (&lt;code>gateway&lt;/code>, &lt;code>route&lt;/code>, &lt;code>scheduler&lt;/code>), where KServe leans on the &lt;strong>Gateway API Inference Extension&lt;/strong>, v1.5.0 of 19 April 2026, already GA, with automatic migration to &lt;code>InferencePool&lt;/code> v1 from v0.19.&lt;/p>
&lt;p>The endpoint it exposes is OpenAI-compatible: &lt;code>/v1/chat/completions&lt;/code> with streaming, and since v0.18 also &lt;code>/v1/responses&lt;/code>. That detail underpins the next section: the LLM branch of KServe does not speak V2, it speaks OpenAI.&lt;/p>
&lt;p>For multi-node there is the &lt;code>kserve-huggingfaceserver-multinode&lt;/code> runtime, based on vLLM over Ray, with &lt;code>workerSpec.tensorParallelSize&lt;/code> and &lt;code>workerSpec.pipelineParallelSize&lt;/code>. Its restrictions are hard: it requires a ReadWriteMany PVC, it only works in Standard mode, it does not support autoscaling and it requires exactly one head pod. A reference 4×H100 SXM node with NVLink needs none of this, because a 70B fits with tensor parallel 4 on a single node; you need it from there upwards.&lt;/p>
&lt;h2 id="the-open-inference-protocol-the-contract-itself">The Open Inference Protocol: the contract itself&lt;/h2>
&lt;h3 id="the-routes-and-the-payload">The routes and the payload&lt;/h3>
&lt;p>The &lt;strong>Open Inference Protocol&lt;/strong> (historically the &amp;ldquo;V2 Inference Protocol&amp;rdquo;) lives in &lt;code>kserve/open-inference-protocol&lt;/code>, with REST and gRPC specifications and versioning under SemVer 2.0. Its HTTP surface is deliberately small:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Resource&lt;/th>
&lt;th>Verb&lt;/th>
&lt;th>Route&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>Server metadata&lt;/td>
&lt;td>GET&lt;/td>
&lt;td>&lt;code>/v2&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Liveness&lt;/td>
&lt;td>GET&lt;/td>
&lt;td>&lt;code>/v2/health/live&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Server readiness&lt;/td>
&lt;td>GET&lt;/td>
&lt;td>&lt;code>/v2/health/ready&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Model metadata&lt;/td>
&lt;td>GET&lt;/td>
&lt;td>&lt;code>/v2/models/&amp;lt;model&amp;gt;[/versions/&amp;lt;v&amp;gt;]&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Model readiness&lt;/td>
&lt;td>GET&lt;/td>
&lt;td>&lt;code>/v2/models/&amp;lt;model&amp;gt;[/versions/&amp;lt;v&amp;gt;]/ready&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Inference&lt;/td>
&lt;td>POST&lt;/td>
&lt;td>&lt;code>/v2/models/&amp;lt;model&amp;gt;[/versions/&amp;lt;v&amp;gt;]/infer&lt;/code>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>The payload is tensorial: &lt;code>id&lt;/code>, a list of &lt;code>inputs&lt;/code> (each with &lt;code>name&lt;/code>, &lt;code>shape&lt;/code>, &lt;code>datatype&lt;/code> and &lt;code>data&lt;/code>) and optionally the desired &lt;code>outputs&lt;/code>. The types are &lt;code>BOOL&lt;/code>, signed and unsigned integers from 8 to 64 bits, 16-, 32- and 64-bit floating point, and &lt;code>BYTES&lt;/code>. In gRPC the same contract is &lt;code>GRPCInferenceService&lt;/code>, with six RPCs: &lt;code>ServerLive&lt;/code>, &lt;code>ServerReady&lt;/code>, &lt;code>ModelReady&lt;/code>, &lt;code>ServerMetadata&lt;/code>, &lt;code>ModelMetadata&lt;/code> and &lt;code>ModelInfer&lt;/code>. For high-volume embeddings, the serialisation difference is not cosmetic.&lt;/p>
&lt;h3 id="who-actually-implements-it">Who actually implements it&lt;/h3>
&lt;p>The specification repository declares KServe, NVIDIA Triton, Seldon MLServer and Core v2, OpenVINO Model Server, AMD Inference Server and TorchServe as adopters. Not all entries are worth the same as of July 2026:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Triton&lt;/strong> implements it in a documented way (&amp;ldquo;Triton exposes HTTP/REST and gRPC endpoints based on the standard inference protocols proposed by the KServe project&amp;rdquo;), plus its own extensions. It is the de facto reference implementation.&lt;/li>
&lt;li>&lt;strong>OpenVINO Model Server&lt;/strong> exposes the KServe API over gRPC and REST, the TensorFlow Serving one and OpenAI-compatible endpoints: the clearest example of a server that speaks both track gauges.&lt;/li>
&lt;li>&lt;strong>TorchServe&lt;/strong> forces you to be honest. Its official documentation carries the warning: &lt;em>&amp;ldquo;This project is no longer actively maintained. While existing releases remain available, there are no planned updates, bug fixes, new features, or security patches.&amp;rdquo;&lt;/em> An adopter on zero maintenance is not an adopter: it is a row nobody has updated.&lt;/li>
&lt;/ul>
&lt;p>On the health of the standard, the most eloquent data point is not in any press release: the specification repository does not have a single published release, has accumulated something like thirty commits and seventy-five stars, and its governance consists of monthly meetings and a Slack channel. There is also a &amp;ldquo;vendor neutral&amp;rdquo; &lt;em>fork&lt;/em> at &lt;code>open-inference/open-inference-protocol&lt;/code> with more commits than the original and no traction whatsoever. V2 is a stable contract, widely implemented and barely evolving. For a serialisation format that can be a virtue; for a standard aspiring to cover the generative world, it is a death sentence.&lt;/p>
&lt;h3 id="the-generate-extension-and-why-it-did-not-win">The &lt;code>generate&lt;/code> extension and why it did not win&lt;/h3>
&lt;p>The standard did try to cover generation: the specification contains a &lt;code>generate_rest.yaml&lt;/code> with two routes, &lt;code>/v2/models/&amp;lt;m&amp;gt;/versions/&amp;lt;v&amp;gt;/generate&lt;/code> and &lt;code>.../generate_stream&lt;/code>, and a minimalist schema: a request with &lt;code>text_input&lt;/code> and &lt;code>parameters&lt;/code> (&lt;code>temperature&lt;/code>, &lt;code>top_p&lt;/code>, &lt;code>max_tokens&lt;/code> defaulting to 20, &lt;code>stop&lt;/code>, &lt;code>details&lt;/code>); a response with &lt;code>text_output&lt;/code>, &lt;code>model_name&lt;/code>, &lt;code>model_version&lt;/code> and, if requested, &lt;code>finish_reason&lt;/code> and &lt;code>logprobs&lt;/code>; streaming over &lt;em>server-sent events&lt;/em>. It is clean, it is enough for a simple completion and nobody uses it: the KServe generative inference documentation, as of July 2026, lists four endpoints, and none of them is &lt;code>generate&lt;/code>:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Task&lt;/th>
&lt;th>Endpoint in KServe&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>Text generation&lt;/td>
&lt;td>&lt;code>openai/v1/completions&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Chat&lt;/td>
&lt;td>&lt;code>openai/v1/chat/completions&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Embeddings&lt;/td>
&lt;td>&lt;code>openai/v1/embeddings&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Reranking&lt;/td>
&lt;td>&lt;code>openai/v1/rerank&lt;/code>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>The &lt;code>openai/&lt;/code> prefix exists, according to the documentation itself, &amp;ldquo;to avoid confusion with the V1 API protocol&amp;rdquo;, and it is changed with &lt;code>KSERVE_OPENAI_ROUTE_PREFIX&lt;/code>. It is plumbing that says a lot: the in-house standard was relegated to a defensive prefix while the outside one takes all the traffic.&lt;/p>
&lt;h3 id="the-tension-unvarnished">The tension, unvarnished&lt;/h3>
&lt;p>V2 solved the problem of 2021, and it solved it well. A tensorial, typed contract with metadata and health checks, in REST and gRPC, is what you need to serve a classifier, a vision model, a ranker or an embedding, and it is still the right answer for that half of the catalogue: swapping an embedding server from MLServer to OpenVINO Model Server without touching clients is the track gauge doing its job.&lt;/p>
&lt;p>The LLM world standardised somewhere else, not by committee, but because the entire client ecosystem (SDKs, agent frameworks, gateways, evaluation) was written against the OpenAI API, and any engine that wanted to be used had to speak it. What that means for an architecture:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>There is not one contract: there are two, and both are legitimate.&lt;/strong> Designing as if there were one does violence to half the catalogue.&lt;/li>
&lt;li>&lt;strong>LLM portability is superficial.&lt;/strong> It covers chat and completion well; as soon as you use detailed logprobs, guided decoding, priority headers, prefix caching parameters or &lt;em>tool calling&lt;/em> with specific schemas, you leave the common subset and get tied back to the engine. It is the warning from &lt;a href="https://blog.lo0.es/en/posts/structured-output-bitmask-outlines-xgrammar-llguidance/">structured output&lt;/a>: what is portable is the envelope, not always the contents.&lt;/li>
&lt;li>&lt;strong>The gauge changer is the gateway.&lt;/strong> What makes the set switchable is the translation and routing layer of &lt;a href="https://blog.lo0.es/en/posts/choosing-oss-gateway-llm-inference/">choosing an OSS LLM inference gateway&lt;/a> and &lt;a href="https://blog.lo0.es/en/posts/llm-inference-router-l7-switchboard/">the router as an L7 gateway&lt;/a>, not a single standard.&lt;/li>
&lt;li>&lt;strong>Crossing over loses the versioning.&lt;/strong> V2 has &lt;code>/versions/&amp;lt;v&amp;gt;&lt;/code> in the route; the OpenAI API only has the &lt;code>model&lt;/code> field. The version has to be encoded in the name (&lt;code>asistente-70b-2026-07&lt;/code>) or managed in the control plane. That is the difference between being able to audit which version answered and not being able to.&lt;/li>
&lt;/ol>
&lt;h2 id="four-manifests-you-can-actually-apply">Four manifests you can actually apply&lt;/h2>
&lt;p>Platform runtime for the blog&amp;rsquo;s reference node, 4×H100 SXM 80 GB with NVLink, with tensor parallel 4:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">apiVersion&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">serving.kserve.io/v1alpha1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">kind&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">ClusterServingRuntime&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">metadata&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-h100-tp4&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">spec&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">annotations&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">prometheus.kserve.io/port&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;8080&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">prometheus.kserve.io/path&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;/metrics&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">supportedModelFormats&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">huggingface&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">version&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;1&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">autoSelect&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="kc">true&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">priority&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">10&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">protocolVersions&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="l">v2&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">containers&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">kserve-container&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="c"># ALWAYS pin by digest in production; the tag is only for readability&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">image&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm/vllm-openai:v0.11.0&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">command&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="s2">&amp;#34;python3&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;-m&amp;#34;&lt;/span>&lt;span class="p">,&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;vllm.entrypoints.openai.api_server&amp;#34;&lt;/span>&lt;span class="p">]&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">args&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">port=8080&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">model=/mnt/models&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">served-model-name={{.Name}}&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">tensor-parallel-size=4&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">max-model-len=32768&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">gpu-memory-utilization=0.92&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">enable-prefix-caching&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- --&lt;span class="l">kv-cache-dtype=fp8&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">resources&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">requests&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">cpu&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;16&amp;#34;&lt;/span>&lt;span class="nt">, memory: 128Gi, nvidia.com/gpu&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;4&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>}&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">limits&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">cpu&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;16&amp;#34;&lt;/span>&lt;span class="nt">, memory: 128Gi, nvidia.com/gpu&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;4&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>}&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="c"># the probe that stops the pod dying while the model loads&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">startupProbe&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">httpGet&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">path: /health, port&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">8080&lt;/span>&lt;span class="w"> &lt;/span>}&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">periodSeconds&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">15&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">failureThreshold&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">40&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="c"># up to 10 minutes of loading&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">readinessProbe&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">httpGet&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">path: /health, port&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">8080&lt;/span>&lt;span class="w"> &lt;/span>}&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">periodSeconds&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">10&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">livenessProbe&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">httpGet&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">path: /health, port&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">8080&lt;/span>&lt;span class="w"> &lt;/span>}&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">periodSeconds&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">30&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The &lt;code>InferenceService&lt;/code> that consumes it, with KEDA on vLLM metrics:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">apiVersion&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">serving.kserve.io/v1beta1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">kind&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">InferenceService&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">metadata&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">asistente-70b&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">namespace&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">inferencia&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">annotations&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">serving.kserve.io/deploymentMode&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;Standard&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">serving.kserve.io/autoscalerClass&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;keda&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">spec&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">predictor&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">minReplicas&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">maxReplicas&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">4&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">model&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">runtime&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-h100-tp4&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">modelFormat&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">huggingface }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="c"># the OCI registry from article 2/4 of this series&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">storageUri&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;oci://registry.example.internal/modelos/asistente-70b:2026-07&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">autoScaling&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">metrics&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">type&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">External&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">external&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">metric&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">backend&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;prometheus&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">serverAddress&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;http://prometheus.monitoring.svc.cluster.local:9090&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">query&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s1">&amp;#39;sum(vllm:num_requests_waiting{model_name=&amp;#34;asistente-70b&amp;#34;})&amp;#39;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">target&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">type&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">Value&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">value&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;8&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The canary, with its small print:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">apiVersion&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">serving.kserve.io/v1beta1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">kind&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">InferenceService&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">metadata&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">asistente-70b&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">namespace&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">inferencia&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">annotations&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="c"># WATCH OUT: canaryTrafficPercent only takes effect in KNative mode.&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="c"># In Standard mode it is silently ignored (issue kserve/kserve#5335, open).&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">serving.kserve.io/deploymentMode&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;KNative&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">spec&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">predictor&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">canaryTrafficPercent&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">10&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">minReplicas&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">maxReplicas&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">4&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">model&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">runtime&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-h100-tp4&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">modelFormat&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">huggingface }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">storageUri&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;oci://registry.example.internal/modelos/asistente-70b:2026-08&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>KServe keeps three references in the status (&lt;code>LatestReadyRevision&lt;/code>, &lt;code>LatestRolledoutRevision&lt;/code> and &lt;code>PreviousRolledoutRevision&lt;/code>): promoting means setting the percentage to 100, reverting means pinning traffic on the previous one, and a revision that does not become &lt;em>ready&lt;/em> automatically receives zero traffic.&lt;/p>
&lt;p>And the two calls. Against the V2 contract, for a classifier served with MLServer or Triton:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># metadata: which model it is, what inputs it expects, what types&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">curl -s http://clasificador.inferencia.example/v2/models/clasificador-tickets &lt;span class="p">|&lt;/span> jq .
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># readiness of the specific model, not of the server&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">curl -s -o /dev/null -w &lt;span class="s1">&amp;#39;%{http_code}\n&amp;#39;&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> http://clasificador.inferencia.example/v2/models/clasificador-tickets/ready
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">curl -s -X POST &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> http://clasificador.inferencia.example/v2/models/clasificador-tickets/infer &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> -H &lt;span class="s1">&amp;#39;Content-Type: application/json&amp;#39;&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> -d &lt;span class="s1">&amp;#39;{ &amp;#34;id&amp;#34;: &amp;#34;req-4711&amp;#34;,
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> &amp;#34;inputs&amp;#34;: [ { &amp;#34;name&amp;#34;: &amp;#34;input-0&amp;#34;, &amp;#34;shape&amp;#34;: [1, 4], &amp;#34;datatype&amp;#34;: &amp;#34;FP32&amp;#34;,
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> &amp;#34;data&amp;#34;: [5.1, 3.5, 1.4, 0.2] } ],
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> &amp;#34;outputs&amp;#34;: [ { &amp;#34;name&amp;#34;: &amp;#34;output-0&amp;#34; } ] }&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Against the same control plane, but on the OpenAI-compatible surface of the LLM:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">curl -s -N -X POST &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> http://asistente-70b.inferencia.example/openai/v1/chat/completions &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> -H &lt;span class="s1">&amp;#39;Content-Type: application/json&amp;#39;&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> -d &lt;span class="s1">&amp;#39;{ &amp;#34;model&amp;#34;: &amp;#34;asistente-70b&amp;#34;,
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> &amp;#34;messages&amp;#34;: [ {&amp;#34;role&amp;#34;: &amp;#34;user&amp;#34;,
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> &amp;#34;content&amp;#34;: &amp;#34;Summarise last night&amp;#39;&lt;/span>&lt;span class="se">\&amp;#39;&lt;/span>&lt;span class="s1">&amp;#39;s incident report.&amp;#34;} ],
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> &amp;#34;max_tokens&amp;#34;: 256,
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="s1"> &amp;#34;stream&amp;#34;: true }&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Two contracts and two payload shapes, with the same &lt;code>InferenceService&lt;/code> as the unit of governance. That is the value proposition of a control plane: the contract is chosen by the model and the management is single.&lt;/p>
&lt;h2 id="autoscaling-and-the-problem-of-zero">Autoscaling and the problem of zero&lt;/h2>
&lt;p>Three autoscalers coexist, and choosing the wrong one is the most common cause of disappointment. &lt;strong>KPA&lt;/strong>, in KNative mode, scales by concurrency or RPS and is the only one that goes down to zero in a usable way, because Knative provides an activator that holds the request while the pod starts; its metric does not distinguish a 30-token request from an 8,000-token one. &lt;strong>HPA&lt;/strong>, in Standard, scales by CPU or memory: for LLMs it is useless, because the CPU of a saturated vLLM pod and that of an idle one look too much alike. &lt;strong>KEDA&lt;/strong>, in Standard, is the right option, the one we develop in &lt;a href="https://blog.lo0.es/en/posts/llm-inference-autoscaling-kubernetes-hpa-keda/">autoscaling with KEDA&lt;/a>: it is enabled with &lt;code>serving.kserve.io/autoscalerClass: &amp;quot;keda&amp;quot;&lt;/code> and &lt;code>autoScaling.metrics&lt;/code> accepts external metrics against Prometheus (&lt;code>vllm:num_requests_running&lt;/code> or &lt;code>vllm:num_requests_waiting&lt;/code>) or, with the OpenTelemetry add-on, pushed metrics. Since v0.18 there is also &lt;strong>Workload Variant Autoscaling&lt;/strong>, which uses HPA or KEDA as a backend.&lt;/p>
&lt;p>That leaves the serious problem, which no autoscaler solves: zero. A 70B model in fp8 is on the order of 70 GB to move into HBM, and that path, &lt;a href="https://blog.lo0.es/en/posts/pantry-lift-from-disk-to-hbm-why-the-kitchen-opens-late/">from disk to HBM&lt;/a>, is measured in minutes: the first request after idling takes that long, or it fails.&lt;/p>
&lt;p>Worse: the installation documentation is explicit as of July 2026: &amp;ldquo;Scale from Zero is currently not supported in Standard mode for HTTP requests&amp;rdquo;. The mode the project has pivoted towards, and the only one that supports KEDA, does not know how to come up from zero on an HTTP request: KEDA can go down to zero (default cooldown of 300 seconds), but the way back requires an activator that Standard does not have. Anyone who wants real zero with HTTP activation still needs Knative.&lt;/p>
&lt;p>The levers, in order of effectiveness: do not scale the hot model to zero (&lt;code>minReplicas: 1&lt;/code> for anything with an SLA; zero is for the long tail); attack the load time, the only solution that is not a patch, with the techniques from &lt;a href="https://blog.lo0.es/en/posts/speeding-up-model-cold-start-minutes-to-seconds/">speeding up cold start&lt;/a>; use &lt;code>LocalModelCache&lt;/code>, available since v0.15 and extended to &lt;code>LLMInferenceService&lt;/code> in v0.19, to preload artifacts into a node PVC; and set correct probes, which is what comes next.&lt;/p>
&lt;h2 id="operational-traps">Operational traps&lt;/h2>
&lt;p>&lt;strong>The probe that kills the pod while the model loads.&lt;/strong> The most frequent and the most expensive to diagnose, because the symptom is a &lt;code>CrashLoopBackOff&lt;/code> with no error in the server logs. Until early 2026 the KServe vLLM templates used &lt;code>initialDelaySeconds&lt;/code> of 120 to 300 seconds on &lt;em>liveness&lt;/em>, with the result described in issue #5062 (12 February 2026, now resolved): the fast models waited too long and the large ones died before finishing loading. The fix applied: a &lt;code>startupProbe&lt;/code> of up to ten minutes and probes with no initial delay. A legacy runtime has to be reviewed by hand. In KNative mode there is a worse variant (issue #3795, closed as &lt;em>not planned&lt;/em>): what dies is not the model container but the &lt;code>queue-proxy&lt;/code>, which does not respond OK within the deadline and takes the whole pod down with it.&lt;/p>
&lt;p>&lt;strong>&lt;code>canaryTrafficPercent&lt;/code> silently ignored.&lt;/strong> It deserves its own trap because there is no error and no condition in the status to give it away: in Standard mode the field does nothing. The team believes it is serving 10 % with the new version and it is serving 100 %. While issue #5335 remains open, in Standard the canary is done with &lt;code>HTTPRoute&lt;/code> weights by hand, or in the gateway.&lt;/p>
&lt;p>&lt;strong>Canary and scarce GPUs do not get along.&lt;/strong> A 10 % canary of a 70B with tensor parallel 4 costs a whole 4-GPU node, not 10 % of the resources, because the minimum granularity is a complete replica. During the window there are two versions occupying twice the hardware, or capacity has to be taken from the stable one. That is the difference between a microservice canary and a model canary, and the reason a &lt;em>shadow&lt;/em> over duplicated traffic often pays off better.&lt;/p>
&lt;p>&lt;strong>&lt;code>storageUri&lt;/code> and credentials.&lt;/strong> Storage initializer failures are always the same ones: a &lt;code>ServiceAccount&lt;/code> without the annotated secret, a KMS-encrypted bucket with a role that has no decryption permission, an S3-compatible but not exactly S3 endpoint, or intermittent 403s, with a specific fix in v0.18. It is diagnosed in the init container logs, not in the server&amp;rsquo;s. And one standing recommendation: no downloading over &lt;code>https://&lt;/code> from the internet in production; that is precisely the problem of article 2/4.&lt;/p>
&lt;p>&lt;strong>The model size against the &lt;code>emptyDir&lt;/code>.&lt;/strong> By default the artifact lands in an ephemeral volume on the node&amp;rsquo;s disk. Seventy gigabytes per replica fill a system disk with surprising ease, and then the kubelet evicts pods for disk pressure, including ones that have nothing to do with it. You have to set &lt;code>sizeLimit&lt;/code> or use a dedicated &lt;code>pvc://&lt;/code>. For multi-node the restriction is harder, with a mandatory ReadWriteMany PVC, which rules out a good part of local block storage and pushes you towards shared file systems, with the consequences covered in &lt;a href="https://blog.lo0.es/en/posts/storage-ai-era-availability/">storage for AI&lt;/a>.&lt;/p>
&lt;p>&lt;strong>The dependency on Knative and Istio.&lt;/strong> The real cost of KNative mode: two more control planes to version and correlate with Kubernetes, and two sidecars, &lt;code>queue-proxy&lt;/code> and &lt;code>istio-proxy&lt;/code>, in every pod, with their CPU and memory consumption and their network hop per request. On a platform that already has a mesh it is a marginal cost; on a cluster dedicated to inference it has to be justified by the capabilities you are actually going to use.&lt;/p>
&lt;p>&lt;strong>Observability: the name of the metric.&lt;/strong> The &lt;code>ServingRuntime&lt;/code> declares &lt;code>prometheus.kserve.io/port&lt;/code> and &lt;code>/path&lt;/code> annotations, but the metrics that come out are the engine&amp;rsquo;s, not KServe&amp;rsquo;s: &lt;code>vllm:num_requests_waiting&lt;/code>, &lt;code>vllm:time_to_first_token_seconds&lt;/code>, &lt;code>vllm:gpu_cache_usage_perc&lt;/code>. The control plane does not normalise names across runtimes, so a dashboard written against vLLM is no use for Triton, and correlating with &lt;a href="https://blog.lo0.es/en/posts/gpu-observability-llm-inference-twelve-dcgm-vllm-metrics/">DCGM&lt;/a> is still your own work. v0.19 raises the HPA/KEDA scaling status into the service conditions and emits events on readiness transitions: exactly what was needed to alert on the control plane and not only on the engine.&lt;/p>
&lt;h2 id="decision-map-when-kserve-and-when-it-is-overkill">Decision map: when KServe, and when it is overkill&lt;/h2>
&lt;p>The useful comparison is not &amp;ldquo;KServe versus OME, vLLM Production Stack, Dynamo or llm-d&amp;rdquo;. Those four are covered in &lt;a href="https://blog.lo0.es/en/posts/llm-inference-operators-kubernetes/">LLM inference operators&lt;/a> and compete on a different axis:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Axis&lt;/th>
&lt;th>What gets decided&lt;/th>
&lt;th>Who competes&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>Contract and control plane&lt;/strong>&lt;/td>
&lt;td>Which CRD describes a service, which API clients see, how the model is versioned, how the rollout is done, how LLM and non-LLM coexist&lt;/td>
&lt;td>&lt;strong>KServe&lt;/strong>, Seldon Core v2&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>Engine and topology&lt;/strong>&lt;/td>
&lt;td>Which engine runs, how prefill/decode is disaggregated, how routing is done with cache awareness, how multi-node tensor parallel is done&lt;/td>
&lt;td>vLLM Production Stack, OME, NVIDIA Dynamo, llm-d&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>The axes are orthogonal, and &lt;code>LLMInferenceService&lt;/code> proves it: KServe did not reimplement distributed scheduling, it leaned on llm-d. Choosing KServe is not choosing &lt;em>instead of&lt;/em> an LLM operator: it is choosing the contract layer that operator lives on.&lt;/p>
&lt;p>&lt;strong>Choose KServe when&lt;/strong> the catalogue is heterogeneous, LLMs plus embeddings, rerankers, classifiers and vision, which is its decisive advantage and the one none of the four operators has: a service like the one in &lt;a href="https://blog.lo0.es/en/posts/serving-embeddings-rerankers-tei-production/">TEI in production&lt;/a> fits into the same vocabulary as the LLM. Also when you need a contract decoupled from the engine because you have clients you do not control; when you need declarative, auditable governance (which artifact, from which origin and with which runtime, in an object versionable in git and subject to admission policies), the piece that makes the rest of this series possible; and when you want a catalogue of platform runtimes separated from the teams&amp;rsquo; services.&lt;/p>
&lt;p>&lt;strong>KServe is overkill when&lt;/strong> you serve one model, on one node, with up to three replicas: the &lt;code>Deployment&lt;/code> from &lt;a href="https://blog.lo0.es/en/posts/vllm-kubernetes-llm-inference-that-scales/">vLLM on Kubernetes&lt;/a> is the right answer. When your workload is LLM only and the priority is performance per GPU, because there the value is in the engine. When you are going to use neither scale-to-zero nor canary by revision, because what remains is a &lt;code>Deployment&lt;/code> with more YAML. And when you already have an LLM operator and only serve LLMs: putting KServe on top for completeness is adding CRDs without adding decisions.&lt;/p>
&lt;h2 id="for-an-inference-factory">For an inference factory&lt;/h2>
&lt;p>&lt;strong>First: separate the runtime catalogue from the service catalogue, and do it on day one.&lt;/strong> The &lt;code>ClusterServingRuntime&lt;/code>s belong to the platform; the &lt;code>InferenceService&lt;/code>s, to the teams. That boundary turns &amp;ldquo;serving the thirtieth model&amp;rdquo; into a five-line change instead of a negotiation about vLLM flags, and it fits with &lt;a href="https://blog.lo0.es/en/posts/gitops-inference-stack-flux/">GitOps with Flux&lt;/a>: the runtime is reviewed as platform code, the service as product configuration.&lt;/p>
&lt;p>&lt;strong>Second: accept the two contracts and put the gauge changer where it belongs.&lt;/strong> V2 for the tensorial world, the OpenAI API for the generative one, and the translation in the gateway, not in every client. And since the OpenAI API does not version in the route, encode the version in the model name and make that name the same identifier that appears in the registry, in the signature and in the traces. That is what makes a request traceable back to the artifact.&lt;/p>
&lt;p>&lt;strong>Third: measure start-up before promising elasticity.&lt;/strong> The time from the pod being scheduled to the readiness probe going green, with the real model and from the real origin, decides whether scale-to-zero is a FinOps lever or an incident machine. That number, and not the price of the GPU-hour, is the one to take into the cost conversation.&lt;/p>
&lt;p>And here this piece falls short on purpose. KServe gives you the contract, the lifecycle and the rollout, but its whole trust model hangs off a text string: &lt;strong>&lt;code>storageUri&lt;/code>&lt;/strong>. The storage initializer downloads whatever is at that destination and puts it in front of the GPU without asking anything else; nothing in the &lt;code>InferenceService&lt;/code> guarantees that the artifact is the one that was approved, that it has not changed since the last audit, or that the origin is legitimate. The next article goes there: where the model bytes come from, and why an OCI registry with ORAS, Harbor, MLflow or the Kubeflow Model Registry is the difference between distributing models and scattering them.&lt;/p>
&lt;h2 id="see-also">See also&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://blog.lo0.es/en/posts/llm-inference-operators-kubernetes/">LLM inference operators on Kubernetes: OME, vLLM Production Stack, NVIDIA Dynamo and llm-d&lt;/a> — the complementary axis: engine and topology versus the contract this article deals with.&lt;/li>
&lt;li>&lt;a href="https://blog.lo0.es/en/posts/vllm-kubernetes-llm-inference-that-scales/">vLLM on Kubernetes: the LLM inference piece that does scale&lt;/a> — the plain &lt;code>Deployment&lt;/code> that KServe is the next step from, and the point where KServe is still overkill.&lt;/li>
&lt;li>&lt;a href="https://blog.lo0.es/en/posts/llm-inference-autoscaling-kubernetes-hpa-keda/">LLM autoscaling on Kubernetes with KEDA&lt;/a> — the vLLM metrics that feed the predictor&amp;rsquo;s &lt;code>autoScaling&lt;/code> block.&lt;/li>
&lt;li>&lt;a href="https://blog.lo0.es/en/posts/canary-blue-green-shadow-llm-models/">Canary, blue-green and shadow for LLM models&lt;/a> — what to do when &lt;code>canaryTrafficPercent&lt;/code> is not available, and why a model canary does not cost what it seems to.&lt;/li>
&lt;li>&lt;a href="https://blog.lo0.es/en/posts/speeding-up-model-cold-start-minutes-to-seconds/">Speeding up cold start: model loading with Tensorizer&lt;/a> — the only real way for scale-to-zero to stop being a promise.&lt;/li>
&lt;li>&lt;a href="https://blog.lo0.es/en/posts/model-chain-of-trust-where-the-bytes-live-registry-oci-artefacts/">Model chain of trust (2/4): model registry and distribution with OCI and ORAS&lt;/a> — where that &lt;code>storageUri&lt;/code> points, and how it becomes a governed artifact.&lt;/li>
&lt;/ul>
&lt;h2 id="sources">Sources&lt;/h2>
&lt;ul>
&lt;li>CNCF, &lt;em>KServe becomes a CNCF incubating project&lt;/em> (11 de noviembre de 2025) — &lt;a href="https://www.cncf.io/blog/2025/11/11/kserve-becomes-a-cncf-incubating-project/">https://www.cncf.io/blog/2025/11/11/kserve-becomes-a-cncf-incubating-project/&lt;/a>&lt;/li>
&lt;li>CNCF, &lt;em>KServe project page&lt;/em> (incubating, aceptado el 29 de septiembre de 2025) — &lt;a href="https://www.cncf.io/projects/kserve/">https://www.cncf.io/projects/kserve/&lt;/a>&lt;/li>
&lt;li>CNCF TOC, &lt;em>Project Moving Levels Checklist: KServe joining CNCF at Incubation level&lt;/em> — &lt;a href="https://github.com/cncf/toc/issues/1905">https://github.com/cncf/toc/issues/1905&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Releases&lt;/em> (v0.15.0, v0.16.0, v0.18.0, v0.19.0) — &lt;a href="https://github.com/kserve/kserve/releases">https://github.com/kserve/kserve/releases&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Inference Protocol V2 (Open Inference Protocol)&lt;/em> — &lt;a href="https://kserve.github.io/website/docs/concepts/architecture/data-plane/v2-protocol">https://kserve.github.io/website/docs/concepts/architecture/data-plane/v2-protocol&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>open-inference-protocol&lt;/em> (especificación, adoptantes, gobernanza) — &lt;a href="https://github.com/kserve/open-inference-protocol">https://github.com/kserve/open-inference-protocol&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>open-inference-protocol — generate_rest.yaml&lt;/em> — &lt;a href="https://github.com/kserve/open-inference-protocol/blob/main/specification/protocol/generate_rest.yaml">https://github.com/kserve/open-inference-protocol/blob/main/specification/protocol/generate_rest.yaml&lt;/a>&lt;/li>
&lt;li>open-inference, &lt;em>Vendor neutral fork of kserve/open-inference-protocol&lt;/em> — &lt;a href="https://github.com/open-inference/open-inference-protocol">https://github.com/open-inference/open-inference-protocol&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Generative Inference — Runtime Overview&lt;/em> (endpoints con prefijo &lt;code>openai/&lt;/code>) — &lt;a href="https://kserve.github.io/website/docs/model-serving/generative-inference/overview">https://kserve.github.io/website/docs/model-serving/generative-inference/overview&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Understanding LLMInferenceService&lt;/em> — &lt;a href="https://kserve.github.io/website/docs/model-serving/generative-inference/llmisvc/llmisvc-overview">https://kserve.github.io/website/docs/model-serving/generative-inference/llmisvc/llmisvc-overview&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Cloud-Native AI Inference at Scale using KServe and llm-d&lt;/em> (5 de marzo de 2026) — &lt;a href="https://kserve.github.io/website/blog/cloud-native-ai-inference-kserve-llm-d">https://kserve.github.io/website/blog/cloud-native-ai-inference-kserve-llm-d&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Serving Runtime (ServingRuntime y ClusterServingRuntime)&lt;/em> — &lt;a href="https://kserve.github.io/website/docs/concepts/resources/servingruntime">https://kserve.github.io/website/docs/concepts/resources/servingruntime&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Kubernetes Deployment Installation Guide&lt;/em> (K8s 1.32+, cert-manager 1.15.0+, Gateway API v1.2.1, sin scale-from-zero en Standard) — &lt;a href="https://kserve.github.io/website/docs/admin-guide/kubernetes-deployment">https://kserve.github.io/website/docs/admin-guide/kubernetes-deployment&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Canary Rollout Strategy&lt;/em> — &lt;a href="https://kserve.github.io/website/docs/model-serving/predictive-inference/rollout-strategies/canary">https://kserve.github.io/website/docs/model-serving/predictive-inference/rollout-strategies/canary&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Autoscaling with KEDA&lt;/em> — &lt;a href="https://kserve.github.io/website/docs/model-serving/predictive-inference/autoscaling/keda-autoscaler">https://kserve.github.io/website/docs/model-serving/predictive-inference/autoscaling/keda-autoscaler&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Multi-node/Multi-GPU Inference&lt;/em> (PVC RWX, sin autoescalado) — &lt;a href="https://kserve.github.io/website/docs/model-serving/generative-inference/multi-node">https://kserve.github.io/website/docs/model-serving/generative-inference/multi-node&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>Storage Options for Model Artifacts&lt;/em> — &lt;a href="https://kserve.github.io/website/docs/model-serving/storage/overview">https://kserve.github.io/website/docs/model-serving/storage/overview&lt;/a>&lt;/li>
&lt;li>KServe, issue #5335 — &lt;em>Support canaryTrafficPercent for RawDeployment mode via Gateway API HTTPRoute weights&lt;/em> (abierta, 2 de abril de 2026) — &lt;a href="https://github.com/kserve/kserve/issues/5335">https://github.com/kserve/kserve/issues/5335&lt;/a>&lt;/li>
&lt;li>KServe, issue #5062 — &lt;em>Add startupProbe to vLLM main containers&lt;/em> (12 de febrero de 2026) — &lt;a href="https://github.com/kserve/kserve/issues/5062">https://github.com/kserve/kserve/issues/5062&lt;/a>&lt;/li>
&lt;li>KServe, &lt;em>modelmesh-serving&lt;/em> (última release v0.12.0 de julio de 2023; repositorio archivado el 14 de abril de 2026) — &lt;a href="https://github.com/kserve/modelmesh-serving">https://github.com/kserve/modelmesh-serving&lt;/a>&lt;/li>
&lt;li>Red Hat, &lt;em>Converting ModelMesh and Serverless InferenceServices to RawDeployment (Standard) Mode&lt;/em> — &lt;a href="https://access.redhat.com/articles/7134025">https://access.redhat.com/articles/7134025&lt;/a>&lt;/li>
&lt;li>NVIDIA, &lt;em>Triton Inference Server — Inference Protocols and APIs&lt;/em> — &lt;a href="https://docs.nvidia.com/deeplearning/triton-inference-server/user-guide/docs/customization_guide/inference_protocols.html">https://docs.nvidia.com/deeplearning/triton-inference-server/user-guide/docs/customization_guide/inference_protocols.html&lt;/a>&lt;/li>
&lt;li>OpenVINO, &lt;em>What is OpenVINO Model Server&lt;/em> (API KServe, TFS y endpoints compatibles con OpenAI) — &lt;a href="https://docs.openvino.ai/2026/model-server/ovms_what_is_openvino_model_server.html">https://docs.openvino.ai/2026/model-server/ovms_what_is_openvino_model_server.html&lt;/a>&lt;/li>
&lt;li>PyTorch, &lt;em>TorchServe — Notice: Limited Maintenance&lt;/em> — &lt;a href="https://docs.pytorch.org/serve/">https://docs.pytorch.org/serve/&lt;/a>&lt;/li>
&lt;li>Kubernetes SIG Network, &lt;em>Gateway API Inference Extension&lt;/em> (v1.5.0, 19 de abril de 2026) — &lt;a href="https://github.com/kubernetes-sigs/gateway-api-inference-extension">https://github.com/kubernetes-sigs/gateway-api-inference-extension&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>Canary, blue-green and shadow for LLM models: how to deploy a new version without breaking the SLO</title><link>https://blog.lo0.es/en/posts/canary-blue-green-shadow-llm-models/</link><pubDate>Mon, 01 Jun 2026 16:30:00 +0200</pubDate><guid>https://blog.lo0.es/en/posts/canary-blue-green-shadow-llm-models/</guid><description>&lt;blockquote>
&lt;p>This post complements those on &lt;a href="https://blog.lo0.es/en/posts/llm-inference-autoscaling-kubernetes-hpa-keda/">LLM autoscaling on Kubernetes&lt;/a> (the autoscaler coexists with the rollout and must respect it), &lt;a href="https://blog.lo0.es/en/posts/gpu-observability-llm-inference-twelve-dcgm-vllm-metrics/">GPU observability for LLM inference&lt;/a> (the metrics that act as gates come from there), &lt;a href="https://blog.lo0.es/en/posts/evals-llm-layer-after-tracing/">Evals for LLMs&lt;/a> (the eval that decides whether the new model is ready), &lt;a href="https://blog.lo0.es/en/posts/llm-as-judge-exam-marker-not-oracle/">LLM-as-judge&lt;/a> (the technique that puts the &amp;ldquo;quality&amp;rdquo; into the canary gate) and &lt;a href="https://blog.lo0.es/en/posts/retrain-closing-the-loop-feedback-dataset-adapter/">Retrain: closing the loop&lt;/a> (the previous step that the new model comes out of).&lt;/p>
&lt;/blockquote>
&lt;h2 id="tldr">TL;DR&lt;/h2>
&lt;p>Promoting a new version of an LLM model to the production cluster without cutting traffic or breaking the SLO demands progressive deployment. The three canonical strategies, &lt;strong>blue-green&lt;/strong>, &lt;strong>canary&lt;/strong> and &lt;strong>shadow&lt;/strong>, answer different questions and have different costs. &lt;strong>Blue-green&lt;/strong>: a complete new pool brought up in parallel, atomic load balancer switch. Instant rollback (point back at the old pool); it demands twice the GPUs during the window. &lt;strong>Canary&lt;/strong>: traffic is shared progressively between the old version and the new one (1 % → 5 % → 25 % → 100 %), measuring regression gates at each step; it consumes incrementally less hardware but exposes real users to the new model from the first percentage point. &lt;strong>Shadow / mirror&lt;/strong>: the old model serves 100 % of the real traffic to the client and, in parallel, a copy of every request goes to the new model without returning its response to the user; it isolates you from quality risk but spends the new model&amp;rsquo;s GPU on responses nobody consumes, and it does not work well with long SSE streaming. The choice depends on three factors: available GPU budget, service criticality and the availability of a fast automatic eval. The &lt;strong>five regression metrics&lt;/strong> any LLM canary should gate on are: TTFT P95, error rate (HTTP 5xx + premature &lt;code>finish_reason=&amp;quot;length&amp;quot;&lt;/code>), quality score with LLM-as-judge over a golden set, statistical drift of output embeddings (Wasserstein or KL against the baseline distribution) and cost per request (tokens/s and kW/request). On Kubernetes, &lt;strong>Argo Rollouts&lt;/strong> manages traffic and the &lt;code>AnalysisTemplate&lt;/code>s as automatic gates; &lt;strong>Flagger&lt;/strong> is the more opinionated alternative. vLLM v1 &lt;strong>does not support hot model swap&lt;/strong> robustly as of May 2026, so the rollout unit is the &lt;strong>whole replica&lt;/strong> (deployment v2 alongside deployment v1). The three specific pitfalls: LB sticky sessions break the statistical comparability of the canary (a client A always lands on the new one, B on the old one, so the populations are not equivalent); semantic eval with LLM-as-judge takes 2–8 seconds per sample and is no use as a real-time gate (it is used in post-analysis or offline before promotion); SSE streaming complicates shadowing because the new model&amp;rsquo;s response has to be discarded without affecting the old one&amp;rsquo;s. This post includes a minimal Argo Rollouts manifest applicable to a generic cluster with the NVIDIA GPU Operator.&lt;/p>
&lt;h2 id="you-are-here-deploy-and-the-transition-to-retrain">You are here: DEPLOY (and the transition to RETRAIN)&lt;/h2>
&lt;div class="diagram" style="max-width:780px;margin:1rem auto;">
&lt;svg viewBox="0 0 780 90" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="you are here: Deploy with transition to Retrain">
&lt;style>.box{stroke:#444;stroke-width:1.4;rx:6}.active{fill:#7ad88f;stroke-width:3}.semiactive{fill:#cfead0;stroke-width:2}.idle{fill:#f4f4f4}.lbl{font:600 12px sans-serif;fill:#222}.arr{stroke:#666;stroke-width:1.4;fill:none;marker-end:url(#crm)}.cyc{stroke:#888;stroke-width:1.2;fill:none;stroke-dasharray:4 2;marker-end:url(#crm)}&lt;/style>
&lt;defs>&lt;marker id="crm" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto">&lt;path d="M0,0 L10,5 L0,10 z" fill="#666"/>&lt;/marker>&lt;/defs>
&lt;text x="390" y="20" text-anchor="middle" class="lbl">You are here: DEPLOY · canary closes the circle opened in RETRAIN&lt;/text>
&lt;rect x="30" y="35" width="110" height="35" class="box idle"/>&lt;text x="85" y="58" text-anchor="middle" class="lbl">1 · Data&lt;/text>
&lt;rect x="155" y="35" width="110" height="35" class="box idle"/>&lt;text x="210" y="58" text-anchor="middle" class="lbl">2 · Tune&lt;/text>
&lt;rect x="280" y="35" width="110" height="35" class="box idle"/>&lt;text x="335" y="58" text-anchor="middle" class="lbl">3 · Eval&lt;/text>
&lt;rect x="405" y="35" width="110" height="35" class="box active"/>&lt;text x="460" y="58" text-anchor="middle" class="lbl">4 · Deploy&lt;/text>
&lt;rect x="530" y="35" width="110" height="35" class="box idle"/>&lt;text x="585" y="58" text-anchor="middle" class="lbl">5 · Observe&lt;/text>
&lt;rect x="655" y="35" width="110" height="35" class="box semiactive"/>&lt;text x="710" y="58" text-anchor="middle" class="lbl">6 · Retrain&lt;/text>
&lt;path class="arr" d="M140,52 L155,52"/>&lt;path class="arr" d="M265,52 L280,52"/>&lt;path class="arr" d="M390,52 L405,52"/>&lt;path class="arr" d="M515,52 L530,52"/>&lt;path class="arr" d="M640,52 L655,52"/>
&lt;path class="cyc" d="M710,72 L710,82 L85,82 L85,72"/>
&lt;/svg>
&lt;/div>
&lt;p>A new model does not appear in the cluster by magic: it comes from the &lt;a href="https://blog.lo0.es/en/posts/retrain-closing-the-loop-feedback-dataset-adapter/">retrain&lt;/a> loop or from a weights provider update. The step between &amp;ldquo;I have an artifact that passed offline eval&amp;rdquo; and &amp;ldquo;it is serving 100 % of the traffic&amp;rdquo; is exactly this post.&lt;/p>
&lt;h2 id="the-analogy-opening-night-of-a-play">The analogy: opening night of a play&lt;/h2>
&lt;p>A theatre company is about to premiere a new version of a play that has been running successfully for a year. The company knows several hard facts: the current audience pays for a consistent experience; a bad opening damages the business for months; but premiering nothing leaves the company obsolete against the competition.&lt;/p>
&lt;p>The three opening routes the management can choose are the same three of the LLM rollout.&lt;/p>
&lt;p>&lt;strong>Dress rehearsal behind closed doors (shadow / mirror).&lt;/strong> The new actors perform the whole play to an empty theatre. There is no audience; nobody buys a ticket. Three full run-throughs are enough to check continuity, timing and the chemistry of the cast. It is expensive because there are salaries and theatre rent, but it does not expose the audience to risk. Useful when the new cast is untested and the director wants to see how it holds up over a complete performance before selling it. In LLM terms: the new model processes every real request in parallel with the old one but its responses are discarded; you spend the new model&amp;rsquo;s GPU on responses nobody sees.&lt;/p>
&lt;p>&lt;strong>Cast by performance, alternating (canary).&lt;/strong> Instead of changing the whole cast at once, Thursday performances belong to the new cast, Friday ones to the old one, Saturday ones half and half. The management reads the visitors&amp;rsquo; book comments and the audience numbers performance by performance, deciding after two weeks whether to promote the new cast to permanent or withdraw it. Cheaper than the dress rehearsal because the performances still sell tickets, but it exposes a real audience to risk from the first Thursday. In LLM terms: traffic is shared progressively between the old version and the new one, measuring gates at each step.&lt;/p>
&lt;p>&lt;strong>Double company with an atomic switch (blue-green).&lt;/strong> The company hires the new cast, prepares it for a month behind closed doors, and one Saturday announces: &amp;ldquo;from the next opening night every performance is with the new cast&amp;rdquo;. If the first performance goes badly, they go back to the old cast in 24 hours, but during that month of preparation &lt;strong>double salaries&lt;/strong> are paid to both companies. In LLM terms: two complete pools of the same size, instant LB switch from one to the other, rollback in seconds if the metrics break.&lt;/p>
&lt;p>The analogy also supports the decision: the choice depends on how critical the play is for the business (criticality of the LLM service), how much budget there is to sustain two casts at once (GPU budget), and how much confidence there is in the new cast from the chamber rehearsals (offline eval prior to the canary).&lt;/p>
&lt;h2 id="the-three-strategies-in-detail">The three strategies in detail&lt;/h2>
&lt;div class="diagram" style="max-width:820px;margin:1.5rem auto;">
&lt;svg viewBox="0 0 820 340" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="three LLM rollout strategies compared">
&lt;style>.b{stroke:#333;stroke-width:1.4;rx:6}.bg{fill:#d8eecf;stroke:#373}.cn{fill:#dfe9f5;stroke:#356}.sh{fill:#ead8f5;stroke:#634}.title{font:600 13px sans-serif;fill:#222}.h{font:700 12px sans-serif;fill:#222}.l{font:11px sans-serif;fill:#222}.n{font:italic 10px sans-serif;fill:#444}&lt;/style>
&lt;text x="410" y="20" text-anchor="middle" class="title">Three LLM rollout strategies with their tradeoffs&lt;/text>
&lt;rect x="20" y="40" width="250" height="280" class="b bg"/>
&lt;text x="145" y="62" text-anchor="middle" class="h">BLUE-GREEN&lt;/text>
&lt;text x="30" y="90" class="l">Pool v1 (blue) serves 100%&lt;/text>
&lt;text x="30" y="106" class="l">Pool v2 (green) up and idle&lt;/text>
&lt;text x="30" y="122" class="l">LB switch: v1 → v2 instant&lt;/text>
&lt;text x="30" y="138" class="l">Rollback: switch back to v1&lt;/text>
&lt;text x="30" y="170" class="h">+ Instant rollback&lt;/text>
&lt;text x="30" y="190" class="h">+ E2E test on a real pool&lt;/text>
&lt;text x="30" y="216" class="h">− Double GPU during window&lt;/text>
&lt;text x="30" y="236" class="h">− Big switch = total risk&lt;/text>
&lt;text x="30" y="270" class="n">Typical case: minor provider&lt;/text>
&lt;text x="30" y="284" class="n">update (FP8 → FP4 new version&lt;/text>
&lt;text x="30" y="298" class="n">of the same model).&lt;/text>
&lt;rect x="285" y="40" width="250" height="280" class="b cn"/>
&lt;text x="410" y="62" text-anchor="middle" class="h">CANARY&lt;/text>
&lt;text x="295" y="90" class="l">v1 serves most · v2 a fraction&lt;/text>
&lt;text x="295" y="106" class="l">Progressive split: 1→5→25→100%&lt;/text>
&lt;text x="295" y="122" class="l">Regression gate between steps&lt;/text>
&lt;text x="295" y="138" class="l">Auto-rollback if gate fails&lt;/text>
&lt;text x="295" y="170" class="h">+ Controlled exposure&lt;/text>
&lt;text x="295" y="190" class="h">+ Incremental GPU, not double&lt;/text>
&lt;text x="295" y="216" class="h">− Real users in the sample&lt;/text>
&lt;text x="295" y="236" class="h">− Sticky sessions break sampling&lt;/text>
&lt;text x="295" y="270" class="n">Typical case: model change&lt;/text>
&lt;text x="295" y="284" class="n">(Llama 70B → Llama 3.3 70B&lt;/text>
&lt;text x="295" y="298" class="n">fine-tuned by domain).&lt;/text>
&lt;rect x="550" y="40" width="250" height="280" class="b sh"/>
&lt;text x="675" y="62" text-anchor="middle" class="h">SHADOW · MIRROR&lt;/text>
&lt;text x="560" y="90" class="l">v1 serves 100% to the user&lt;/text>
&lt;text x="560" y="106" class="l">v2 gets a copy of every request&lt;/text>
&lt;text x="560" y="122" class="l">v2 response is discarded&lt;/text>
&lt;text x="560" y="138" class="l">Offline comparison v1 vs v2&lt;/text>
&lt;text x="560" y="170" class="h">+ Zero risk exposure&lt;/text>
&lt;text x="560" y="190" class="h">+ Real traffic on v2, no harm&lt;/text>
&lt;text x="560" y="216" class="h">− v2 GPU 100% with no user value&lt;/text>
&lt;text x="560" y="236" class="h">− Poor fit with long SSE streaming&lt;/text>
&lt;text x="560" y="270" class="n">Typical case: pre-canary validation&lt;/text>
&lt;text x="560" y="284" class="n">of a model with a different&lt;/text>
&lt;text x="560" y="298" class="n">architecture (dense → MoE).&lt;/text>
&lt;/svg>
&lt;/div>
&lt;h3 id="blue-green">Blue-green&lt;/h3>
&lt;p>The operator keeps two replica pools identical in size: the &lt;strong>blue&lt;/strong> one (production version v1) and the &lt;strong>green&lt;/strong> one (candidate version v2). When v2 is validated offline (eval passed, smoke tests), the LoadBalancer switch redirects 100 % of the traffic from blue to green &lt;strong>in a single step&lt;/strong>. If the SLO metrics break, the switch goes back in seconds.&lt;/p>
&lt;p>Cost: &lt;strong>2× GPUs&lt;/strong> for the whole window (preparing v2 + the post-switch observation window). For a 16-GPU cluster serving Llama 70B with TP=4 (4 replicas), preparing the blue-green needs 16 extra GPUs for 1–3 days.&lt;/p>
&lt;p>Risk: the switch is &lt;strong>atomic&lt;/strong>. If v2 has a problem that did not show up in offline eval but does show up at scale (for example, edge cases that only appear at 200 RPS), 100 % of users notice it at once. Rollback is instant, but the requests of the first minute after the switch were already affected. So blue-green is preferable when you have &lt;strong>high confidence&lt;/strong> in v2 (a minor change: same architecture, same format, just a new version of the weights) and you prioritise &lt;strong>immediate rollback&lt;/strong> over gradual exposure.&lt;/p>
&lt;h3 id="canary">Canary&lt;/h3>
&lt;p>The operator deploys v2 with a small number of replicas (typically 1) next to the v1 pool. The LoadBalancer shares the traffic out progressively on a schedule: 1 % for 30 minutes → 5 % for 1 hour → 25 % for 2 hours → 50 % for 4 hours → 100 %. Between each step, an &lt;strong>analysis gate&lt;/strong> evaluates regression metrics over the traffic that is already landing on v2. If the gate fails, the rollback withdraws traffic from v2 automatically and leaves v1 serving everything.&lt;/p>
&lt;p>Cost: &lt;strong>incremental&lt;/strong>. At the start (1 % of traffic) one v2 replica is enough; at 50 % you need half as many v2 replicas as v1 has in total. Peak extra GPU during the canary: about 30–50 % above baseline.&lt;/p>
&lt;p>Risk: real users are seeing v2 from the first 1 %. If v2 produces responses with degraded quality but normal TTFT and error rate, the affected users perceive the degradation without the gate detecting it (unless the gate includes quality drift, which is slow). So canary is preferable when you have &lt;strong>medium confidence&lt;/strong> in v2 (a significant change: different architecture or training) and you accept that a low percentage of users will be guinea pigs.&lt;/p>
&lt;h3 id="shadow--mirror">Shadow / mirror&lt;/h3>
&lt;p>The LoadBalancer sends 100 % of the real traffic to v1 (which answers the client) &lt;strong>and duplicates every request&lt;/strong> towards v2 (whose response is discarded or stored for offline analysis). The client never sees v2; it is never exposed to the risk.&lt;/p>
&lt;p>Cost: &lt;strong>100 % extra compute for v2&lt;/strong> with no direct user value for the whole shadow window. For a 16-GPU cluster serving Llama 70B with TP=4 (4 replicas), a shadow of the same size consumes 16 extra GPUs full time.&lt;/p>
&lt;p>Risk: shadow is the safest for the user. But it has two serious limitations: (a) if v2 has a bottleneck that makes the copied request to the shadow take a long time, the shadowing proxy can consume LB connections; it must be &lt;strong>out-of-band&lt;/strong> (asynchronous); (b) &lt;strong>long SSE streaming&lt;/strong> complicates mirroring because you have to keep two parallel streams and discard one while the other flows to the client. Common pattern: shadow only non-streaming requests (short completions, classification), manual offline eval of the streaming requests.&lt;/p>
&lt;h2 id="the-five-regression-metrics-that-act-as-a-gate">The five regression metrics that act as a gate&lt;/h2>
&lt;p>Without automatic gates, the &amp;ldquo;canary&amp;rdquo; is just a nice name for &amp;ldquo;manual rollout with a variable percentage&amp;rdquo;. The gates are the piece that turns the canary into a defensible operation.&lt;/p>
&lt;p>&lt;strong>Metric 1 — TTFT P95.&lt;/strong> Comparison of the new model&amp;rsquo;s P95 against the baseline (v1) P95 in 5-minute windows. Gate: &lt;code>ttft_p95(v2) / ttft_p95(v1) &amp;lt; 1.10&lt;/code>. It detects prefill latency regressions (a slower new model) or engine problems (suboptimal config). Source: &lt;code>vllm:time_to_first_token_seconds_bucket&lt;/code> (see &lt;a href="https://blog.lo0.es/en/posts/gpu-observability-llm-inference-twelve-dcgm-vllm-metrics/">GPU observability for LLM inference&lt;/a>).&lt;/p>
&lt;p>&lt;strong>Metric 2 — Error rate.&lt;/strong> Sum of HTTP 5xx + unexpected 4xx + rate of premature &lt;code>finish_reason=&amp;quot;length&amp;quot;&lt;/code> (responses cut short because the new model does not generate EOS). Gate: &lt;code>error_rate(v2) - error_rate(v1) &amp;lt; 0.01&lt;/code> (1 percentage point). It detects engine crashes, a broken tokenizer, generation problems. Source: &lt;code>vllm:request_success_total{status=...}&lt;/code>.&lt;/p>
&lt;p>&lt;strong>Metric 3 — Quality score (LLM-as-judge).&lt;/strong> Over a &lt;strong>golden set&lt;/strong> of 200–1,000 representative prompts, v1 and v2 are run offline and a judge model (typically larger: GPT-4 class, Claude, local Llama 405B) scores each pair. Typical gate: &lt;code>mean_score(v2) &amp;gt;= mean_score(v1) - 0.05&lt;/code>. This metric &lt;strong>is not measured in real time during the canary&lt;/strong>: judge inference takes 2–8 seconds per sample and does not scale as an inline gate. It is used as an &lt;strong>offline pre-promotion gate&lt;/strong> (before starting the canary) and as a post-mortem over a sample of real traffic captured during the canary. See &lt;a href="https://blog.lo0.es/en/posts/llm-as-judge-exam-marker-not-oracle/">LLM-as-judge&lt;/a> for the mechanics.&lt;/p>
&lt;p>&lt;strong>Metric 4 — Statistical output drift.&lt;/strong> For every request that lands on v2 during the canary, embed the response with a lightweight embedding model (e5, BGE) and compare the distribution of v2 embeddings against the distribution of the v1 baseline over the same window. Usable metrics: &lt;strong>Wasserstein distance&lt;/strong>, KL divergence, or more simply, comparing means and variances per dimension. Gate: normalised distance &amp;lt; a calibrated threshold (typically Wasserstein &amp;lt; 0.15). It detects subtle changes in style, length and vocabulary that LLM-as-judge does not capture without going through it too. It is fast: the lightweight embedding takes around 50 ms per response.&lt;/p>
&lt;p>&lt;strong>Metric 5 — Cost per request.&lt;/strong> Output tokens per request and kW per request. Gate: &lt;code>cost_per_request(v2) / cost_per_request(v1) &amp;lt; 1.20&lt;/code>. It detects new models that generate significantly longer responses or that consume more energy for the same load (quantisation degradation, optimisations failing). Without this gate, an &amp;ldquo;update&amp;rdquo; can silently double the bill.&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Metric&lt;/th>
&lt;th>Type&lt;/th>
&lt;th>Measurement latency&lt;/th>
&lt;th>Typical gate&lt;/th>
&lt;th>Detection&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>TTFT P95&lt;/td>
&lt;td>Quantitative&lt;/td>
&lt;td>5 min&lt;/td>
&lt;td>&lt;code>&amp;lt; 110% baseline&lt;/code>&lt;/td>
&lt;td>Latency regression&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Error rate&lt;/td>
&lt;td>Quantitative&lt;/td>
&lt;td>1 min&lt;/td>
&lt;td>&lt;code>&amp;lt; 1pp over baseline&lt;/code>&lt;/td>
&lt;td>Crashes, generation broken&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Quality (LLM-judge)&lt;/td>
&lt;td>Offline semantic&lt;/td>
&lt;td>hours, over golden set&lt;/td>
&lt;td>&lt;code>&amp;gt; baseline − 0.05&lt;/code>&lt;/td>
&lt;td>Functional quality&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Statistical drift&lt;/td>
&lt;td>Statistical&lt;/td>
&lt;td>~5 min&lt;/td>
&lt;td>Wasserstein &amp;lt; 0.15&lt;/td>
&lt;td>Style, length, vocabulary&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Cost per request&lt;/td>
&lt;td>Quantitative&lt;/td>
&lt;td>5 min&lt;/td>
&lt;td>&lt;code>&amp;lt; 120% baseline&lt;/code>&lt;/td>
&lt;td>Economic/energy efficiency&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="the-mechanics-on-kubernetes-argo-rollouts">The mechanics on Kubernetes: Argo Rollouts&lt;/h2>
&lt;p>Argo Rollouts extends the standard Kubernetes &lt;code>Deployment&lt;/code> with a new &lt;code>Rollout&lt;/code> resource that orchestrates traffic progression and automatic analyses. It integrates with any service mesh (Istio, Linkerd) or ingress controller that supports traffic splitting (NGINX, Traefik, Gateway API).&lt;/p>
&lt;p>A minimal example of a 1 → 5 → 25 → 100 % canary with TTFT and error rate gates:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">apiVersion&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">argoproj.io/v1alpha1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">kind&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">Rollout&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">metadata&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-llama70b }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">spec&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">replicas&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">4&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">strategy&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">canary&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">canaryService&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-llama70b-canary&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">stableService&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-llama70b-stable&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">trafficRouting&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">nginx&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">stableIngress&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-llama70b-ingress&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">steps&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">setWeight&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">pause&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">duration&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">30m }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">analysis&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templates&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">[&lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templateName&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">ttft-error-gate }] }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">setWeight&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">5&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">pause&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">duration&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">1h }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">analysis&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templates&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">[&lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templateName&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">ttft-error-gate }] }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">setWeight&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">25&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">pause&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">duration&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">2h }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">analysis&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templates&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">[&lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templateName&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">ttft-error-gate }, { templateName: drift-gate }] }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">setWeight&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">50&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">pause&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">duration&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">4h }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">analysis&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templates&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">[&lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">templateName&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">ttft-error-gate }, { templateName: drift-gate }] }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">setWeight&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">100&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">selector&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">matchLabels&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">app&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-llama70b } }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">template&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">metadata&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">labels&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">app&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm-llama70b } }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">spec&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">containers&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">image&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">vllm/vllm-openai:v0.10.0&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">args&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">[&lt;/span>&lt;span class="w"> &lt;/span>--&lt;span class="l">model=/models/llama-70b-fp8-v2 ] &lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="c"># new version&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nn">---&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">apiVersion&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">argoproj.io/v1alpha1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">kind&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">AnalysisTemplate&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">metadata&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>{&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">ttft-error-gate }&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w">&lt;/span>&lt;span class="nt">spec&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">metrics&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">ttft-p95-ratio&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">interval&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">1m&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">count&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">5&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">failureLimit&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">successCondition&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">result &amp;lt; 1.10&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">provider&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">prometheus&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">address&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">http://prometheus.observability.svc:9090&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">query&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">|&lt;/span>&lt;span class="sd">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sd"> histogram_quantile(0.95, sum by(le)(rate(vllm:time_to_first_token_seconds_bucket{version=&amp;#34;v2&amp;#34;}[5m])))
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sd"> /
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sd"> histogram_quantile(0.95, sum by(le)(rate(vllm:time_to_first_token_seconds_bucket{version=&amp;#34;v1&amp;#34;}[5m])))&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">error-rate-diff&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">interval&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">1m&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">count&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">5&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">failureLimit&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">successCondition&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">result &amp;lt; 0.01&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">provider&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">prometheus&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">address&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">http://prometheus.observability.svc:9090&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">query&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="p">|&lt;/span>&lt;span class="sd">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sd"> sum(rate(vllm:request_total{version=&amp;#34;v2&amp;#34;,status=~&amp;#34;5..&amp;#34;}[5m])) / sum(rate(vllm:request_total{version=&amp;#34;v2&amp;#34;}[5m]))
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sd"> -
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sd"> sum(rate(vllm:request_total{version=&amp;#34;v1&amp;#34;,status=~&amp;#34;5..&amp;#34;}[5m])) / sum(rate(vllm:request_total{version=&amp;#34;v1&amp;#34;}[5m]))&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>If any of the &lt;code>AnalysisTemplate&lt;/code>s fails, Argo Rollouts backs out automatically: it sets weight=0 on the canary, alerts the operator and keeps v1 serving 100 %. Human operation is reduced to investigating the failure and deciding whether to relaunch or abort.&lt;/p>
&lt;p>&lt;strong>Flagger&lt;/strong> offers a more opinionated alternative: weight progression is automatic as a function of metric success instead of a fixed pause; the operator defines a target (&lt;code>maxWeight: 100&lt;/code>, &lt;code>stepWeight: 10&lt;/code>, &lt;code>metrics: [...]&lt;/code>) and Flagger raises or lowers it according to behaviour. Both are mature as of May 2026; the choice is usually dictated by which service mesh is already in the cluster.&lt;/p>
&lt;h2 id="the-vllm-detail-why-there-is-no-hot-swap-of-the-model">The vLLM detail: why there is no &amp;ldquo;hot swap&amp;rdquo; of the model&lt;/h2>
&lt;p>As of May 2026, vLLM v1 &lt;strong>does not support hot swapping&lt;/strong> the model inside the same replica without restarting the engine. The &lt;code>--model&lt;/code> argument is evaluated at start-up; changing it requires re-instantiating the &lt;code>LLMEngine&lt;/code>, which restarts connections and discards the KV cache. So the &lt;strong>rollout unit is the whole replica&lt;/strong>: you do not do &amp;ldquo;v1 loads the new model on one of its GPUs&amp;rdquo; but &amp;ldquo;a v2 replica is brought up next to a v1 replica and traffic is shared out via the LB&amp;rdquo;.&lt;/p>
&lt;p>TensorRT-LLM with Triton has a similar mechanism: changing the model requires a reload of the Triton backend. SGLang does not support robust hot swap either. The operational consequence: LLM rollout is always going to cost extra GPUs during the window, and the choice between blue-green, canary and shadow is exactly the question of how many extra and for how long.&lt;/p>
&lt;h2 id="the-three-pitfalls-specific-to-llm-rollout">The three pitfalls specific to LLM rollout&lt;/h2>
&lt;p>&lt;strong>Pitfall 1 — sticky sessions break canary comparability.&lt;/strong> If the LoadBalancer does session affinity by client IP (common in NGINX and Traefik with &lt;code>loadbalancer.kubernetes.io/session-affinity: ClientIP&lt;/code>), a user A always lands on v2 while B always lands on v1. Load distributions, prompt profiles and client behaviour &lt;strong>are not random&lt;/strong> between the two pools, which statistically invalidates any gate comparison. Solution: for a canary, disable session affinity (&lt;code>sessionAffinity: None&lt;/code>) or use affinity by random request-id. If the client app requires stickiness for functional reasons (conversational memory persisted in cache), canary is not the right strategy; use blue-green or shadow.&lt;/p>
&lt;p>&lt;strong>Pitfall 2 — LLM-as-judge is not an inline real-time gate.&lt;/strong> The temptation to use quality score as a live gate is strong, but the judge&amp;rsquo;s latency (2–8 s per sample) makes it unfeasible to evaluate more than a 1–2 % sampling of the traffic, and the results arrive minutes late. Operational solutions: (a) &lt;strong>offline pre-canary eval&lt;/strong> over a golden set as a prerequisite for starting (if it fails, the canary does not even begin); (b) during the canary, &lt;strong>capture requests + responses&lt;/strong> from v2 in real time and run the judge asynchronously in a batch job that finishes before the next step; (c) use statistical embedding drift as a fast proxy for inline quality, and reserve the judge for intermediate gates between steps.&lt;/p>
&lt;p>&lt;strong>Pitfall 3 — SSE streaming complicates shadowing.&lt;/strong> Classic traffic mirroring (NGINX &lt;code>mirror&lt;/code>, Istio &lt;code>MirrorPolicy&lt;/code>) is designed for request/response HTTP: it copies the request, lets the primary server answer the client, and duplicates the request to the secondary, discarding the response. With SSE, the secondary&amp;rsquo;s response is a continuous stream of several seconds, and keeping two streams in parallel doubles the load on the proxy. Solutions: (a) shadow &lt;strong>only non-streaming requests&lt;/strong> (chat without streaming, embeddings, classification, batch eval), (b) shadow the streaming traffic but with a short timeout on the secondary (discard the shadow if it takes longer than 30 s), (c) replace the shadow with a small-weight canary (1 %), which does handle streaming well.&lt;/p>
&lt;h2 id="applied-to-typical-on-premise-hardware">Applied to typical on-premise hardware&lt;/h2>
&lt;p>For a generic cluster of &lt;strong>4 nodes × 4×H100 SXM 80 GB = 16 GPUs&lt;/strong>, serving Llama 70B FP8 with TP=4 (4 possible replicas, one per node):&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Blue-green&lt;/strong>: impossible to keep two complete pools of 4 replicas without extra GPUs. Practical solution: blue-green with reduced pools (2 v1 replicas + 2 v2 replicas) during the window, with &lt;strong>accepted capacity degradation&lt;/strong> (half the sustained RPS SLO), or having a parallel cluster (another node) reserved for rollouts.&lt;/li>
&lt;li>&lt;strong>Canary&lt;/strong>: feasible. Start with 3 v1 replicas + 1 v2 replica (25 % nominal weight, though the traffic weight also varies). Move to 2 v1 + 2 v2 at 50 %, then 1 v1 + 3 v2, finally 0 v1 + 4 v2.&lt;/li>
&lt;li>&lt;strong>Shadow&lt;/strong>: awkward because of the GPU cost. Reserve it for pre-canary validation of major changes, during a short window (4–8 hours) with shadowed traffic limited to a sample (10–20 % of requests, not 100 %).&lt;/li>
&lt;/ul>
&lt;p>For clusters of &lt;strong>8 GPU nodes&lt;/strong>, the three patterns are all sustainable. The operational rule: the rollout budget is typically &lt;strong>25–30 % of the cluster&amp;rsquo;s sustained capacity&lt;/strong>, and buying for the peak plus that head-room makes the &lt;a href="https://blog.lo0.es/en/posts/capacity-planning-on-premise-llm-inference/">capacity planning&lt;/a> numbers add up.&lt;/p>
&lt;h2 id="what-we-have-not-covered-upcoming-articles">What we have not covered (upcoming articles)&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Multi-region rollouts&lt;/strong>: how to coordinate a canary when the cluster is geographically distributed.&lt;/li>
&lt;li>&lt;strong>A/B testing of prompts&lt;/strong> (not of models): the same model with two different system prompts, measuring conversion.&lt;/li>
&lt;li>&lt;strong>Embedding rollback&lt;/strong>: changing the embedding model of a RAG system means re-embedding the whole corpus, so the canary mechanics are different. See &lt;a href="https://blog.lo0.es/en/posts/rag-corpus-curation-active-librarian/">RAG corpus curation&lt;/a>.&lt;/li>
&lt;li>&lt;strong>Feature flags for LLM&lt;/strong>: granularity per tenant or per feature within the same model.&lt;/li>
&lt;li>&lt;strong>End-to-end continuous deployment&lt;/strong>: integration with the retrain pipeline so a new adapter is promoted automatically after passing evals.&lt;/li>
&lt;/ul>
&lt;h2 id="see-also">See also&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/gitops-inference-stack-flux/">GitOps for the inference stack with Flux: operating the assistant as code&lt;/a> — promotion and rollback as a git revert inside the GitOps flow.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/llm-inference-autoscaling-kubernetes-hpa-keda/">LLM autoscaling on Kubernetes&lt;/a> — the autoscaler coexists with the canary and must respect the traffic splits.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/gpu-observability-llm-inference-twelve-dcgm-vllm-metrics/">GPU observability for LLM inference&lt;/a> — the metrics that act as gates come from here.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/capacity-planning-on-premise-llm-inference/">Capacity planning&lt;/a> — defines the head-room needed for rollouts.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/evals-llm-layer-after-tracing/">Evals for LLMs&lt;/a> — the offline eval that validates v2 before starting the canary.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/llm-as-judge-exam-marker-not-oracle/">LLM-as-judge&lt;/a> — the quality score technique as an offline gate.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/retrain-closing-the-loop-feedback-dataset-adapter/">Retrain: closing the loop&lt;/a> — where the new model that enters the canary comes from.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/five-maturity-levels-platform-under-llm/">Five maturity levels&lt;/a> — Argo Rollouts is a piece of level 4–5.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/llm-inference-router-l7-switchboard/">The LLM inference router&lt;/a> — the piece we call &amp;ldquo;LoadBalancer&amp;rdquo; in this post taken apart as a layer in its own right: model catalogue, L7 traffic splitting, cross-cutting policy, failover and prefix-aware routing. The 1 % → 5 % → 25 % → 100 % split materialises there.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a href="https://blog.lo0.es/en/posts/incident-response-runbooks-llm-inference-kafka-keep/">Incident response runbooks for LLM with Keep + Kafka&lt;/a> — the automatic canary rollback when &lt;code>ttft_p95(v2)/ttft_p95(v1) &amp;gt; 1.30&lt;/code> is runbook RB-06; the full Keep YAML workflow and the compliance fit are there.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="references">References&lt;/h2>
&lt;ul>
&lt;li>Argo Rollouts project — &lt;code>argoproj.io/argo-rollouts&lt;/code> (&lt;code>Rollout&lt;/code> and &lt;code>AnalysisTemplate&lt;/code> CRDs).&lt;/li>
&lt;li>Flagger project — &lt;code>fluxcd.io/flagger&lt;/code> (alternative with automatic progression).&lt;/li>
&lt;li>Istio — &lt;em>Traffic Mirroring&lt;/em> (mirror configurable at &lt;code>VirtualService&lt;/code> level).&lt;/li>
&lt;li>NGINX Ingress — &lt;em>Canary annotations&lt;/em> (&lt;code>nginx.ingress.kubernetes.io/canary-*&lt;/code>).&lt;/li>
&lt;li>vLLM project — issue tracker on hot model swap (status as of May 2026: in design, not production-ready).&lt;/li>
&lt;li>Hou et al. — &lt;em>DistServe: Disaggregating Prefill and Decoding for Goodput-optimized LLM Serving&lt;/em> (OSDI 2024) — reference on goodput metrics applicable to canary gates.&lt;/li>
&lt;li>Bürkner et al. — &lt;em>Statistical methods for detecting model drift in production&lt;/em> (various articles on Wasserstein and KL in ML monitoring).&lt;/li>
&lt;/ul></description></item></channel></rss>