osc-mlflow

by joaquinito2051

Helm chartv0.3.1App 0.3.1

A Helm chart for mlflow deployment at OSC

About this chart

osc-mlflow

A Helm chart for mlflow deployment at OSC

OSC MLFlow Chart

This chart handles the OSC's deployment of MLFlow.

Components:

  • Postgresql
  • Silo
  • MLFlow

Usage

The following is the minimal values to deploy this chart:

---
global:
  imagePullSecret:
    password: <webservices-read password>
  ingress:
    host: <Ingress host>
    hostAlias: <Ingress host alias>
    silo:
      api: <silo API host>
      console: <silo console host>
  postgresql:
    auth:
      postgresPassword: <postgres root password>
      username: <username>
      password: <postgres database password>
  silo:
    rootUser: <root user>
    rootPassword: <root user password>
    user: <mlflow silo user>
    password: <mlflow silo password>
  mlflow:
    auth:
      adminUsername: <username>
      adminPassword: <password>
      postgresql:
        username: <auth db username>
        password: <auth db password>

mlflow:
  flaskServerSecretKey: <flask password>

Requirements

RepositoryNameVersion
https://osc.github.io/osc-helm-chartsdatabase0.21.3
https://osc.github.io/osc-helm-chartsosc-common0.20.0
https://osc.github.io/osc-helm-chartsosc-silo0.1.1
oci://docker-registry.osc.edu/kubernetesmlflow1.11.8-osc-r2

Values

KeyTypeDefaultDescription
global.imagePullSecret.passwordstringrequiredOSC registry password
global.ingress.hoststringrequiredmlflow ingress host
global.ingress.hostAliasstringrequiredmlflow ingress host
global.ingress.silo.apistringrequiredmlflow silo api ingress host
global.ingress.silo.consolestringrequiredmlflow silo console ingress host
global.postgresql.auth.usernamestring"mlflow"The postgresql mlflow username
global.postgresql.auth.passwordstring"changeme-mlflow"The postgresql mlflow password
global.postgresql.auth.postgresPasswordstring"changeme-postgres"The postgres user password
global.silo.rootUserstring"mlflowadmin"The silo root user
global.silo.rootPasswordstring"changeme-silo"The silo root password
global.silo.userstring"mlflow"The silo username for mlflow
global.silo.passwordstring"changeme"The silo password for mlflow
global.mlflow.auth.adminUsernamestring"admin"The mlflow admin username
global.mlflow.auth.adminPasswordstring"changeme-admin"The mlflow admin password
global.mlflow.auth.postgresql.usernamestring"mlflow-auth"The mlflow auth db username
global.mlflow.auth.postgresql.passwordstring"changeme-mlflow-auth"The mlflow auth db password
mlflow.image.repositorystring"docker-registry.osc.edu/kubernetes/mlflow-tracking-server"mlflow image
mlflow.image.tagstring"3.18.0-11.3.1-20261119"mlflow image tag
mlflow.initImages.dbchecker.repositorystring"docker-registry.osc.edu/kubernetes/busybox"mlflow init image
mlflow.initImages.dbchecker.tagstring"1.38.0"mlflow init image tag
mlflow.flaskServerSecretKeystringrequiredflask server secret key
mlflow.oidcAuth.redirectUristringglobal.ingress.hostAlias or global.ingress.hostmlflow redirect URI. Set to https://{{ .Values.global.ingress.host }}/callback to avoid hostAlias

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy osc-mlflow with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has osc-mlflow on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartosc-mlflow is pinned at v0.3.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply