forked from orchestracities/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
97 lines (82 loc) · 1.8 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
94
95
96
97
# Default values for a crate deployment of 3 nodes.
# Chart consists of:
# 1) A Service (exposing the ports that crate uses)
# 2) A StatefulSet (initialising the cluster)
app: crate
image:
name: crate
tag: 2.3.6
pullPolicy: IfNotPresent
# 1) The Service connecting 3 ports...
service:
type: ClusterIP
annotations: {}
adminName: crate-web
adminPort: 4200
clusterName: cluster
clusterPort: 4300
postgresName: postgres
postgresPort: 5432
## Node selector
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
nodeSelector: {}
affinity: {}
tolerations: []
antiAffinity: "soft"
nodeAffinity: {}
crate:
clusterName: quantumleap
# https://crate.io/docs/crate/reference/en/latest/config/environment.html#use-max-50-of-available-ram
createHeapSize: 3g
recoverAfterTime: 5m
replicas: 3
recoverAfterNodes: 2
minimumMasterNodes: 2
http:
cors:
enabled: true
allowOrigin: "*"
# 3) Resources
resources:
requests:
cpu: 300m
memory: 2Gi
limits:
cpu: 1000m
memory: 5Gi
persistentVolume:
enabled: true
storageClass: retain
accessModes:
- ReadWriteOnce
size: 20Gi # Per instance
annotations: {}
# Readiness probe
readinessProbe:
enabled: false
initialDelaySeconds: 60
timeoutSeconds: 1
failureThreshold: 3
periodSeconds: 60
successThreshold: 1
# Liveness probe
livenessProbe:
enabled: false
initialDelaySeconds: 240
timeoutSeconds: 5
failureThreshold: 5
periodSeconds: 10
successThreshold: 1
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# 2) The StatefulSet forming the cluster...