-
Notifications
You must be signed in to change notification settings - Fork 0
/
serving.yaml
60 lines (60 loc) · 1.35 KB
/
serving.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
kind: serving
metadata:
name: serving
hash: cf0b8f751fe1a99cbb24b35c243adcaf640f7ca1
project: quick-start-tutorial-shapira
categories: []
spec:
command: ''
args: []
image: mlrun/mlrun
build:
commands: []
description: ''
disable_auto_mount: false
env: []
resources:
requests:
memory: 1Mi
cpu: 25m
limits:
memory: 20Gi
cpu: '2'
node_selector:
app.iguazio.com/lifecycle: non-preemptible
priority_class_name: igz-workload-medium
preemption_mode: prevent
min_replicas: 1
max_replicas: 4
source: ''
function_kind: serving_v2
graph:
kind: router
routes:
model:
kind: task
class_name: ClassifierModel
class_args:
model_path: store://artifacts/quick-start-tutorial-shapira/my_model
default_class: ClassifierModel
secret_sources: []
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: app.iguazio.com/lifecycle
operator: NotIn
values:
- preemptible
- key: eks.amazonaws.com/capacityType
operator: NotIn
values:
- SPOT
- key: node-lifecycle
operator: NotIn
values:
- spot
tolerations: null
security_context: {}
verbose: false