-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathvalues-full.yaml
More file actions
87 lines (74 loc) · 1.56 KB
/
values-full.yaml
File metadata and controls
87 lines (74 loc) · 1.56 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
# Full configuration test with databases and users
replicas: 3
env:
- name: RUST_LOG
value: trace
queryParserEngine: "pg_query_raw"
# Sharding settings
twoPhaseCommit: true
twoPhaseCommitAuto: false
systemCatalogs: omnisharded_sticky
omnishardedSticky: true
reshardingCopyFormat: binary
reloadSchemaOnDdl: true
memoryNetBuffer: 8192
memoryMessageBuffer: 8192
memoryStackSize: 2097152
port: 6432
healthcheckPort: 8080
databases:
- name: primary
host: postgres-primary.example.com
port: 5432
- name: replica
host: postgres-replica.example.com
port: 5432
role: replica
users:
- username: app_user
password: secret123
poolMode: transaction
- username: admin_user
password: admin123
shardedTables:
- database: primary
name: users
column: id
dataType: bigint
mirrors:
- sourceDb: primary
destinationDb: replica
omnishardedTables:
- database: primary
sticky: true
tables:
- pg_class
- pg_attribute
- pg_attrdef
- pg_index
- pg_constraint
- pg_namespace
plugins:
- name: pgdog_routing
config: |
[routing]
key = "value"
- name: pgdog_auth
podAnnotations:
prometheus.io/scrape: "true"
nodeSelector:
node-type: database
tolerations:
- key: dedicated
operator: Equal
value: database
effect: NoSchedule
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app: pgdog
topologyKey: kubernetes.io/hostname