Kueue
Kueue is a set of APIs and controller for job queueing. It is a job-level manager that decides when a job should be admitted to start (as in pods can be created) and when it should stop (as in active pods should be deleted).
The main design principle for Kueue is to avoid duplicating mature functionality in Kubernetes components and well-established third-party controllers. Autoscaling, pod-to-node scheduling and job lifecycle management are the responsibility of cluster-autoscaler, kube-scheduler and kube-controller-manager, respectively. Advanced admission control can be delegated to controllers such as gatekeeper.
Learn more by reading the design docs:
- bit.ly/kueue-apis (please join the mailing list to get access) discusses the API proposal and a high-level description of how it operates.
- bit.ly/kueue-controller-design presents the detailed design of the controller.
Usage
Requires k8s 1.22 or newer
You can run Kueue with the following command:
IMAGE_REGISTRY=registry.example.com/my-user make image-build image-push deploy
The controller will run in the kueue-system
namespace.
Then, you can and apply some of the samples:
kubectl apply -f config/samples/minimal.yaml
kubectl create -f config/samples/sample-job.yaml
Community, discussion, contribution, and support
Learn how to engage with the Kubernetes community on the community page.
You can reach the maintainers of this project at:
Code of conduct
Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.