forked from aslanpour/faasHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstraints.yaml
46 lines (45 loc) · 936 Bytes
/
constraints.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
apiVersion: openfaas.com/v1
kind: Function
metadata:
name: nodeinfo
namespace: openfaas-fn
spec:
name: nodeinfo
image: ghcr.io/openfaas/nodeinfo:latest
labels: {}
annotations: {}
---
apiVersion: openfaas.com/v1
kind: Function
metadata:
name: nodeinfo2
namespace: openfaas-fn
spec:
name: nodeinfo2
image: ghcr.io/openfaas/nodeinfo:latest
annotations:
com.openfaas.profile: homo1-ssd
com.openfaas.queue: ""
linkerd.io/inject: enabled
environment:
COUNTER: "0"
REDIS_SERVER_IP: 10.43.189.161
REDIS_SERVER_PORT: "3679"
exec_timeout: 15s
handler_wait_duration: 15s
read_timeout: 15s
version: "1"
write_debug: "true"
write_timeout: 15s
labels:
com.openfaas.scale.factor: "0"
com.openfaas.scale.max: "1"
com.openfaas.scale.min: "1"
limits:
cpu: 3600m
memory: 3000M
name: homo1-ssd
requests:
cpu: 1800m
memory: 50M
# constraints: []