Update orchestration examples to latest release

This commit is contained in:
Nitish 2017-08-07 22:29:45 +05:30 committed by Harshavardhana
parent 32da1aa9d6
commit b3b42c72a9
7 changed files with 16 additions and 19 deletions

View File

@ -5,7 +5,7 @@ version: '2'
# 9001 through 9004. # 9001 through 9004.
services: services:
minio1: minio1:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
ports: ports:
- "9001:9000" - "9001:9000"
environment: environment:
@ -13,7 +13,7 @@ services:
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
minio2: minio2:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
ports: ports:
- "9002:9000" - "9002:9000"
environment: environment:
@ -21,7 +21,7 @@ services:
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
minio3: minio3:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
ports: ports:
- "9003:9000" - "9003:9000"
environment: environment:
@ -29,7 +29,7 @@ services:
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
minio4: minio4:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
ports: ports:
- "9004:9000" - "9004:9000"
environment: environment:

View File

@ -2,7 +2,7 @@ version: '3.1'
services: services:
minio1: minio1:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio1-data:/export - minio1-data:/export
ports: ports:
@ -20,7 +20,7 @@ services:
- access_key - access_key
minio2: minio2:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio2-data:/export - minio2-data:/export
ports: ports:
@ -38,7 +38,7 @@ services:
- access_key - access_key
minio3: minio3:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio3-data:/export - minio3-data:/export
ports: ports:
@ -56,7 +56,7 @@ services:
- access_key - access_key
minio4: minio4:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio4-data:/export - minio4-data:/export
ports: ports:

View File

@ -2,7 +2,7 @@ version: '3'
services: services:
minio1: minio1:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio1-data:/export - minio1-data:/export
ports: ports:
@ -20,7 +20,7 @@ services:
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
minio2: minio2:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio2-data:/export - minio2-data:/export
ports: ports:
@ -38,7 +38,7 @@ services:
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
minio3: minio3:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio3-data:/export - minio3-data:/export
ports: ports:
@ -56,7 +56,7 @@ services:
command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export command: server http://minio1/export http://minio2/export http://minio3/export http://minio4/export
minio4: minio4:
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
volumes: volumes:
- minio4-data:/export - minio4-data:/export
ports: ports:

View File

@ -19,7 +19,7 @@ spec:
value: "minio" value: "minio"
- name: MINIO_SECRET_KEY - name: MINIO_SECRET_KEY
value: "minio123" value: "minio123"
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
args: args:
- server - server
- http://minio-0.minio.default.svc.cluster.local/data - http://minio-0.minio.default.svc.cluster.local/data

View File

@ -21,7 +21,7 @@ spec:
containers: containers:
- name: minio - name: minio
# Pulls the default Minio image from Docker Hub # Pulls the default Minio image from Docker Hub
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
args: args:
- server - server
- /storage - /storage

View File

@ -30,7 +30,7 @@ Above command deploys Minio on the Kubernetes cluster in the default configurati
| Parameter | Description | Default | | Parameter | Description | Default |
|----------------------------|-------------------------------------|---------------------------------------------------------| |----------------------------|-------------------------------------|---------------------------------------------------------|
| `image` | Minio image name | `minio/minio` | | `image` | Minio image name | `minio/minio` |
| `imageTag` | Minio image tag. Possible values listed [here](https://hub.docker.com/r/minio/minio/tags/).| `RELEASE.2017-01-25T03-14-52Z`| | `imageTag` | Minio image tag. Possible values listed [here](https://hub.docker.com/r/minio/minio/tags/).| `RELEASE.2017-08-05T00-00-53Z`|
| `imagePullPolicy` | Image pull policy | `Always` | | `imagePullPolicy` | Image pull policy | `Always` |
| `mode` | Minio server mode (`standalone`, `shared` or `distributed`)| `standalone` | | `mode` | Minio server mode (`standalone`, `shared` or `distributed`)| `standalone` |
| `numberOfNodes` | Number of nodes (applicable only for Minio distributed mode). Should be 4 <= x <= 16 | `4` | | `numberOfNodes` | Number of nodes (applicable only for Minio distributed mode). Should be 4 <= x <= 16 | `4` |

View File

@ -54,11 +54,8 @@ spec:
value: "minio" value: "minio"
- name: MINIO_SECRET_KEY - name: MINIO_SECRET_KEY
value: "minio123" value: "minio123"
image: minio/minio:RELEASE.2017-06-13T19-01-01Z image: minio/minio:RELEASE.2017-08-05T00-00-53Z
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
#command: ["df"]
#args: ["-i", "/data"]
command: ["minio"]
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"] 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"]
ports: ports:
- containerPort: 9000 - containerPort: 9000