k3s-configs/apps/mlflow/minio-deployment.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:fce0a90a37bb2887c850b68b61a0ac8ac02ea218b58eaea96bb7ca69eb503e20
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