Repository holding code for deploying a MLFlow server for storing ML models artifacts, experiments and runs.
0.1. minikube start
๐ minikube v1.32.0 on Ubuntu 19.10
โจ Using the docker driver based on existing profile
๐จ For improved Docker performance, Upgrade Docker to a newer version (Minimum recommended version is 20.10.0, minimum supported version is 18.09.0, current version is 19.03.8)
๐ Starting control plane node minikube in cluster minikube
๐ Pulling base image ...
๐ Updating the running docker "minikube" container ...
๐ณ Preparing Kubernetes v1.28.3 on Docker 24.0.7 ...
๐ Verifying Kubernetes components...
โช Using image gcr.io/k8s-minikube/storage-provisioner:v5
๐ Enabled addons: storage-provisioner, default-storageclass
โ /usr/bin/kubectl is version 1.18.0, which may have incompatibilities with Kubernetes 1.28.3.
โช Want kubectl v1.28.3? Try 'minikube kubectl -- get pods -A'
๐ Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
0.2. minikube dashboard
๐ Enabling dashboard ...
โช Using image docker.io/kubernetesui/dashboard:v2.7.0
โช Using image docker.io/kubernetesui/metrics-scraper:v1.0.8
๐ก Some dashboard features require the metrics-server addon. To enable all features please run:
minikube addons enable metrics-server
๐ค Verifying dashboard health ...
๐ Launching proxy ...
๐ค Verifying proxy health ...
๐ Opening http://127.0.0.1:43709/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/ in your default browser...
Opening in existing browser session.
0.3 minikube addons enable ingress
๐ก ingress is an addon maintained by Kubernetes. For any concerns contact minikube on GitHub.
You can view the list of minikube maintainers at: https://github.com/kubernetes/minikube/blob/master/OWNERS
โช Using image registry.k8s.io/ingress-nginx/controller:v1.9.4
โช Using image registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20231011-8b53cabe0
โช Using image registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20231011-8b53cabe0
๐ Verifying ingress addon...
๐ The 'ingress' addon is enabled
helm install mlflow mlflow-helm/
# Output:
# NAME: mlflow
# LAST DEPLOYED: Sat Mar 23 20:06:43 2024
# NAMESPACE: default
# STATUS: deployed
# REVISION: 1
# TEST SUITE: None
curl --resolve "mlflow-app.f1-platform.k8s.io:80$(minikube ip)" -i http://mlflow-app.f1-platform.k8s.io
vim /etc/hosts
# add the following line:
# <minikube_ip> mlflow-app.f1-platform.k8s.io
# e.g.
# 192.168.49.2 my-hello-app.k8s.io
#
# check with browser, going to address: http://mlflow-app.f1-platform.k8s.io