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:c6b68f15862830b58d6d373cdc88dd9de93bbd30bfaa7a26f180bd284673cc7d
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