Skip to main content

software catalog

Docs pulled from project reposUpdated Nov 20, 2026View on GitHub

Configuration

What is this?

config.yaml at this repo's root holds the settings for Intel® Inference Toolkit — which AI gateway to use, which KServe and LiteLLM versions to install, hostnames, and the cluster's CPU-pinning policy.

init inference copies it to env/<name>/config.inference.yaml, and Toolkit Manager loads that copy as Ansible extra vars:

text
-e @env/<name>/config.inference.yaml

How it fits together

Three levels, each overriding the one before it:

text
roles/<name>/defaults/main.yaml     role defaults — the baseline
        ↓
env/<name>/config.inference.yaml    toolkit settings (auth_type, litellm_*, …)
        ↓
env/<name>/global_config.yaml       Toolkit Manager settings (base_domain_name, …)
        ↓
-e on the command line              one-off override

Do I need to change anything?

No. The defaults deploy a working inference stack. Reach for this file when:

If you want to…Change
Use agentgateway instead of Envoy AI Gatewayai_gateway_provider: "agentgateway"
Authenticate API clients with LiteLLM virtual keysauth_type: "litellm_vkey"
Add LiteLLM alongside Keycloak JWT authlitellm_enabled: true
Turn the content-safety guardrail off (on with litellm_vkey)guardrails_enabled: false
Route by prompt complexity inside LiteLLMhybrid_router_enabled: true
Route with the vLLM Semantic Routervllm_sr_enabled: true
Apply changed LiteLLM settings to an installed releaselitellm_reconcile: true
Auto-deploy catalog models during installllm_services_deploy_models: true
Make an auto-deploy failure abort the installmodel_deploy_strict: true
Pin a component versionkserve_version, litellm_version, envoy_ai_gateway_version
Change a service hostnameinference_hostname, litellm_hostname, langfuse_hostname
Change CPU pinning behaviourkubernetes_cpu_policy
Serve models from a different namespacellm_services_namespace

AI gateway

Which in-cluster AI gateway sits behind the edge gateway and dispatches to the KServe model backends. Both speak the OpenAI protocol on the same unified URL and route to InferencePool/Service backends — only the data plane and CRDs differ.

yaml
ai_gateway_provider: "envoy"          # envoy | agentgateway
ValueWhat it deploys
envoy (default)Envoy AI Gateway — AIGatewayRoute CRDs, EPP endpoint picker
agentgatewayagentgateway — native Gateway API HTTPRoute → InferencePool, plus MCP / A2A support for Intel® Agent Toolkit
yaml
# Envoy AI Gateway (when ai_gateway_provider=envoy). Unset, it follows the
# platform Envoy Gateway: 1.9 → 1.2.0, 1.8 → 1.1.0, 1.7 → 0.6.0.
# envoy_ai_gateway_version: "1.2.1"
envoy_ai_gateway_namespace: "envoy-ai-gateway-system"

# agentgateway (when ai_gateway_provider=agentgateway)
# agentgateway_version: "1.3.1"
# agentgateway_namespace: "agentgateway-system"

Hostnames

Every hostname defaults to a prefix on Toolkit Manager's base_domain_name.

SettingDefaultServes
inference_hostnameinference.<base_domain_name>Model API with auth_type: jwt
inference_prefixinferencePrefix used when inference_hostname is unset
litellm_hostnamelitellm.<base_domain_name>LiteLLM API (the model API with auth_type: litellm_vkey)
langfuse_hostnamelangfuse.<base_domain_name>Langfuse UI
vllm_sr_dashboard_hostnamevllm-sr.<base_domain_name>vLLM Semantic Router dashboard (when enabled)

Keycloak

The realm and client belong to this toolkit. Toolkit Manager deploys Keycloak.

yaml
keycloak_realm: "inference"
keycloak_client_id: "inference-client"
# keycloak_token_lifespan: 900   # JWT access token lifespan in seconds (default: 15 min)

keycloak_config runs in both auth modes: people always sign in through Keycloak. auth_type only selects the credential API clients send:

