-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsdep-test-model.yaml
43 lines (42 loc) · 1.09 KB
/
sdep-test-model.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
apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
name: seldon-model
spec:
name: test-deployment
predictors:
- componentSpecs:
- spec:
containers:
- name: classifier
image: msmetko/test_model:latest
imagePullPolicy: Always
resources:
requests:
memory: 500Mi
limits:
nvidia.com/gpu: 1
runtime: nvidia
imagePullSecrets:
- name: regcred
name: example
replicas: 1
graph:
name: classifier
endpoint:
type: REST
# TRANSFORMER transforms its input and forwards the result to it's children
# type: TRANSFORMER
type: MODEL
children: []
# - name: classifier
# endpoint:
# type: REST
# # OUTPUT_TRANSFORMER forwards the input to its children and transforms _their_ output
# type: OUTPUT_TRANSFORMER
# children:
# - name: classifier
# endpoint:
# type: REST
# type: MODEL
# children: []