Add mlflow db upgrade init container

This commit is contained in:
Mathis 2024-04-03 19:33:20 +00:00
parent 429f870029
commit 0dc4d48d3e
1 changed files with 9 additions and 0 deletions

View File

@ -30,6 +30,15 @@ spec:
name: minio-admin-secret name: minio-admin-secret
- secretRef: - secretRef:
name: minio-user-secret name: minio-user-secret
- name: init-db-upgrade
image: git.namesny.com/cluster/mlflow:latest
envFrom:
- secretRef:
name: mlflow-secret
command: ["/bin/sh", "-c"]
args:
- mlflow db upgrade $MLFLOW_BACKEND_STORE_URI;
exit 0;
containers: containers:
- name: mlflow - name: mlflow
image: git.namesny.com/cluster/mlflow:latest image: git.namesny.com/cluster/mlflow:latest