Skip to content

Commit

Permalink
update zone to pool docs
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Feb 23, 2021
1 parent 499ec00 commit f87d431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ FLAGS:
--version, -v print the version
SITE:
Each SITE is a comma separated list of zones of the same site: http://172.17.0.{2...5},http://172.17.0.{6...9}
Each SITE is a comma separated list of pools of the same site: http://172.17.0.{2...5},http://172.17.0.{6...9}
If all servers in SITE1 are down, then the traffic is routed to the next site - SITE2.
Two sites are separated by a space character.
```
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ FLAGS:
{{range .VisibleFlags}}{{.}}
{{end}}
SITE:
Each SITE is a comma separated list of zones of that site: http://172.17.0.{2...5},http://172.17.0.{6...9}.
Each SITE is a comma separated list of pools of that site: http://172.17.0.{2...5},http://172.17.0.{6...9}.
If all servers in SITE1 are down, then the traffic is routed to the next site - SITE2.
EXAMPLES:
Expand All @@ -757,11 +757,11 @@ EXAMPLES:
3. Load balance across 4 MinIO Servers using HTTPS and disable TLS certificate validation
$ sidekick --health-path "/minio/health/cluster" --insecure https://minio{1...4}:9000
4. Two sites, each site having two zones, each zone having 4 servers:
4. Two sites, each site having two pools, each pool having 4 servers:
$ sidekick --health-path=/minio/health/cluster http://site1-minio{1...4}:9000,http://site1-minio{5...8}:9000 \
http://site2-minio{1...4}:9000,http://site2-minio{5...8}:9000
5. Two sites, each site having two zones, each zone having 4 servers. After failover, allow read requests to site2 even if it has just read quorum:
5. Two sites, each site having two pools, each pool having 4 servers. After failover, allow read requests to site2 even if it has just read quorum:
$ sidekick --health-path=/minio/health/cluster --read-health-path=/minio/health/cluster/read http://site1-minio{1...4}:9000,http://site1-minio{5...8}:9000 \
http://site2-minio{1...4}:9000,http://site2-minio{5...8}:9000
Expand Down

0 comments on commit f87d431

Please sign in to comment.