Utility for provisioning k8s clusters
This project uses uv for dependency management and builds.
Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
This creates a .venv virtual environment and installs all dependencies (including dev tools like ruff).
Run the CLI during development:
uv run cluster --help
Run the linter:
uv run ruff check cluster/
Build a self-contained executable using shiv:
./sh/build-package.sh
This produces build/cluster, a single-file Python zipapp.
Install directly from the GitHub repository using uv:
uv tool install git+https://github.com/stirlingbridge/cluster.git
Alternatively, download the cluster binary from the releases page, make it executable, and place it on your PATH:
chmod +x cluster
sudo mv cluster /usr/local/bin/