Skip to content
Snippets Groups Projects
Verified Commit f6c4fd20 authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Add mlflow-kubeserve deployment

Closes #2
parent f6ca4e49
No related branches found
No related tags found
No related merge requests found
Pipeline #9631 passed
apiVersion: kubeserve.sauerburger.dev/v1alpha1
kind: ModelDeployment
metadata:
name: movie-recommender
spec:
model: models:/movie-recommender/1
s3:
url: https://s3.ds.sit-servers.net/
secretName: s3apikey
registry:
url: https://mlflow.ds.sit-servers.net/
secretName: mlflowbasicauth
docker:
imageBaseName: gitlab.sauerburger.com:5049/frank/movie-recommender
secretName: movie-recommender-token
---
apiVersion: v1
kind: Service
metadata:
name: movie-recommender-service
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: kubeserve
modeldeployment_cr: movie-recommender
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
kubernetes.io/ingress.class: nginx
name: "movie-recommender"
spec:
rules:
- host: "movie-recommender.ds.sit-servers.net"
http:
paths:
- path: "/invocations"
pathType: Prefix
backend:
service:
name: "movie-recommender-service"
port:
number: 8080
tls:
- hosts:
- "movie-recommender.ds.sit-servers.net"
secretName: movie-recommender-tls-secret
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment