mirror of
https://github.com/minio/minio.git
synced 2025-11-10 14:09:48 -05:00
Update CLI examples to be in sync with examples used on Minio website (#4920)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user