forked from openfaas/faas-netes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
93 lines (78 loc) · 2.34 KB
/
values.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
functionNamespace:
async: true
exposeServices: true
serviceType: NodePort
rbac: true
securityContext: true
basic_auth: false
faasnetesd:
image: openfaas/faas-netes:0.7.0
readTimeout : "60s"
writeTimeout : "60s"
imagePullPolicy : "Always" # Image pull policy for deployed functions
httpProbe: false # Setting to true will use a lock file for readiness and liveness (incompatible with Istio)
readinessProbe:
initialDelaySeconds: 0
timeoutSeconds: 1 # Tuned-in to run checks early and quickly to support fast cold-start from zero replicas
periodSeconds: 1
livenessProbe:
initialDelaySeconds: 3
timeoutSeconds: 1
periodSeconds: 10
gateway:
image: openfaas/gateway:0.11.1
readTimeout : "65s"
writeTimeout : "65s"
upstreamTimeout : "60s" # Must be smaller than read/write_timeout
replicas: 1
scaleFromZero: true
# change the port when creating multiple releases in the same baremetal cluster
nodePort: 31112
maxIdleConns: 1024
maxIdleConnsPerHost: 1024
queueWorker:
image: openfaas/queue-worker:0.7.1
ackWait : "60s"
replicas: 1
# image pull policy for openfaas components, can change to `IfNotPresent` in offline env
openfaasImagePullPolicy: "Always"
# replaces faas-netes with openfaas-operator
operator:
image: openfaas/openfaas-operator:0.9.1
create: false
# set this to false when creating multiple releases in the same cluster
# must be true for the first one only
createCRD: true
# monitoring and auto-scaling components
prometheus:
image: prom/prometheus:v2.7.1
alertmanager:
image: prom/alertmanager:v0.16.1
# async provider
nats:
image: nats-streaming:0.11.2
enableMonitoring: false
# ingress configuration
ingress:
enabled: false
# Used to create Ingress record (should be used with exposeServices: false).
hosts:
- host: gateway.openfaas.local
serviceName: gateway
servicePort: 8080
path: /
annotations:
kubernetes.io/ingress.class: nginx
tls:
# Secrets must be manually created in the namespace.
# faas-idler configuration
faasIdler:
replicas: 1
image: openfaas/faas-idler:0.1.9
inactivityDuration: 5m
reconcileInterval: 30s
dryRun: true # Set to true to enable the idler to apply changes and scale to zero
nodeSelector: {}
tolerations: []
affinity: {}
kubernetesDNSDomain: cluster.local