forked from aicoe-aiops/ocp-ci-analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathseldon-deployment-config.yaml
64 lines (64 loc) · 1.57 KB
/
seldon-deployment-config.yaml
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
59
60
61
62
63
64
apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
metadata:
name: osp-seldon
spec:
name: osp
annotations:
seldon.io/rest-timeout: "1000000"
seldon.io/grpc-timeout: "1000000"
predictors:
- componentSpecs:
- spec:
containers:
- image: quay.io/aicoe/optimal-stopping-point:latest
name: osp-clf
imagePullPolicy: Always
resources:
requests:
cpu: 100m
memory: 250Mi
limits:
cpu: 500m
memory: 4Gi
env:
- name: GUNICORN_WORKERS
value: '1'
- name: GUNICORN_THREADS
value: '2'
- name: S3_ENDPOINT
valueFrom:
secretKeyRef:
key: S3_ENDPOINT
name: github-pr-ttm-secret
- name: S3_ACCESS_KEY
valueFrom:
secretKeyRef:
key: S3_ACCESS_KEY
name: github-pr-ttm-secret
- name: S3_SECRET_KEY
valueFrom:
secretKeyRef:
key: S3_SECRET_KEY
name: github-pr-ttm-secret
- name: S3_BUCKET
valueFrom:
secretKeyRef:
key: S3_BUCKET
name: github-pr-ttm-secret
svcOrchSpec:
resources:
requests:
cpu: 100m
memory: 250Mi
limits:
cpu: 500m
memory: 500Mi
graph:
children: []
endpoint:
type: REST
name: osp-clf
type: MODEL
name: osp-pred
replicas: 1