Add mlflow db upgrade init container
This commit is contained in:
parent
429f870029
commit
0dc4d48d3e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue