Make sure the following conditions are met:
- A Kubernetes cluster with version 1.21 or newer is running. Learn how to install the Kubernetes tools.
- The SuspendJob feature gate is enabled. In Kubernetes 1.22 or newer, the feature gate is enabled by default.
- The kubectl command-line tool has communication with your cluster.
To install a released version of Kueue in your cluster, run the following command:
VERSION=v0.1.0
kubectl apply -f https://github.com/kubernetes-sigs/kueue/releases/download/$VERSION/manifests.yaml
To install the latest development version of Kueue in your cluster, run the following command:
kubectl apply -k github.com/kubernetes-sigs/kueue/config/default?ref=main
The controller runs in the kueue-system
namespace.
To uninstall Kueue, run the following command:
kubectl delete -k github.com/kubernetes-sigs/kueue/config/default
To build Kueue from source and install Kueue in your cluster, run the following commands:
git clone https://github.com/kubernetes-sigs/kueue.git
cd kueue
IMAGE_REGISTRY=registry.example.com/my-user make image-build image-push deploy
To uninstall Kueue, run the following command:
$ make undeploy