KAI Scheduler Integration Guide
KAI Scheduler is an open source Kubernetes scheduler for AI workloads. NVCF uses it for GPU bin-packing, queues, gang scheduling, and topology-aware placement.
Install KAI Scheduler
Use a tested KAI Scheduler release that is compatible with the NVCF compute plane stack.
Set addons.kaiScheduler.enabled in the nvcf-compute-plane Helmfile
environment to install KAI Scheduler as release and namespace kai-scheduler.
Grove, Dynamo, and topology-aware scheduling require this add-on. Skip the
manual installation below when the add-on is enabled.
Use the manual path when KAI is managed outside the compute plane stack.
NVCA expects a parent queue named default-parent-queue and a child queue
named default-queue. Other queues may also exist.
Set unlimited (-1) quotas and limits on every queue used for NVCF workloads.
This lets NVCA track the complete cluster capacity. If NVCF and non-NVCF
workloads share a cluster with limited KAI queues, enable
Shared Cluster mode so NVCA excludes
non-NVCF nodes from capacity tracking and scheduling.
Create values.yaml with the required default queues:
kai-scheduler-queues.yaml
Schedule multi-Pod workloads
KAI can hold a multi-Pod workload until all required members fit. Grove and Dynamo build on this behavior for multi-role inference services. See Gang Scheduling for add-on configuration, workload examples, supported resource types, and troubleshooting.
On NVLink-optimized clusters, KAI can also place the complete gang in one GPU clique. See Topology-Aware Scheduling for GPU DRA prerequisites, topology configuration, Grove bindings, and function examples.