Module: MINIO
MINIO is Pigsty’s compatibility module name for S3-compatible object storage. The current role deploys Silo, and minio_type accepts only silo.
Silo preserves the MinIO S3/Admin APIs, MINIO_* environment variables, disk format, and mcli client interface, and can serve as a PostgreSQL pgBackRest backup repository. The module name, parameter prefix, and monitoring job retain the MINIO / minio_* namespace for compatibility with existing inventories and operational entry points.
minio and rustfs are no longer valid minio_type values and fail during identity validation. Before upgrading a MinIO cluster managed by an older release, complete a backup, validate MinIO-to-Silo compatibility, and rehearse rollback. Do not treat package replacement as an already-accepted data migration. External MinIO, RustFS, or other S3 services can still serve as pgBackRest repositories, but the current MINIO role does not manage them.
MINIO is an optional module. When using it as a pgBackRest S3 repository, deploy it before the PGSQL module. TLS certificates and the host baseline come from the NODE / CA capabilities.
Quick Start
The following inventory explicitly defines a single-node Silo cluster. Both minio_cluster and minio_seq are required identity parameters; production inventories should explicitly set minio_type: silo.
The inventory group name may differ from minio_cluster. Roles calculate actual membership from each host’s minio_cluster identity. Do not define minio_cluster in all.vars, or every host will be treated as an object-storage member.
After deployment, use these entry points:
- S3 API:
https://sss.pigsty:9000(configure DNS or/etc/hostsexplicitly for the domain) - Administration UI:
https://<node-ip>:9001 - Command line:
mcli ls sss/(a preconfigured alias is written on the admin node and cluster members)
The default administrator credentials are minioadmin / S3User.MinIO. They are for demos only and must be changed before production deployment.
Deployment Modes
Silo uses the following Pigsty inventory deployment modes:
| Mode | Description | Use Cases |
|---|---|---|
| Single-Node Single-Disk (SNSD) | Single node, one data directory | Development, testing, demos |
| Single-Node Multi-Disk (SNMD) | Single node, multiple disks | Resource-constrained small deployments |
| Multi-Node Single-Disk (MNSD) | Multiple nodes, one data drive per node | Compact HA deployments |
| Multi-Node Multi-Disk (MNMD) | Multiple nodes with multiple disks per node | Recommended for production |
minio_data is always a directory path. Distributed and multi-drive deployments require these paths to reside on non-root, persistent filesystems. For example, /data/minio may be a subdirectory of a separately mounted /data filesystem, but not merely a directory on the root filesystem.
The multi-pool expansion semantics of minio_volumes come from the MinIO-compatible interface retained by Silo. Validate operations and rollback against the actual Silo version before production scaling.
Core Capabilities
- Compatible interface: Silo retains
minio_*parameters, the S3 port, TLS, and themcliprovisioning flow - HA topologies: Supports single-node, multi-node single-drive, and multi-node multi-drive deployments, with multiple independent clusters in one inventory
- Backup repository: Can serve as a remote pgBackRest S3 repository
- Security baseline: Enables HTTPS by default and uses the Pigsty CA to issue a certificate for every instance
- Observability: Scrapes Silo metrics through
/minio/metrics/v3and provides Grafana dashboards and alerts - Operational compatibility: Module name, target directories, monitoring labels, and client aliases retain the MINIO namespace
Quickly use Silo deployed by the MINIO module through mcli, rclone, and pgBackRest.
Deploy Silo with the MINIO module and configure reliable S3 access in single-node, multi-drive, or multi-node modes.
The MINIO module exposes 22 parameters for deploying, configuring, and removing Silo object-storage clusters.
Deploy or remove Silo object-storage clusters with the built-in Ansible playbooks.
Create, remove, upgrade, expand, shrink, and recover Silo object-storage clusters.
How Pigsty monitors Silo, including its Metrics V3 endpoint, Grafana dashboards, and alert rules.
The Metrics V3 interface, key metrics, and stable labels used by the Pigsty MINIO module to monitor Silo.
Frequently asked questions about the Pigsty MINIO object storage module