yaml
# auth_type: "jwt"   # jwt (default): Keycloak JWT on inference.<domain>
#                    # litellm_vkey: LiteLLM virtual key on litellm.<domain>

KServe

yaml
# kserve_version: "0.15.1"
# kserve_deploy_mode: "Standard"     # Standard | Knative
# kserve_namespace: "kserve"

KServe runs in Standard mode — direct pod-based serving. It requires cert-manager and Envoy Gateway, both installed by Toolkit Manager. Standard is the validated and supported mode.

LiteLLM and Langfuse

LiteLLM is always deployed with auth_type: litellm_vkey, and optional with jwt (litellm_enabled: true). Langfuse is deployed whenever LiteLLM is, unless langfuse_enabled: false.

yaml
# litellm_enabled: true
# langfuse_enabled: false
# litellm_version: "v1.105.1"
# litellm_namespace: "litellm"
# litellm_cache_enabled: true
# litellm_cache_ttl: 600

# langfuse_namespace: "langfuse"
# langfuse_admin_email: "admin@<base_domain_name>"
# langfuse_admin_password: set via the LANGFUSE_ADMIN_PASSWORD env var

The LiteLLM master key is generated at install and stored in the litellm-master-key secret in the litellm namespace. Langfuse's admin password comes from the LANGFUSE_ADMIN_PASSWORD environment variable, not from this file.

An installed LiteLLM release is left as it is on later installs, except that one whose config lacks the guardrail's guard host allowlist is upgraded. litellm_reconcile: true upgrades it with the current settings — needed after changing the hybrid router or the sizing on a running stack.

yaml
# litellm_reconcile: true       # upgrade an existing release with the current settings
# guardrails_enabled: false     # content-safety guardrail; default: on with auth_type=litellm_vkey
# guardrail_model: "qwen3guard" # guard model from the catalog

The guardrail screens every LiteLLM request with a guard model that llm_services deploys alongside the other models → Guardrails.

Optional routing

Both are off by default and leave direct model calls unchanged.

yaml
# Hybrid router: one virtual model in LiteLLM picks a model per prompt complexity tier.
# hybrid_router_enabled: true
# hybrid_router_tier_candidates:
#   SIMPLE:  [qwen3-4b]
#   COMPLEX: [qwen3-coder-30b]

# vLLM Semantic Router (ai_gateway_provider: envoy only)
# vllm_sr_enabled: true
# vllm_sr_route_models: [qwen3-4b, qwen3-coder-30b]
# vllm_sr_litellm_model_name: "semantic-router"   # with auth_type=litellm_vkey
# vllm_sr_dashboard_enabled: true                 # vllm-sr.<base_domain_name>

Details → Hybrid Router, vLLM Semantic Router.

CPU policy

A single switch controlling all CPU-pinning infrastructure. Dependent settings — NRI install, kubelet flags, model annotations — are derived from it.

yaml
kubernetes_cpu_policy: "nri-balloons"   # nri-balloons | kubelet-static | best-effort
ValueBehaviour
nri-balloons (default)NRI balloons resource policy — NUMA-aware pinning
kubelet-statickubelet static CPU manager — Guaranteed QoS pinning
best-effortNo pinning, standard scheduler

Tuning, per policy:

yaml
# nri-balloons only
# nri_reserved_cpu_list: ""            # Linux cpuset for system CPUs (auto-sized if empty)
# nri_deployment_profile: "standard"   # minimal(8) | standard(12) | observability(16) | full(20)

# kubelet-static only
# mm_kubelet_threads_per_core: 1       # set to 1 on an SMT-disabled cluster

Under kubelet-static, model pods are rendered as Guaranteed QoS (integer cpu, requests == limits) so kubelet's static CPU manager grants them exclusive whole cores. With full-pcpus-only enabled (the Toolkit Manager default) a pod's cpu request must be a multiple of the SMT width or kubelet rejects it with SMTAlignmentError; model-manager rounds cpu up to satisfy this.

