Installation#
This guide describes how to install AIBrix manifests in different platforms.
Currently, AIBrix installation does rely on other cloud specific features. It’s fully compatible with vanilla Kubernetes.
Install AIBrix on Cloud Kubernetes Clusters#
Attention
AIBrix requires Envoy Gateway for request routing.
KubeRay is optional and only required if you plan to use Ray as your distributed inference runtime (RayClusterFleet, RayClusterReplicaSet).
AIBrix can run without KubeRay - use StormService for both single-node and multi-node inference workloads. The distributed inference controller will be automatically skipped if KubeRay CRDs are not detected.
Stable Version#
# Install component dependencies kubectl apply -f https://github.com/vllm-project/aibrix/releases/download/v0.8.0/aibrix-dependency-v0.8.0.yaml --server-side # Install AIBrix CRDs (separate from the operator so uninstalls don't wipe user CRs) kubectl apply -f https://github.com/vllm-project/aibrix/releases/download/v0.8.0/aibrix-core-crds-v0.8.0.yaml --server-side # Install aibrix components kubectl apply -f https://github.com/vllm-project/aibrix/releases/download/v0.8.0/aibrix-core-v0.8.0.yaml
Stable Version Using Helm#
Prerequisites#
Envoy Gateway
# Install envoy-gateway, this is not aibrix component. you can also use helm package to install it. helm install eg oci://docker.io/envoyproxy/gateway-helm --version v1.2.8 -n envoy-gateway-system \ --create-namespace \ --set config.envoyGateway.extensionApis.enableEnvoyPatchPolicy=true
Note
If you are experiencing network issues with docker.io, you can install the helm chart from the code repo envoyproxy/gateway instead.
KubeRay operator (Optional)
Note
Skip this step if you don’t need Ray-based distributed inference. AIBrix will work without KubeRay for StormService-based workloads.
# Install KubeRay operator (only if you need RayClusterFleet/RayClusterReplicaSet) helm repo add kuberay https://ray-project.github.io/kuberay-helm/ helm repo update helm install kuberay-operator kuberay/kuberay-operator --namespace aibrix-system \ --create-namespace \ --version 1.2.1 \ --set-string 'env[0].name=ENABLE_PROBES_INJECTION' \ --set-string 'env[0].value=false' \ --set fullnameOverride=kuberay-operator \ --set 'featureGates[0].name=RayClusterStatusConditions' \ --set 'featureGates[0].enabled=true' \ --set image.repository=aibrix/kuberay-operator \ --set image.tag=v1.2.1-patch-20250726
Install AIBrix with Helm#
# Install AIBrix CRDs. `--install-crds` is not available in local chart installation. kubectl apply -f dist/chart/crds/ # Install AIBrix with the pinned release version: helm install aibrix dist/chart -f dist/chart/stable.yaml -n aibrix-system --create-namespace
Upgrade AIBrix with Helm#
helm upgrade aibrix dist/chart -f dist/chart/values.yaml -n aibrix-system
Uninstall AIBrix with Helm#
helm uninstall aibrix -n aibrix-system helm uninstall kuberay-operator -n aibrix-system helm uninstall eg -n envoy-gateway-system
Nightly Version#
# clone the latest repo git clone https://github.com/vllm-project/aibrix.git cd aibrix # Install component dependencies kubectl apply -k config/dependency --server-side # Install AIBrix CRDs (separate from the operator so uninstalls don't wipe user CRs) kubectl apply -k config/crd --server-side kubectl apply -k config/default
Install AIBrix in testing Environments#
Install Individual AIBrix Components#
Each component below installs into the aibrix-system namespace, which its manifests don’t create. Create the namespace first if it doesn’t exist:
kubectl create namespace aibrix-system
Autoscaler#
kubectl apply -k config/standalone/autoscaler-controller/
Distributed Inference (Ray-based)#
Attention
This requires KubeRay operator to be installed first.
kubectl apply -k config/standalone/distributed-inference-controller/
Model Adapter(Lora)#
kubectl apply -k config/standalone/model-adapter-controller
KV Cache#
kubectl apply -k config/standalone/kv-cache-controller
Disabling Controllers#
If you install AIBrix with all controllers enabled by default but don’t have KubeRay installed, the distributed inference controller will be automatically skipped with a log message.
To explicitly disable specific controllers, use the --controllers flag:
# Example: Enable all controllers except distributed-inference-controller --controllers=*,-distributed-inference-controller # Example: Only enable specific controllers --controllers=stormservice-controller,model-adapter-controller,pod-autoscaler-controller
Available controllers:
pod-autoscaler-controller: HPA/KPA-style autoscalingdistributed-inference-controller: Ray-based distributed inference (requires KubeRay)model-adapter-controller: LoRA adapter managementmodel-route-controller: Gateway APIHTTPRoutecreation for each served modelkv-cache-controller: Distributed KV cache server orchestration with consistent hashingmodel-claim-controller: Multiple models sharing GPUs through ModelClaim (experimental)model-warmup-controller: Node preparation ahead of use through ModelWarmup (experimental)stormservice-controller: Multi-node orchestration with P/D and AFD support
Note
The manager serves an admission webhook only when one of the controllers for its API group is enabled. model-adapter-controller, model-claim-controller and model-warmup-controller enable the model group; stormservice-controller, kv-cache-controller and distributed-inference-controller enable the orchestration group; pod-autoscaler-controller enables both the autoscaling and orchestration groups, because it reads and scales StormService; model-route-controller enables both the model and orchestration groups, because it watches ModelAdapter and RayClusterFleet. The Deployment webhook is served regardless of --controllers. The manager skips the other webhooks at startup and logs each one.
If the installed webhook configuration still lists a skipped webhook, its failurePolicy decides what the API server does. Webhooks with failurePolicy: Ignore admit objects without their validation and defaulting. The ModelWarmup webhook uses failurePolicy: Fail, so the API server rejects creating or updating a ModelWarmup while none of the controllers that enable the model group is enabled.
Quickstart: deploy your first model
Production Model Deployments: production model deployment guidance
Deploying Gateway: production gateway configuration
Observability: metrics, dashboards, and telemetry