Update CLI examples to be in sync with examples used on Minio website (#4920)

This commit is contained in:
Nitish Tiwari
2017-09-15 07:47:42 +05:30
committed by Dee Koder
parent 8e4842b665
commit 6d5d49bfb1
11 changed files with 48 additions and 48 deletions

View File

@@ -11,7 +11,7 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
command: server http://minio1/data http://minio2/data http://minio3/data http://minio4/data
minio2:
image: minio/minio:RELEASE.2017-08-05T00-00-53Z
ports:
@@ -19,7 +19,7 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
command: server http://minio1/data http://minio2/data http://minio3/data http://minio4/data
minio3:
image: minio/minio:RELEASE.2017-08-05T00-00-53Z
ports:
@@ -27,7 +27,7 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
command: server http://minio1/data http://minio2/data http://minio3/data http://minio4/data
minio4:
image: minio/minio:RELEASE.2017-08-05T00-00-53Z
ports:
@@ -35,4 +35,4 @@ services:
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
command: server http://minio1/data http://minio2/data http://minio3/data http://minio4/data

View File

@@ -112,7 +112,7 @@ spec:
spec:
# Refer to the PVC created earlier
volumes:
- name: storage
- name: data
persistentVolumeClaim:
# Name of the PVC created earlier
claimName: minio-pv-claim
@@ -122,7 +122,7 @@ spec:
image: minio/minio:RELEASE.2017-05-05T01-14-51Z
args:
- server
- /storage
- /data
env:
# Minio access key and secret key
- name: MINIO_ACCESS_KEY
@@ -134,8 +134,8 @@ spec:
hostPort: 9000
# Mount the volume into the pod
volumeMounts:
- name: storage # must match the volume name, above
mountPath: "/storage"
- name: data # must match the volume name, above
mountPath: "/data"
```
Create the Deployment

View File

@@ -14,7 +14,7 @@ spec:
spec:
# Refer to the PVC created earlier
volumes:
- name: storage
- name: data
persistentVolumeClaim:
# Name of the PVC created earlier
claimName: minio-pv-claim
@@ -24,7 +24,7 @@ spec:
image: minio/minio:RELEASE.2017-08-05T00-00-53Z
args:
- server
- /storage
- /data
env:
# Minio access key and secret key
- name: MINIO_ACCESS_KEY
@@ -36,5 +36,5 @@ spec:
hostPort: 9000
# Mount the volume into the pod
volumeMounts:
- name: storage # must match the volume name, above
mountPath: "/storage"
- name: data # must match the volume name, above
mountPath: "/data"