Full detail → CPU Pinning & NUMA.

LLM services and model deployment

yaml
# llm_services_namespace: "llm-inference"
# llm_services_deploy_runtimes: true   # deploy namespace-scoped ServingRuntimes

llm_services_deploy_models: false      # run the model auto-deploy phase
# llm_services_autodeploy_models: []   # catalog models deployed whatever the line above says
# model_deploy_strict: false           # true = an auto-deploy failure aborts the install
# model_deploy_flags: ""               # extra flags for every auto-deploy invocation

llm_services_autodeploy_models is for another toolkit that needs a model to be up — Intel® Agent Toolkit sets its default model here. Those models, and the guardrail's guard model when the guardrail is on (deployed first), deploy even with llm_services_deploy_models: false. A name env/<env>/models.yaml lacks is taken from the shipped model_manager/models.yaml; a name neither has is reported — fatal for the guard model, or with model_deploy_strict: true.

llm_services_deploy_runtimes deploys files/runtimes/*.yaml as namespace-scoped ServingRuntimes. These are needed for InferenceService CRs only; LLMInferenceService CRs (vLLM, OpenVINO) ignore them.

model_deploy_flags is appended to each model-manager deploy <name> --wait invocation during auto-deploy — e.g. "--wait-timeout 1800" to allow longer for large models, or "--dry-run" to render manifests without applying.

Node Feature Discovery

yaml
# nfd_enabled: true
# nfd_namespace: "node-feature-discovery"
# nfd_version: "0.17.1"

NFD is installed by the core repo's platform layer (node_feature_discovery), not by this repo; these settings are read there. On OpenShift it checks the NFD Operator instead. NFD runs as a DaemonSet and labels every node with its hardware capabilities:

text
feature.node.kubernetes.io/cpu-security.amx.enabled=true
feature.node.kubernetes.io/cpu-cpuid.AVX512F=true
feature.node.kubernetes.io/memory-numa.node_count=2

model-manager consumes these in nodeAffinity rules — notably the catalog's require_amx: true default, which keeps model pods off nodes without Intel® AMX. Disabling NFD means those affinity rules cannot be satisfied.

Environment variables

model-manager reads these at runtime. The commonly useful ones:

VariablePurpose
HF_TOKENHugging Face token for gated models
MM_CONFIGPath to the model catalog (models.yaml)
MM_CHAT_TEMPLATESDirectory a model's relative chat_template_file is read from (default model_manager/chat-templates)
MM_GLOBAL_CONFIGPath to Toolkit Manager's global_config.yaml
MM_INFERENCE_HOSTNAMEOverride the resolved endpoint hostname in either auth mode
MM_INFERENCE_GATEWAY / MM_INFERENCE_GATEWAY_NSGateway a model's routes attach to (default ai-gateway in llm-inference)
MM_INFERENCE_GATEWAY_SVC_NSNamespace of that gateway's Service, which LiteLLM calls (default: MM_INFERENCE_GATEWAY_NS, else envoy-gateway-system)
MM_CPU_POLICYOverride kubernetes_cpu_policy for one invocation
MM_NRI_ENABLEDSet false to skip NRI CPU-pinning annotations
MM_PREFLIGHTwarn — report a placement shortfall (CPU or GPU pre-flight) but proceed
MM_SKIP_PREFLIGHT1 — skip the placement pre-flight entirely
MM_NRI_PREFLIGHTwarn — report a capacity shortfall but proceed
MM_NRI_SKIP_PREFLIGHT1 — skip the capacity check entirely
MM_FORCE_REDEPLOY1 — re-apply a model even if its rendered spec is unchanged
MM_HTTP_PROXY / MM_HTTPS_PROXY / MM_NO_PROXYProxy for reaching Hugging Face (Hub checks, the download job, OVMS pods). models.yaml network: takes precedence; HTTP_PROXY / http_proxy etc. are the fallback
SKIP_MODEL_DEPLOYMENTtrue — skip the auto-deploy phase for one install run

Run ./model-manager --help for the full surface.