apiVersion: apps/v1 kind: Deployment metadata: name: myproject-minio spec: replicas: 1 selector: matchLabels: app: myproject-minio template: metadata: labels: app: myproject-minio spec: containers: - name: minio image: quay.io/minio/minio command: - "minio" - "server" - "/data" - "--console-address=:9001" ports: - containerPort: 9000 - containerPort: 9001 env: - name: MINIO_ROOT_USER value: "minioadmin" - name: MINIO_ROOT_PASSWORD value: "minioadmin"