apiVersion: apps/v1 kind: Deployment metadata: name: minio labels: app: minio spec: selector: matchLabels: app: minio strategy: type: Recreate template: metadata: labels: app: minio spec: containers: - args: - server - /data env: - name: MINIO_ACCESS_KEY valueFrom: secretKeyRef: name: mlpipeline-minio-artifact key: accesskey - name: MINIO_SECRET_KEY valueFrom: secretKeyRef: name: mlpipeline-minio-artifact key: secretkey image: gcr.io/ml-pipeline/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance name: minio ports: - containerPort: 9000 volumeMounts: - mountPath: /data name: data subPath: minio resources: requests: cpu: 20m memory: 100Mi volumes: - name: data persistentVolumeClaim: claimName: minio-pvc