DEV Community

Alex Spinov
Alex Spinov

Posted on

Minio Has a Free Kubernetes-Native Object Storage — Run S3 in Your Cluster

MinIO Runs S3-Compatible Storage Inside Your Kubernetes Cluster

Your app needs object storage. AWS S3 means vendor lock-in and egress fees. MinIO gives you the same S3 API on your own infrastructure — free forever.

Why MinIO in Kubernetes

MinIO is the most popular S3-compatible object storage for self-hosting:

  • S3 API compatible — every S3 SDK works unchanged
  • Kubernetes-native — operator with auto-healing and expansion
  • Erasure coding — data protection without RAID
  • Encryption — server-side and client-side encryption
  • Versioning — object version history like S3
  • Bucket notifications — webhooks on object events

Kubernetes Deployment

# Install MinIO Operator
kubectl krew install minio
kubectl minio init

# Create a tenant
kubectl minio tenant create my-storage \
  --servers 4 \
  --volumes 16 \
  --capacity 1Ti \
  --namespace minio
Enter fullscreen mode Exit fullscreen mode

Using With Any S3 SDK

import boto3

s3 = boto3.client("s3",
    endpoint_url="http://minio.minio.svc:9000",
    aws_access_key_id="minioadmin",
    aws_secret_access_key="minioadmin",
)

# Upload
s3.upload_file("data.csv", "my-bucket", "data.csv")

# Download
s3.download_file("my-bucket", "data.csv", "local.csv")

# List objects
for obj in s3.list_objects_v2(Bucket="my-bucket")["Contents"]:
    print(obj["Key"], obj["Size"])
Enter fullscreen mode Exit fullscreen mode

MinIO vs Cloud Storage

Feature MinIO AWS S3 Cloudflare R2
Cost Free (self-host) Pay per GB + egress Pay per GB
Egress Free $0.09/GB Free
S3 Compatible ✅ (native)
Self-hosted
K8s native ✅ Operator
Encryption

Performance

MinIO delivers 325 GiB/s on reads and 165 GiB/s on writes on standard hardware. It is the fastest object storage in benchmarks.

Use Cases

  • AI/ML data lakes — store training data locally
  • Backup storage — Velero + MinIO for K8s backups
  • Application storage — images, documents, user uploads
  • Data pipelines — staging area for ETL jobs

Building on Kubernetes? I help teams set up MinIO for production workloads with proper HA, encryption, and monitoring.

📧 spinov001@gmail.com — Kubernetes storage consulting

Follow for more DevOps tool reviews.

Top comments (0)