Skip to content
AI.info

The Pulse

CoreWeave Details SUNK and SkyPilot Workflow Across Cloud Clusters

CoreWeave has described how its Slurm-on-Kubernetes system can run across its own infrastructure and a Google Kubernetes Engine cluster. A November guide uses SkyPilot to submit the same training task to either cluster.

CoreWeave Details SUNK and SkyPilot Workflow Across Cloud Clusters

Researchers can submit the same training task to Slurm clusters on CoreWeave and Google Kubernetes Engine using SUNK Anywhere and SkyPilot. In a November 24 guide, CoreWeave described a setup that lets SkyPilot select a suitable cluster or lets a user specify one.

SUNK Anywhere is available for teams running Kubernetes outside CoreWeave, subject to an eligibility check. It extends SUNK, the company's Slurm-on-Kubernetes system, to clusters on other infrastructure.

Slurm and Kubernetes share compute

CoreWeave introduced SUNK in an October 2023 post as a way to run Slurm jobs inside Kubernetes. Slurm, developed by SchedMD, schedules high-performance computing batch jobs, while Kubernetes runs applications including inference services.

The system uses a custom scheduler to shift a shared pool of compute between Slurm jobs and Kubernetes workloads. The original post described separate Slurm and Kubernetes clusters as having separate compute pools, with communication between them requiring manual work.

SUNK deploys Slurm components as Kubernetes resources using a Helm chart. Its listed capabilities include dynamic node scaling, shared filesystems through PersistentVolumeClaim resources, and support for Pyxis container execution.

Keeping cluster states aligned

CoreWeave built three components for the integration: the Nodeset, Syncer and Scheduler. The Nodeset defines a Slurm node in Kubernetes and maintains status fields that support updates and scaling based on the state of both systems.

The Syncer uses a Slurm client and a pod controller to move state information in both directions. The client communicates with the Slurm REST API, while the controller reconciles pod state and passes relevant Kubernetes changes back to Slurm.

For example, when a Slurm node enters a drain state, the Syncer can annotate its pod so that the Kubernetes side can act on that state. When a Kubernetes node is cordoned because of a hardware issue, the corresponding Slurm node is put into drain.

When a Kubernetes pod is scheduled through the custom scheduler, a Slurm job is created that can pre-empt lower-priority tasks. Once Slurm allocates nodes to that job, the scheduler places the pod on an allocated node.

Running across clusters

The November guide describes deploying SUNK Anywhere on Google Kubernetes Engine, or GKE, alongside a SUNK cluster on CoreWeave. SkyPilot connects to each cluster through its Slurm login node, selects a cluster that meets the task's resource requirements and submits the job through Slurm.

The guide uses H100 GPUs on GKE and H200 GPUs on CoreWeave. The task requests eight H100s or eight H200s, and SkyPilot can try another suitable Slurm cluster if capacity is unavailable.

The example was tested with SkyPilot v0.14, SUNK Anywhere running SUNK 8.0.0 on GKE, and SUNK 7.2.0 on CoreWeave. The guide says users can also choose a particular cluster for the task rather than leave the selection to SkyPilot.

CoreWeave on AI.info

  • Company: CoreWeave — Publicly traded GPU cloud provider offering large-scale NVIDIA-based compute infrastructure purpose-built for AI training and inference.

Sources

  1. Original source · Blog post CoreWeave “SUNK Anywhere: Slurm on GKE with SkyPilot” coreweave.com

Other pages read

  1. CoreWeave “A Slurm on Kubernetes Implementation for HPC and Large Scale AI” coreweave.com

Companies in this story

Related stories

Explore

More articles