-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmy_cluster.yaml
More file actions
87 lines (80 loc) · 1.69 KB
/
Copy pathmy_cluster.yaml
File metadata and controls
87 lines (80 loc) · 1.69 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
whisk:
ingress:
type: NodePort
apiHostName: $(hostname -I | cut -d' ' -f1)
apiHostPort: 31001
limits:
actionsInvokesPerminute: 999
actionsInvokesConcurrent: 999
triggersFiresPerminute: 999
actionsSequenceMaxlength: 999
actions:
memory:
max: "5g"
time:
max: "10m"
activation:
payload:
max: "128000000"
containerPool:
userMemory: "204800m"
loadbalancer:
blackbox-fraction: "100%"
k8s:
persistence:
enabled: false
# A single node cluster; so disable affinity
# affinity:
# enabled: false
# toleration:
# enabled: false
nginx:
httpsNodePort: 31001
invoker:
jvmHeapMB: "1024"
options: "-Dwhisk.spi.LogStoreProvider=org.apache.openwhisk.core.containerpool.logging.LogDriverLogStoreProvider"
# this is for single node cluster only
# "-Dwhisk.kubernetes.user-pod-node-affinity.enabled=false"
containerFactory:
impl: "kubernetes"
kubernetes:
replicaCount: 2
controller:
replicaCount: 2
metrics:
prometheusEnabled: true
userMetricsEnabled: true
# whisk:
# ingress:
# type: NodePort
# apiHostName: 192.168.129.86
# apiHostPort: 31001
# limits:
# actions:
# memory:
# max: "5g"
# time:
# max: "10m"
# activation:
# payload:
# max: "128000000"
# containerPool:
# userMemory: "4096m"
# loadbalancer:
# blackbox-fraction: "100%"
# k8s:
# persistence:
# enabled: false
# nginx:
# httpsNodePort: 31001
# invoker:
# containerFactory:
# impl: "kubernetes"
# kubernetes:
# replicaCount: 2
# controller:
# replicaCount: 2
# metrics:
# prometheusEnabled: true
# metrics:
# userMetricsEnabled: true