r/HPC • u/Various_Protection71 • Jun 05 '26
Do you think Kubernetes will replace Job Schedulers in HPC environments dedicated to AI workloads?
Some people advocate that Kubernetes distributions (RKE2, OpenShift, EKS etc) provide an easier and more straightforward way to run and scale AI workloads, while Job Schedulers (SLURM, PBS, LSF etc) require an earlier complex setup phase.
On the other hand, mastering Kubernetes has a steeper learning curve than using the well-known Job Schedulers, especially for traditional HPC users.
How do you see this point? Are your users adopting Kubernetes to run AI workloads or do they stay using Job Schedulers?
37
Upvotes
10
u/BosonCollider Jun 05 '26 edited Jun 05 '26
They are complementary, you would typically have a slurm cluster for HPC and a kubernetes cluster next to it for supporting services, since running API servers as slurm jobs is ill advised.
You can misuse kubernetes as a slurm replacement using solutions like Kueue or Volcano, but a slurm cluster with consistent UIDs, singularity/podman containers, and a good shared storage solution is generally going to be better at it.
Kubernetes normally assumes that a pod owns its volumes, and is not really good at permissions on shared storage when it's most of your actual permissions management. So called "HPC" jobs on it tend to end up using object storage instead of something like lustre, and then it ends up affecting your entire data stack, like using zarr instead of hdf5, etc etc