forked from apk8s/book-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
100-sd-quality.yml
58 lines (58 loc) · 1.53 KB
/
100-sd-quality.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
name: quality
spec:
name: quality
predictors:
- graph:
children: []
implementation: MLFLOW_SERVER
modelUri: s3://mlflow/artifacts/2/1b3cfc890bd04a85a60fa0706b9e8592/artifacts/model
envSecretRefName: seldon-s3-model-secret
name: quality
name: default
replicas: 1
componentSpecs:
- spec:
containers:
- name: quality
readinessProbe:
failureThreshold: 10
initialDelaySeconds: 120
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: http
timeoutSeconds: 5
livenessProbe:
failureThreshold: 10
initialDelaySeconds: 120
periodSeconds: 10
successThreshold: 1
tcpSocket:
port: http
timeoutSeconds: 5
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: quality
labels:
app: quality
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: quality.c2.apk8s.dev
http:
paths:
- backend:
serviceName: quality-default
servicePort: 8000
path: /
tls:
- hosts:
- quality.c2.apk8s.dev
secretName: default-quality-production-tls