sind

module
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: GPL-3.0, LGPL-3.0

README ΒΆ

Create and manage containerized Slurm clusters for development, testing, and CI/CD workflows.

πŸš€ Getting StartedΒ Β Β Β πŸ“– Documentation


Inspired by kind (Kubernetes in Docker), sind offers a familiar CLI experience for quickly spinning up and tearing down Slurm clusters.

Features

  • Multi-node, multi-cluster & multi-realm β€” run controller, database, REST API, submitter, and worker nodes side by side, or spin up multiple clusters across isolated realms with shared networking
  • System containers β€” full systemd-based nodes that emulate bare metal, compatible with Ansible, Chef, and other config management tools; unmanaged clusters leave Slurm itself to them
  • Designed for CI/CD β€” runs on standard GitHub Actions runners with the runner's Docker daemon, no sudo or privileged containers; sind-action sets up clusters in a single step
  • Multiple Slurm versions β€” official node images for the supported Slurm release lines (26.05 and 25.11) on linux/amd64 and linux/arm64, each with a full MPI stack, or bring your own image
  • Job accounting, users and identity β€” a db node runs MariaDB and slurmdbd; users, groups and Slurm accounts with limits, and identity modes from local accounts to nss_slurm and auth/slurm
  • REST API β€” slurmrestd on an api node with JWT authentication (Slurm 26.05)
  • CVMFS β€” mount /cvmfs read-only on every node, from the Docker host or a volume plugin
  • Monitoring β€” an opt-in Prometheus, Loki and Grafana stack per realm collects Slurm's metrics, the nodes' resource use and their journals, with dashboards for clusters, nodes, services, users and logs (Slurm 26.05)
  • Web UI β€” sind ui shows realms, clusters, nodes and runs live in your browser, and its dialogs show the exact sind command before they run it
  • Connect outside containers β€” attach containers such as kind nodes to a realm's mesh and cluster networks
  • Worker lifecycle β€” dynamically add and remove worker nodes from running clusters
  • Power cycle simulation β€” shutdown, reboot, freeze, and power-cycle nodes to simulate real-world failure scenarios
  • Minimal dependencies β€” just Docker and a sind container image; usable as both a CLI tool and a Go library
  • AI-ready via MCP β€” built-in MCP server lets AI assistants manage your Slurm clusters

Quick start

With Docker 28 or later on a Linux host with cgroup v2:

curl -fLo sind https://github.com/GSI-HPC/sind/releases/latest/download/sind-linux-amd64
sudo install sind /usr/local/bin/sind
mkdir sind-demo && cd sind-demo
sind create cluster && sind exec -- sinfo

Every node mounts the working directory as /data, so start in a scratch directory like this one.

See the installation guide to verify the download or install on ARM64, and sind doctor to check the host.

AI disclosure

This project is developed with the help of AI coding tools. Since September 2026, changes written by Anthropic's Claude Code agent are committed as Claude <noreply@anthropic.com> and/or carry a Co-Authored-By: Claude … trailer; earlier AI-assisted commits are not individually marked.

License

sind is licensed under the GNU Lesser General Public License v3.0.

Copyright Β© GSI Helmholtzzentrum fΓΌr Schwerionenforschung GmbH

Directories ΒΆ

Path Synopsis
cmd
sind command
Package main implements the sind CLI.
Package main implements the sind CLI.
internal
help
Package help holds the help texts of sind: what its words mean, what each action of sind ui does, what each page shows and how to do common things.
Package help holds the help texts of sind: what its words mean, what each action of sind ui does, what each page shows and how to do common things.
hostname
Package hostname decides whether a name may be used as one label of a host name.
Package hostname decides whether a name may be used as one label of a host name.
mcpconfig
Package mcpconfig edits the MCP server list in an editor's configuration file (Claude Desktop, VS Code, Cursor) in place.
Package mcpconfig edits the MCP server list in an editor's configuration file (Claude Desktop, VS Code, Cursor) in place.
mock
Package mock provides test doubles for the cmdexec.Executor interface.
Package mock provides test doubles for the cmdexec.Executor interface.
natsort
Package natsort orders names naturally, with runs of digits compared by their value: "worker-2" before "worker-10", "dev2" before "dev10".
Package natsort orders names naturally, with runs of digits compared by their value: "worker-2" before "worker-10", "dev2" before "dev10".
testutil
Package testutil provides shared test helpers used across sind packages.
Package testutil provides shared test helpers used across sind packages.
ui
Package ui implements sind ui, a local web UI for sind.
Package ui implements sind ui, a local web UI for sind.
ui/action
Package action turns the forms of sind ui's dialogs into the sind commands they run.
Package action turns the forms of sind ui's dialogs into the sind commands they run.
ui/activity
Package activity follows sind's event log, the go-clikit event log (v1) that every sind command appends to and that sind ui reads its progress display from, and reduces its lines to store.Run values: each run is one command with the tree of its spans.
Package activity follows sind's event log, the go-clikit event log (v1) that every sind command appends to and that sind ui reads its progress display from, and reduces its lines to store.Run values: each run is one command with the tree of its spans.
ui/collect
Package collect fills the store of sind ui with what Docker and the host know: the realms, clusters, nodes, networks and volumes, the mesh, the status of the clusters, the realm locks, the monitoring stacks and the host checks.
Package collect fills the store of sind ui with what Docker and the host know: the realms, clusters, nodes, networks and volumes, the mesh, the status of the clusters, the realm locks, the monitoring stacks and the host checks.
ui/demo
Package demo is the made-up Docker host that sind ui --demo shows: two realms with clusters of different shapes and states, a mesh, a monitoring stack, the host checks with one warning, and a few runs of the activity log.
Package demo is the made-up Docker host that sind ui --demo shows: two realms with clusters of different shapes and states, a mesh, a monitoring stack, the host checks with one warning, and a few runs of the activity log.
ui/run
Package run starts the sind commands that the dialogs of sind ui make, and keeps their tasks in the store while they run.
Package run starts the sind commands that the dialogs of sind ui make, and keeps their tasks in the store while they run.
ui/store
Package store holds what sind ui shows, in memory: the collectors write it, the pages and the live updates read it.
Package store holds what sind ui shows, in memory: the collectors write it, the pages and the live updates read it.
pkg
cluster
Package cluster provides types and operations for sind cluster management.
Package cluster provides types and operations for sind cluster management.
cmdexec
Package cmdexec provides a testable abstraction for running external commands.
Package cmdexec provides a testable abstraction for running external commands.
config
Package config handles parsing and validation of sind cluster configuration.
Package config handles parsing and validation of sind cluster configuration.
docker
Package docker provides a thin abstraction over the Docker CLI.
Package docker provides a thin abstraction over the Docker CLI.
doctor
Package doctor provides host prerequisite checks for sind.
Package doctor provides host prerequisite checks for sind.
log
Package log provides context-based structured logging.
Package log provides context-based structured logging.
mesh
Package mesh manages the global infrastructure shared across all sind clusters.
Package mesh manages the global infrastructure shared across all sind clusters.
monitor
Package monitor provides event-driven monitoring of Docker containers and systemd services inside them.
Package monitor provides event-driven monitoring of Docker containers and systemd services inside them.
observability
Package observability manages a realm's monitoring stack: Grafana Alloy, which collects the Slurm metrics, the container resource use and the journals of the monitored clusters' nodes, Prometheus and Loki, which store them, and Grafana, which shows them.
Package observability manages a realm's monitoring stack: Grafana Alloy, which collects the Slurm metrics, the container resource use and the journals of the monitored clusters' nodes, Prometheus and Loki, which store them, and Grafana, which shows them.
probe
Package probe implements readiness probes for cluster services.
Package probe implements readiness probes for cluster services.
slurm
Package slurm handles Slurm version discovery and configuration generation.
Package slurm handles Slurm version discovery and configuration generation.
ssh
Package ssh handles SSH key injection and host key collection for node containers, and the export of the SSH client configuration.
Package ssh handles SSH key injection and host key collection for node containers, and the export of the SSH client configuration.
state
Package state locates sind's per-user state on the host and holds the realm lock, which serializes the operations that change a realm.
Package state locates sind's per-user state on the host and holds the realm lock, which serializes the operations that change a realm.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL