Update orchestration docs to use ellipses syntax (#8153)

This commit is contained in:
Harshavardhana
2019-09-01 10:02:15 -07:00
committed by GitHub
parent b3c19e2d4b
commit 0772438125
5 changed files with 27 additions and 28 deletions

View File

@@ -207,10 +207,7 @@ Specifically the hostpath:
And the list of hosts:
```yaml
- http://hostname1:9000/data/minio
- http://hostname2:9000/data/minio
- http://hostname3:9000/data/minio
- http://hostname4:9000/data/minio
- http://hostname{1...4}/data/minio
```
Once deployed, tag the defined host with the `minio-server=true` label:

View File

@@ -34,10 +34,7 @@ spec:
# Unfortunately you must manually define each server. Perhaps autodiscovery via DNS can be implemented in the future.
args:
- server
- http://hostname1:9000/data/minio
- http://hostname2:9000/data/minio
- http://hostname3:9000/data/minio
- http://hostname4:9000/data/minio
- http://hostname{1...4}/data/minio
ports:
- containerPort: 9000
volumeMounts:

View File

@@ -24,10 +24,7 @@ spec:
image: minio/minio:RELEASE.2019-08-29T00-25-01Z
args:
- server
- http://minio-0.minio.default.svc.cluster.local/data
- http://minio-1.minio.default.svc.cluster.local/data
- http://minio-2.minio.default.svc.cluster.local/data
- http://minio-3.minio.default.svc.cluster.local/data
- http://minio-{0...3}.minio.default.svc.cluster.local/data
ports:
- containerPort: 9000
# These volume mounts are persistent. Each pod in the PetSet