-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path02-temporal-cluster.yaml
57 lines (57 loc) · 1.34 KB
/
02-temporal-cluster.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
apiVersion: temporal.io/v1beta1
kind: TemporalCluster
metadata:
name: prod
namespace: demo
spec:
version: 1.24.3
numHistoryShards: 1
persistence:
defaultStore:
sql:
user: temporal
pluginName: postgres
databaseName: temporal
connectAddr: postgres.demo.svc.cluster.local:5432
connectProtocol: tcp
passwordSecretRef:
name: postgres-password
key: PASSWORD
visibilityStore:
sql:
user: temporal
pluginName: postgres12
databaseName: temporal_visibility
connectAddr: postgres.demo.svc.cluster.local:5432
connectProtocol: tcp
passwordSecretRef:
name: postgres-password
key: PASSWORD
log:
level: debug
ui:
enabled: true
admintools:
enabled: true
# metrics:
# enabled: true
# prometheus:
# listenPort: 9090
# scrapeConfig:
# serviceMonitor:
# enabled: true
# labels:
# release: test
# metricRelabelings:
# - sourceLabels: [__name__]
# targetLabel: __name__
# replacement: temporal_$1
dynamicConfig:
pollInterval: 10s
values:
matching.numTaskqueueReadPartitions:
- value: 5
constraints: {}
matching.numTaskqueueWritePartitions:
- value: 5
constraints: {}