Commit 5fe866b1 authored by Yuci Gou's avatar Yuci Gou

Scale up Minio to 2 replicas

parent 5e6cb4f6
Pipeline #13447 failed with stages
in 35 seconds
......@@ -7,7 +7,7 @@ metadata:
name: minio-config
spec:
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
storage: 100Mi
......
......@@ -7,8 +7,8 @@ metadata:
name: minio-data
spec:
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
storage: 100Mi
storage: 100Gi
status: {}
......@@ -9,9 +9,12 @@ metadata:
io.kompose.service: minio
name: minio
spec:
replicas: 1
replicas: 2
strategy:
type: Recreate
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
maxSurge: 1
template:
metadata:
creationTimestamp: null
......@@ -19,36 +22,36 @@ spec:
io.kompose.service: minio
spec:
containers:
- args:
- server
- /data
env:
- name: MINIO_ACCESS_KEY
valueFrom:
configMapKeyRef:
key: MINIO_ACCESS_KEY
name: minio-env-minio
- name: MINIO_SECRET_KEY
valueFrom:
configMapKeyRef:
key: MINIO_SECRET_KEY
name: minio-env-minio
image: minio/minio:RELEASE.2018-09-12T18-49-56Z
name: minio
ports:
- containerPort: 9000
resources: {}
volumeMounts:
- mountPath: /data
name: minio-data
- mountPath: /root/.minio
name: minio-config
- args:
- server
- /data
env:
- name: MINIO_ACCESS_KEY
valueFrom:
configMapKeyRef:
key: MINIO_ACCESS_KEY
name: minio-env-minio
- name: MINIO_SECRET_KEY
valueFrom:
configMapKeyRef:
key: MINIO_SECRET_KEY
name: minio-env-minio
image: minio/minio:RELEASE.2020-01-03T19-12-21Z
name: minio
ports:
- containerPort: 9000
resources: {}
volumeMounts:
- mountPath: /data
name: minio-data
- mountPath: /root/.minio
name: minio-config
restartPolicy: Always
volumes:
- name: minio-data
persistentVolumeClaim:
claimName: minio-data
- name: minio-config
persistentVolumeClaim:
claimName: minio-config
- name: minio-data
persistentVolumeClaim:
claimName: minio-data
- name: minio-config
persistentVolumeClaim:
claimName: minio-config
status: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment