Skip to content

Commit

Permalink
feat: mlflow ai gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
ahgraber committed Oct 26, 2024
1 parent ad78607 commit cf3900e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kubernetes/apps/datasci/mlflow/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ spec:
MLFLOW_SERVE_ARTIFACTS: true
MLFLOW_HOST: 0.0.0.0
MLFLOW_PORT: &port 5000
# To connect the MLflow AI Gateway with the MLflow Tracking Server
MLFLOW_DEPLOYMENTS_TARGET: http://mlflow-gateway.datasci.svc.cluster.local:5001
# envFrom:
# - secretRef:
# name: database-mlflow
Expand Down Expand Up @@ -180,7 +182,7 @@ spec:
http:
port: *port
gateway:
controller: mlflow
controller: gateway
ports:
http:
port: *gport
Expand All @@ -207,7 +209,7 @@ spec:
nginx.ingress.kubernetes.io/whitelist-source-range: |
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
hosts:
- host: &host mlflow-gateway.${SECRET_DOMAIN}
- host: &gateway mlflow-gateway.${SECRET_DOMAIN}
paths:
- path: /
pathType: Prefix
Expand All @@ -216,7 +218,7 @@ spec:
port: http
tls:
- hosts:
- *host
- *gateway
persistence:
data:
enabled: true
Expand Down

0 comments on commit cf3900e

Please sign in to comment.