Skip to content

Rack awareness, replication across availability zones #5738

@solsson

Description

@solsson

Can minio instances be started with an arg/env that identifies the availability zone, so that replication spans as many zones as possible?

Expected Behavior

In a multi-zone cluster at for example Google or AWS, a minio cluster spanning multiple availability zones in the same region should replicate across zones as much as possible.

For example with 6 instances across 3 zones and standard class being EC:3, there should be one replica per zone.

Current Behavior

I don't know :)

Possible Solution

A startup script can look up the zone name from the machine, and provide it as arg or env to the container. I think config.json should stay the same across all minio instances in the cluster.

Context

We have this for Kafka, Yolean/kubernetes-kafka#41.

Your Environment

Kubernetes using the official Helm chart. At GKE.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions