Garage-HQ cluster with Systemd, Ansible
Find a file
2025-12-07 16:41:35 +01:00
.gitignore first working version 2025-12-07 16:41:35 +01:00
ansible.cfg initial commit 2025-12-06 21:56:35 +01:00
garage.toml.j2 first working version 2025-12-07 16:41:35 +01:00
garage.yaml first working version 2025-12-07 16:41:35 +01:00
inventory.yaml first working version 2025-12-07 16:41:35 +01:00
README.md first working version 2025-12-07 16:41:35 +01:00
requirements.txt first working version 2025-12-07 16:41:35 +01:00
vars.yaml first working version 2025-12-07 16:41:35 +01:00

Garage cluster

Garage is an S3-compatible, distributed object store. It does not support IAM, versioning or other experimental things but can provide a simple, trustable S3 storage across the nodes to backup Kubernetes resources or other kind of files.

It is an Ansible playbook that makes easier deployment of a multi-node Garage cluster.

Usage

See vars.yaml and inventory. Modify garage.toml.j2 as you wish as variables not exposed from there.

Suggested to use a Python virtual-env (venv) and run the playbook

python3 -m venv .venv
. .venv/bin/activate
ansible-playbook garage.yaml -K --extra-vars "@vars.yaml"

features

  • Download Garage binary, specify version or latest.
  • Run it in server mode from a Systemd unit as a Systemd service.
  • Generate tokens and place them on the file system to make the config file easily modifyable.
  • Sync tokens across nodes
  • Connect nodes
  • Create layout (apply it manualy!!!)