Skip to content

Garage Kubernetes Operator

This operator runs Garage, a self-hosted, distributed S3-compatible object store, on Kubernetes. It creates and updates the cluster, manages the Garage layout, and provisions buckets and S3 keys from Kubernetes resources. It also sequences risky changes like scale-down, node replacement and upgrades, so they don't lose data.

Install the operator Start with a cluster

Storage that keeps its identity

PVC-backed pods, manual GarageNode resources and node-local HostPath pools each keep their Garage node identity. The operator updates the layout before it moves or removes anything.

Gateways next to your clients

Run gateways alongside storage, at the edge, or as a management handle for an existing Garage deployment.

Buckets and keys as resources

Declare buckets, S3 keys, admin tokens, aliases, quotas, lifecycle rules and websites. COSI is optional.

Checks and visibility

Admission webhooks reject unsafe edits. Status conditions and Prometheus metrics show what the operator is waiting on.

Find the right page

You need to… Start here
Install a released chart Installation
Create your first Garage cluster and bucket Quickstart
Decide between storage, unified, edge, manual, or management-handle shapes Choose a topology
Understand which resource owns a Garage identity Storage identity and layout
Add buckets, keys, aliases, or tokens Buckets and credentials
Operate node-local disks Node-local pools
Remove or replace storage safely Maintenance and recovery
Restore Auto PVCs from a group snapshot GitOps volume restore
Look up a field, annotation, condition, or value Reference

Support boundary

The current release line is v0.9.x. The operator needs Garage v2.0.0 or newer, because it uses Garage's /v2 Admin API. When you don't set an image, you get the digest-pinned Garage v2.6.0 that CI tests. Check the compatibility matrix before choosing a different one.

Kubernetes 1.25 or newer works for ordinary clusters. Node-local pools need 1.27 or newer, a cluster-scoped operator install, admission and conversion webhooks, leader election, and a workload namespace that allows the HostPath volumes they use.

Some CRD fields are accepted but don't do anything

Older CRD versions still accept a few fields that the operator now ignores, rejects or warns about. The custom-resource reference marks which are which. If a page and the generated schema disagree, the schema is right.