Kluge is a Kubernetes-native batch processing system designed to be familiar for Slurm users while being accessible to newcomers. It converts simple, clean sbatch-style batch files into Kubernetes workloads seamlessly, using Volcano for scheduling. With a desktop-centric workflow, Kluge provides native status windows and delivers output directly to users' local machines, making job management seamless and intuitive.
Kluge provides a built-in CLI reference to help you get started quickly. You can view available commands by running:
kluge batch --help
Here’s an example of the CLI help output:
Kluge batch jobs are defined in a simple syntax. Below is an example batch file named job.kb
:
JOB my_first_job
CPUS 2
MEM 4Gi
NODES 1
IMAGE python:3.9-slim
RUN {
pip3 install --user pillow opencv-python-headless numpy
python3 script.py
echo "Job completed on $(hostname)"
}
This file defines:
- A job named
my_first_job
- Requesting 2 CPUs and 4Gi of memory
- Running on 1 node
- Using a Python 3.9 slim container
- Running commands inside the container
Once the batch file is ready, submit it using:
kluge batch job.kb
This will create a Kubernetes job via Volcano. You can check the status using:
kluge batch --watch my_first_job
If enabled, Kluge can show a more detailed job monitoring popup:

This view provides real-time CPU, memory usage, and node allocation.

Once the job completes, output files will be placed in the user’s desktop or other directory on their workstation. No shared ephemeral storage is needed in Kluge!
In the following screenshot, we create a job that ran a simple image manipulation script. The output for each host appears on the desktop.

- Check CLI reference for syntax.
- Create a batch file with job specs.
- Submit the job via
kluge batch
. - Monitor execution via CLI or optional popup.
- Retrieve output when the job completes.
Kluge simplifies batch processing on Kubernetes while keeping things intuitive and familiar!
This project is in early stages, but expect exciting to come. It even runs on a Pi cluster!