36 lines
733 B
YAML
36 lines
733 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: minio
|
|
namespace: mlflow
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: minio
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: minio
|
|
spec:
|
|
containers:
|
|
- name: minio
|
|
image: minio/minio:latest@sha256:be3db71ebafc2f4b1ec08330f37417b9c316d088447d88e501be075515214cab
|
|
command:
|
|
- /bin/bash
|
|
- -c
|
|
args:
|
|
- minio server /data --console-address :9001
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: minio-data
|
|
envFrom:
|
|
- secretRef:
|
|
name: minio-admin-secret
|
|
volumes:
|
|
- name: minio-data
|
|
persistentVolumeClaim:
|
|
claimName: minio-data
|
|
|
|
|