Repo for mlflow with psql deployment
-
Build MLflow docker image with below command.
docker build . -t mlflow:psql
-
Create MLflow namespace
kubectl create namespace mlflow
-
Deploy postgresql
kubectl -f apply manifest/postgresql.yaml
-
Deploy MLflow
kubectl -f apply manifest/mlflow.yaml
Adding authentication for mlflow
- Integerate MLflow in kubeflow authentication
kubectl edit cm centraldashboard-config -n kubeflow
and then add the following item to the "menuLinks":
{
"type": "item",
"link": "/mlflow/",
"text": "MLFlow",
"icon": "icons:cached"
}
Create virtual service for mlflow.
kubectl apply -f manifest/kfp-mlflow-virtualservice.yaml