Building from Source
March 9, 2026 ยท View on GitHub
To build and deploy KAI Scheduler from source, follow these steps:
-
Clone the repository:
git clone git@github.com:kai-scheduler/KAI-scheduler.git cd KAI-scheduler -
Build the container images, these images will be built locally (not pushed to a remote registry)
make buildIf you want to push the images to a private docker registry, you can set in DOCKER_REPO_BASE var:
DOCKER_REPO_BASE=<REGISTRY-URL> make build -
Package the Helm chart:
helm package ./deployments/kai-scheduler -d ./charts -
Make sure the images are accessible from cluster nodes, either by pushing the images to a private registry or loading them to nodes cache. For example, you can load the images to kind cluster with this command:
for img in $(docker images --format '{{.Repository}}:{{.Tag}}' | grep kai-scheduler); do kind load docker-image $img --name <KIND-CLUSTER-NAME>; done -
Install on your cluster:
helm upgrade -i kai-scheduler -n kai-scheduler --create-namespace ./charts/kai-scheduler-0.0.0.tgz