1 apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1
4 # This name uniquely identifies the Deployment
15 # Label is used as selector in the service.
18 # Refer to the PVC created earlier
21 persistentVolumeClaim:
22 # Name of the PVC created earlier
23 claimName: minio-local-pvc
26 # Pulls the default Minio image from Docker Hub
27 image: minio/minio:latest
32 # Minio access key and secret key
33 - name: MINIO_ACCESS_KEY
34 value: "ICN-ACCESSKEYID"
35 - name: MINIO_SECRET_KEY
36 value: "ICN-SECRETACCESSKEY"
40 # Mount the volume into the pod
42 - name: storage # must match the volume name, above