k3s-configs/apps/mlflow/minio-deployment.yaml

36 lines
733 B
YAML
Raw Permalink Normal View History

2023-12-11 22:46:18 +00:00
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:0bd79595dbcf155782860716abf4cf79d5ee32a9508b60fa1a88793bbe55b245
2023-12-11 22:46:18 +00:00
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