From 851610225842dafdda875cbdf60597552b104661 Mon Sep 17 00:00:00 2001 From: "Ahmed, Mushtaq" Date: Mon, 30 Nov 2026 04:02:22 -0700 Subject: [PATCH 1/7] fix(kserve): LWS 0.11.1 and kube-rbac-proxy 0.23.1 LWS 0.8.0 (2 critical) is now also upgraded when an older release is installed; the KServe controller's kube-rbac-proxy sidecar moves from v0.18.0 (2 critical). Signed-off-by: Ahmed, Mushtaq --- roles/kserve/defaults/main.yaml | 4 +++- roles/kserve/tasks/install.yaml | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/roles/kserve/defaults/main.yaml b/roles/kserve/defaults/main.yaml index 290307b2..ee1dc682 100644 --- a/roles/kserve/defaults/main.yaml +++ b/roles/kserve/defaults/main.yaml @@ -10,6 +10,8 @@ kserve_releases: latest: "0.21.0" kserve_version: "{{ kserve_releases['latest' if envoy_gateway_upgrade | default(true) | bool else 'baseline'] }}" kserve_namespace: "kserve" +# Controller sidecar; newer than the chart default v0.18.0 (2 critical findings) +kserve_rbac_proxy_image: "quay.io/brancz/kube-rbac-proxy:v0.23.1" # ── OpenShift (cluster_distribution) ───────────────────────────────────────── # OpenShift AI runs the KServe controllers, and routes every LLMInferenceService # through its inference Gateway (kserveIngressGateway in its @@ -83,7 +85,7 @@ kserve_knative_namespace: "knative-serving" # by the envoy_gateway / envoy_ai_gateway roles. # --------------------------------------------------------------------------- kserve_llmisvc_enabled: true -kserve_lws_version: "v0.8.0" +kserve_lws_version: "v0.11.1" kserve_lws_namespace: "lws-system" kserve_lws_helm_repo: "oci://registry.k8s.io/lws/charts/lws" diff --git a/roles/kserve/tasks/install.yaml b/roles/kserve/tasks/install.yaml index 460e308b..744e04a9 100644 --- a/roles/kserve/tasks/install.yaml +++ b/roles/kserve/tasks/install.yaml @@ -320,6 +320,7 @@ kserve: controller: affinity: "{{ _platform_affinity | default({}) }}" + rbacProxyImage: "{{ kserve_rbac_proxy_image }}" register: _kserve_helm_resources until: _kserve_helm_resources is succeeded retries: "{{ helm_retries | default(3) }}" @@ -477,7 +478,10 @@ create_namespace: true wait: true timeout: "5m0s" - when: _lws_check.status is not defined or _lws_check.status is none + # Installs it, or upgrades a release on another chart version. + when: >- + _lws_check.status is not defined or _lws_check.status is none + or (_lws_check.status.chart | default('') | regex_replace('^lws-v?', '')) != (kserve_lws_version | regex_replace('^v', '')) register: _kserve_helm_lws until: _kserve_helm_lws is succeeded retries: "{{ helm_retries | default(3) }}" From c14e25b1c862a22ed87662092fe75e78efa8bc00 Mon Sep 17 00:00:00 2001 From: "Ahmed, Mushtaq" Date: Mon, 30 Nov 2026 04:02:39 -0700 Subject: [PATCH 2/7] fix(litellm): LiteLLM v1.110.4 (v1.105.1: 5 critical, 40 high; v1.110.4: none) Signed-off-by: Ahmed, Mushtaq --- config.yaml | 2 +- docs/configuration/configuration.md | 2 +- roles/litellm/defaults/main.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index 7e8d0f7f..c704368c 100644 --- a/config.yaml +++ b/config.yaml @@ -34,7 +34,7 @@ envoy_ai_gateway_namespace: "envoy-ai-gateway-system" # --- LiteLLM --- # litellm_enabled: true # add LiteLLM with Keycloak auth (always on with auth_type=litellm_vkey) -# litellm_version: "v1.105.1" +# litellm_version: "v1.110.4" # litellm_namespace: "litellm" # litellm_hostname: "litellm.inteltoolkits.ai" # defaults to litellm. # litellm_cache_enabled: true diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index 8da4e56e..36a0848e 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -127,7 +127,7 @@ LiteLLM is always deployed with `auth_type: litellm_vkey`, and optional with `jw ```yaml # litellm_enabled: true # langfuse_enabled: false -# litellm_version: "v1.105.1" +# litellm_version: "v1.110.4" # litellm_namespace: "litellm" # litellm_cache_enabled: true # litellm_cache_ttl: 600 diff --git a/roles/litellm/defaults/main.yaml b/roles/litellm/defaults/main.yaml index 6e0a21e5..c00e65e8 100644 --- a/roles/litellm/defaults/main.yaml +++ b/roles/litellm/defaults/main.yaml @@ -20,7 +20,7 @@ # for GHSA-7hp6-4w63-5g45; >= v1.85.0 for the 2026 Host-header, MCP OAuth and # /sso/debug advisories. litellm_image_repository: "ghcr.io/berriai/litellm-non_root" -litellm_version: "v1.105.1" +litellm_version: "v1.110.4" litellm_run_as_user: 65534 litellm_namespace: "litellm" litellm_num_workers: 2 From 936fd274628c3ff73bda68c243e362b23f9f227a Mon Sep 17 00:00:00 2001 From: "Ahmed, Mushtaq" Date: Mon, 30 Nov 2026 04:08:52 -0700 Subject: [PATCH 3/7] fix(model-manager): drop vLLM runtime versions 0.19.1 and 0.24.0 Both images carry vLLM advisories with critical/high severity (0.19.1: OpenAI auth bypass GHSA-94f4-hr76-p5j6; both: GHSA-h3rc-6mm3-gc2m RCE via mm_processor_kwargs, fixed in 0.31+). 0.28.0 stays the default, 0.33.0 opt-in. Signed-off-by: Ahmed, Mushtaq --- docs/configuration/catalog.md | 6 +++--- docs/configuration/runtimes.md | 6 ------ docs/getting-started/deploy-models.md | 6 +++--- model_manager/models.yaml | 5 ----- model_manager/tests/test_sizing.py | 10 +++------- 5 files changed, 9 insertions(+), 24 deletions(-) diff --git a/docs/configuration/catalog.md b/docs/configuration/catalog.md index aa850285..7e7cff26 100644 --- a/docs/configuration/catalog.md +++ b/docs/configuration/catalog.md @@ -23,7 +23,7 @@ models: # 2. The models you can deploy — one entry per model model_id: Qwen/Qwen3-0.6B # the Hugging Face repo to pull category: llm # workload type → sensible CPU/memory/flags servers: # which engine + versions this model may use - vllm: { versions: ["0.24.0", "0.19.1"], default: "0.24.0" } + vllm: { versions: ["0.33.0", "0.28.0"], default: "0.28.0" } runtimes: # 3. The engines themselves — images, versions, shared settings iims: { ... } @@ -149,7 +149,7 @@ Two equivalent forms, depending on how much control you want: model_id: Qwen/Qwen3-0.6B category: llm servers: - vllm: { versions: ["0.24.0", "0.19.1"], default: "0.24.0" } + vllm: { versions: ["0.33.0", "0.28.0"], default: "0.28.0" } default_server: vllm # Shorthand: one server, optionally pinned to a version — no allow-list @@ -157,7 +157,7 @@ Two equivalent forms, depending on how much control you want: model_id: casperhansen/llama-3-8b-instruct-awq category: llm runtime: vllm - server_version: "0.24.0" + server_version: "0.28.0" ``` With the `servers:` form, a deploy that asks for a version *not* in the list is diff --git a/docs/configuration/runtimes.md b/docs/configuration/runtimes.md index 87c3732c..6fb71088 100644 --- a/docs/configuration/runtimes.md +++ b/docs/configuration/runtimes.md @@ -100,14 +100,8 @@ runtimes: versions: "0.33.0": # its KV check counts page cache as used: large models can fail image: "docker.io/vllm/vllm-openai-cpu:v0.33.0" - "0.24.0": - image: "docker.io/vllm/vllm-openai-cpu:v0.24.0" "0.28.0": image: "docker.io/vllm/vllm-openai-cpu:v0.28.0" - "0.33.0": # opt-in only (--server-version 0.33.0), not yet validated - image: "docker.io/vllm/vllm-openai-cpu:v0.33.0" - "0.19.1": - image: "docker.io/vllm/vllm-openai-cpu:v0.19.1" # optional env:/args: DELTAS on top of the common env and category args categories: llm: { defaults: { cpu: 8, memory: "16Gi", kv_cache_gb: 8 } } diff --git a/docs/getting-started/deploy-models.md b/docs/getting-started/deploy-models.md index 3a7b7565..d22f862d 100644 --- a/docs/getting-started/deploy-models.md +++ b/docs/getting-started/deploy-models.md @@ -91,11 +91,11 @@ engine. This lets you upgrade deliberately, or A/B two versions side by side. ./model-manager deploy qwen3-0-6b --wait # Choose a specific engine version -./model-manager deploy qwen3-0-6b --server-version 0.19.1 --wait +./model-manager deploy qwen3-0-6b --server-version 0.33.0 --wait # Run two versions at the same time, under different names -./model-manager deploy qwen3-0-6b --server-version 0.24.0 --as qwen3-v24 --wait -./model-manager deploy qwen3-0-6b --server-version 0.19.1 --as qwen3-v19 --wait +./model-manager deploy qwen3-0-6b --server-version 0.28.0 --as qwen3-v28 --wait +./model-manager deploy qwen3-0-6b --server-version 0.33.0 --as qwen3-v33 --wait ``` The catalog decides which versions a model is *allowed* to use — asking for one that diff --git a/model_manager/models.yaml b/model_manager/models.yaml index 40cbd0d8..10da3bd5 100644 --- a/model_manager/models.yaml +++ b/model_manager/models.yaml @@ -405,12 +405,7 @@ runtimes: KMP_BLOCKTIME: "1" versions: "0.33.0": { image: "docker.io/vllm/vllm-openai-cpu:v0.33.0" } # opt-in; not validated with the category args - "0.24.0": { image: "docker.io/vllm/vllm-openai-cpu:v0.24.0" } "0.28.0": { image: "docker.io/vllm/vllm-openai-cpu:v0.28.0" } - "0.19.1": - image: "docker.io/vllm/vllm-openai-cpu:v0.19.1" - env: { VLLM_USE_V1: "1" } - args: [ --max-num-seqs, "256" ] categories: llm: args: [ --dtype, bfloat16, --max-num-seqs, "128", --max-num-batched-tokens, "2048", --enable-prefix-caching, --enable-chunked-prefill ] diff --git a/model_manager/tests/test_sizing.py b/model_manager/tests/test_sizing.py index c8122bd9..fa8e6386 100644 --- a/model_manager/tests/test_sizing.py +++ b/model_manager/tests/test_sizing.py @@ -665,11 +665,11 @@ def test_a_deployed_model_with_unchanged_inputs_keeps_its_sizing(hub, monkeypatc @pytest.mark.parametrize("live_argv, argv", [ ([], ["--tp", "2"]), # TP changed: sized at tp=1, now two workers ([], ["--arg", "--max-model-len=16384"]), # context changed - ([], ["--server-version", "0.28.0"]), # a different image + ([], ["--server-version", "0.33.0"]), # a different image ]) def test_changed_inputs_re_size_a_deployed_model(hub, monkeypatch, tmp_path, live_argv, argv): - catalog = _catalog(tmp_path, memory="auto", servers={"vllm": {"versions": ["0.24.0", "0.28.0"], - "default": "0.24.0"}}) + catalog = _catalog(tmp_path, memory="auto", servers={"vllm": {"versions": ["0.28.0", "0.33.0"], + "default": "0.28.0"}}) monkeypatch.setattr(k8s, "get_json", lambda *a: _live(_inputs(catalog, *live_argv), "40Gi", "16")) m, s, main, env = _sized("m", *argv, catalog=catalog) assert s is not None and m.sizing[cli.SIZING_INPUTS] == _inputs(catalog, *argv) # sized again, for memory_gate @@ -707,10 +707,6 @@ def test_openshift_additional_args_are_sized(hub, monkeypatch): assert tp == 2 and round(s.weights_gib, 2) == 29.92 # bf16 weights served as float32 -def test_version_0191_takes_the_category_kv(hub): - assert _sized("qwen3-0-6b", "--server", "vllm", "--server-version", "0.19.1")[3]["VLLM_CPU_KVCACHE_SPACE"] == "8" - - @pytest.mark.parametrize("memory, needed, env, aborts", [ ("64Gi", 101, {}, True), # tp 2 with a tp 1 KV: OOM at load ("64Gi", 101, {"MM_PREFLIGHT": "warn"}, False), From fe4d00412ef6eba6331528de99d2bc08aa43061c Mon Sep 17 00:00:00 2001 From: "Ahmed, Mushtaq" Date: Mon, 30 Nov 2026 04:50:03 -0700 Subject: [PATCH 4/7] fix: smallest bumps that clear the criticals: LiteLLM v1.106.12, LWS v0.9.0 LiteLLM v1.106.12 is as clean as v1.110.4 (0 critical, 0 high) one minor up from 1.105; LWS v0.9.0 clears both criticals, later minors only trim highs (37 -> 28). Signed-off-by: Ahmed, Mushtaq --- config.yaml | 2 +- docs/configuration/configuration.md | 2 +- roles/kserve/defaults/main.yaml | 2 +- roles/litellm/defaults/main.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.yaml b/config.yaml index c704368c..adc65800 100644 --- a/config.yaml +++ b/config.yaml @@ -34,7 +34,7 @@ envoy_ai_gateway_namespace: "envoy-ai-gateway-system" # --- LiteLLM --- # litellm_enabled: true # add LiteLLM with Keycloak auth (always on with auth_type=litellm_vkey) -# litellm_version: "v1.110.4" +# litellm_version: "v1.106.12" # litellm_namespace: "litellm" # litellm_hostname: "litellm.inteltoolkits.ai" # defaults to litellm. # litellm_cache_enabled: true diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index 36a0848e..8412ea08 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -127,7 +127,7 @@ LiteLLM is always deployed with `auth_type: litellm_vkey`, and optional with `jw ```yaml # litellm_enabled: true # langfuse_enabled: false -# litellm_version: "v1.110.4" +# litellm_version: "v1.106.12" # litellm_namespace: "litellm" # litellm_cache_enabled: true # litellm_cache_ttl: 600 diff --git a/roles/kserve/defaults/main.yaml b/roles/kserve/defaults/main.yaml index ee1dc682..27da8435 100644 --- a/roles/kserve/defaults/main.yaml +++ b/roles/kserve/defaults/main.yaml @@ -85,7 +85,7 @@ kserve_knative_namespace: "knative-serving" # by the envoy_gateway / envoy_ai_gateway roles. # --------------------------------------------------------------------------- kserve_llmisvc_enabled: true -kserve_lws_version: "v0.11.1" +kserve_lws_version: "v0.9.0" kserve_lws_namespace: "lws-system" kserve_lws_helm_repo: "oci://registry.k8s.io/lws/charts/lws" diff --git a/roles/litellm/defaults/main.yaml b/roles/litellm/defaults/main.yaml index c00e65e8..29a9ad84 100644 --- a/roles/litellm/defaults/main.yaml +++ b/roles/litellm/defaults/main.yaml @@ -20,7 +20,7 @@ # for GHSA-7hp6-4w63-5g45; >= v1.85.0 for the 2026 Host-header, MCP OAuth and # /sso/debug advisories. litellm_image_repository: "ghcr.io/berriai/litellm-non_root" -litellm_version: "v1.110.4" +litellm_version: "v1.106.12" litellm_run_as_user: 65534 litellm_namespace: "litellm" litellm_num_workers: 2 From 487981c80409318d67e83c50d41c8e664f5125ff Mon Sep 17 00:00:00 2001 From: "Ahmed, Mushtaq" Date: Mon, 30 Nov 2026 19:40:27 -0700 Subject: [PATCH 5/7] fix(litellm): stay on the 1.105 line with v1.105.7 v1.105.7 is the last 1.105 patch: 0 critical, 22 high (v1.105.1: 5 critical, 40 high). No schema change from v1.105.1, so a running release rolls back cleanly. --- config.yaml | 2 +- docs/configuration/configuration.md | 2 +- roles/litellm/defaults/main.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index adc65800..597063ca 100644 --- a/config.yaml +++ b/config.yaml @@ -34,7 +34,7 @@ envoy_ai_gateway_namespace: "envoy-ai-gateway-system" # --- LiteLLM --- # litellm_enabled: true # add LiteLLM with Keycloak auth (always on with auth_type=litellm_vkey) -# litellm_version: "v1.106.12" +# litellm_version: "v1.105.7" # litellm_namespace: "litellm" # litellm_hostname: "litellm.inteltoolkits.ai" # defaults to litellm. # litellm_cache_enabled: true diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index 8412ea08..3669be27 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -127,7 +127,7 @@ LiteLLM is always deployed with `auth_type: litellm_vkey`, and optional with `jw ```yaml # litellm_enabled: true # langfuse_enabled: false -# litellm_version: "v1.106.12" +# litellm_version: "v1.105.7" # litellm_namespace: "litellm" # litellm_cache_enabled: true # litellm_cache_ttl: 600 diff --git a/roles/litellm/defaults/main.yaml b/roles/litellm/defaults/main.yaml index 29a9ad84..7a30f5a3 100644 --- a/roles/litellm/defaults/main.yaml +++ b/roles/litellm/defaults/main.yaml @@ -20,7 +20,7 @@ # for GHSA-7hp6-4w63-5g45; >= v1.85.0 for the 2026 Host-header, MCP OAuth and # /sso/debug advisories. litellm_image_repository: "ghcr.io/berriai/litellm-non_root" -litellm_version: "v1.106.12" +litellm_version: "v1.105.7" litellm_run_as_user: 65534 litellm_namespace: "litellm" litellm_num_workers: 2 From c920ff722be2833452b4289410f1552e287c3b48 Mon Sep 17 00:00:00 2001 From: "Ahmed, Mushtaq" Date: Mon, 30 Nov 2026 19:47:31 -0700 Subject: [PATCH 6/7] fix(model-manager): keep vLLM runtime version 0.19.1 Kept for compatibility on the 1.2 line; 0.24.0 stays removed. Its vLLM advisories (GHSA-94f4-hr76-p5j6, GHSA-h3rc-6mm3-gc2m) are fixed in 0.31+. Signed-off-by: Ahmed, Mushtaq --- docs/configuration/runtimes.md | 2 ++ model_manager/models.yaml | 4 ++++ model_manager/tests/test_sizing.py | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/docs/configuration/runtimes.md b/docs/configuration/runtimes.md index 6fb71088..f3255f14 100644 --- a/docs/configuration/runtimes.md +++ b/docs/configuration/runtimes.md @@ -102,6 +102,8 @@ runtimes: image: "docker.io/vllm/vllm-openai-cpu:v0.33.0" "0.28.0": image: "docker.io/vllm/vllm-openai-cpu:v0.28.0" + "0.19.1": + image: "docker.io/vllm/vllm-openai-cpu:v0.19.1" # optional env:/args: DELTAS on top of the common env and category args categories: llm: { defaults: { cpu: 8, memory: "16Gi", kv_cache_gb: 8 } } diff --git a/model_manager/models.yaml b/model_manager/models.yaml index 10da3bd5..dc42e6ba 100644 --- a/model_manager/models.yaml +++ b/model_manager/models.yaml @@ -406,6 +406,10 @@ runtimes: versions: "0.33.0": { image: "docker.io/vllm/vllm-openai-cpu:v0.33.0" } # opt-in; not validated with the category args "0.28.0": { image: "docker.io/vllm/vllm-openai-cpu:v0.28.0" } + "0.19.1": # compatibility only: vLLM advisories fixed in 0.31+ + image: "docker.io/vllm/vllm-openai-cpu:v0.19.1" + env: { VLLM_USE_V1: "1" } + args: [ --max-num-seqs, "256" ] categories: llm: args: [ --dtype, bfloat16, --max-num-seqs, "128", --max-num-batched-tokens, "2048", --enable-prefix-caching, --enable-chunked-prefill ] diff --git a/model_manager/tests/test_sizing.py b/model_manager/tests/test_sizing.py index fa8e6386..ed5fb78d 100644 --- a/model_manager/tests/test_sizing.py +++ b/model_manager/tests/test_sizing.py @@ -707,6 +707,10 @@ def test_openshift_additional_args_are_sized(hub, monkeypatch): assert tp == 2 and round(s.weights_gib, 2) == 29.92 # bf16 weights served as float32 +def test_version_0191_takes_the_category_kv(hub): + assert _sized("qwen3-0-6b", "--server", "vllm", "--server-version", "0.19.1")[3]["VLLM_CPU_KVCACHE_SPACE"] == "8" + + @pytest.mark.parametrize("memory, needed, env, aborts", [ ("64Gi", 101, {}, True), # tp 2 with a tp 1 KV: OOM at load ("64Gi", 101, {"MM_PREFLIGHT": "warn"}, False), From 5ddaab8526641e2c3ca1f3649059dcda393cff3b Mon Sep 17 00:00:00 2001 From: "Ahmed, Mushtaq" Date: Mon, 30 Nov 2026 21:29:23 -0700 Subject: [PATCH 7/7] fix(kserve): apply the kube-rbac-proxy image to a running release; docs name the vLLM default - A running KServe 0.21 release on the same chart now gets the new rbacProxyImage: the core block also runs when the release's value differs. - LWS upgrade condition reads its two versions from vars. - runtimes.md lists 0.28.0 (default) first, labels 0.33.0 and 0.19.1 opt-in. - deploy-models.md version examples add --server vllm: the default runtime has no versions. Signed-off-by: Ahmed, Mushtaq --- docs/configuration/runtimes.md | 8 ++++---- docs/getting-started/deploy-models.md | 10 +++++----- roles/kserve/tasks/install.yaml | 14 ++++++++++---- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/docs/configuration/runtimes.md b/docs/configuration/runtimes.md index 66aa5d8d..07bf1a31 100644 --- a/docs/configuration/runtimes.md +++ b/docs/configuration/runtimes.md @@ -96,11 +96,11 @@ runtimes: default_version: "0.28.0" env: { ... } # applied to every vLLM pod versions: - "0.33.0": # its KV check counts page cache as used: large models can fail - image: "docker.io/vllm/vllm-openai-cpu:v0.33.0" - "0.28.0": + "0.28.0": # the default image: "docker.io/vllm/vllm-openai-cpu:v0.28.0" - "0.19.1": + "0.33.0": # opt-in: its KV check counts page cache as used, large models can fail + image: "docker.io/vllm/vllm-openai-cpu:v0.33.0" + "0.19.1": # opt-in, compatibility only: vLLM advisories fixed in 0.31+ image: "docker.io/vllm/vllm-openai-cpu:v0.19.1" # optional env:/args: DELTAS on top of the common env and category args categories: diff --git a/docs/getting-started/deploy-models.md b/docs/getting-started/deploy-models.md index e24e4263..351efc99 100644 --- a/docs/getting-started/deploy-models.md +++ b/docs/getting-started/deploy-models.md @@ -90,12 +90,12 @@ engine. This lets you upgrade deliberately, or A/B two versions side by side. # Use the model's default server and version (from the catalog) ./model-manager deploy qwen3-0-6b --wait -# Choose a specific engine version -./model-manager deploy qwen3-0-6b --server-version 0.33.0 --wait +# Choose an engine and a specific version (vLLM 0.28.0 is its default) +./model-manager deploy qwen3-0-6b --server vllm --server-version 0.28.0 --wait -# Run two versions at the same time, under different names -./model-manager deploy qwen3-0-6b --server-version 0.28.0 --as qwen3-v28 --wait -./model-manager deploy qwen3-0-6b --server-version 0.33.0 --as qwen3-v33 --wait +# Run two versions at the same time, under different names (0.33.0 is opt-in) +./model-manager deploy qwen3-0-6b --server vllm --server-version 0.28.0 --as qwen3-v28 --wait +./model-manager deploy qwen3-0-6b --server vllm --server-version 0.33.0 --as qwen3-v33 --wait ``` The catalog decides which versions a model is *allowed* to use — asking for one that diff --git a/roles/kserve/tasks/install.yaml b/roles/kserve/tasks/install.yaml index 744e04a9..a3fc7343 100644 --- a/roles/kserve/tasks/install.yaml +++ b/roles/kserve/tasks/install.yaml @@ -180,6 +180,10 @@ _kserve_installed_chart: "{{ _kserve_installed }}" _kserve_version: "{{ _kserve_installed_version if _kserve_newer | bool else kserve_version }}" _kserve_target_chart: "kserve-resources-v{{ _kserve_installed_version if _kserve_newer | bool else kserve_version }}" + # An image bump without a chart bump must still reach a running release. + _kserve_values_drift: >- + {{ _kserve_installed | length > 0 and + (_kserve_release.status['values'].kserve.controller.rbacProxyImage | default('')) != kserve_rbac_proxy_image }} vars: _kserve_installed: "{{ _kserve_release.status.chart | default('') }}" _kserve_installed_version: "{{ _kserve_installed | regex_replace('^kserve-resources-v', '') }}" @@ -252,7 +256,8 @@ when: >- _kserve_release.status is not defined or _kserve_release.status is none or - _kserve_installed_chart != _kserve_target_chart + _kserve_installed_chart != _kserve_target_chart or + _kserve_values_drift | bool block: - name: "kserve | Render the KServe CRDs" kubernetes.core.helm_template: @@ -479,9 +484,10 @@ wait: true timeout: "5m0s" # Installs it, or upgrades a release on another chart version. - when: >- - _lws_check.status is not defined or _lws_check.status is none - or (_lws_check.status.chart | default('') | regex_replace('^lws-v?', '')) != (kserve_lws_version | regex_replace('^v', '')) + vars: + _lws_installed: "{{ (_lws_check.status | default({}, true)).chart | default('') | regex_replace('^lws-v?', '') }}" + _lws_target: "{{ kserve_lws_version | regex_replace('^v', '') }}" + when: _lws_installed != _lws_target register: _kserve_helm_lws until: _kserve_helm_lws is succeeded retries: "{{ helm_retries | default(3) }}"