Skip to content

Commit

Permalink
Merge pull request #45444 from NitishT/master
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874)

Update Minio example

**What this PR does / why we need it**:
Added examples for Minio standalone and distributed modes

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: 
- Add latest image tag in Minio image.
- Remove command and use args instead, inline with latest change in Minio. 

**Release note**:

```
Updates Minio server deployment example.
```
  • Loading branch information
Kubernetes Submit Queue committed May 17, 2017
2 parents bcf5837 + cef6be8 commit 1a2076a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions examples/storage/minio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ spec:
containers:
- name: minio
# Pulls the default Minio image from Docker Hub
image: minio/minio
command:
- minio
image: minio/minio:latest
args:
- server
- /storage
Expand Down Expand Up @@ -261,9 +259,7 @@ spec:
value: "minio"
- name: MINIO_SECRET_KEY
value: "minio123"
image: minio/minio
command:
- minio
image: minio/minio:latest
args:
- server
- http://minio-0.minio.default.svc.cluster.local/data
Expand Down
4 changes: 1 addition & 3 deletions examples/storage/minio/minio-distributed-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ spec:
value: "minio"
- name: MINIO_SECRET_KEY
value: "minio123"
image: minio/minio
command:
- minio
image: minio/minio:latest
args:
- server
- http://minio-0.minio.default.svc.cluster.local/data
Expand Down
4 changes: 1 addition & 3 deletions examples/storage/minio/minio-standalone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ spec:
containers:
- name: minio
# Pulls the default Minio image from Docker Hub
image: minio/minio
command:
- minio
image: minio/minio:latest
args:
- server
- /storage
Expand Down

0 comments on commit 1a2076a

Please sign in to comment.