-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathfinal.yaml
63 lines (63 loc) · 1.52 KB
/
final.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
# This file provides an example of a cluster you can run in a local testing
# environment to create a simulation of a multi-DC cluster.
#
# This requires variables to be interpolated for $dc, $logCount,
# and $connectionString
apiVersion: apps.foundationdb.org/v1beta2
kind: FoundationDBCluster
metadata:
labels:
cluster-group: test-cluster
name: test-cluster-$dc
spec:
imageType: split
version: 7.1.26
faultDomain:
key: foundationdb.org/none
processGroupIDPrefix: $dc
dataCenter: $dc
processCounts:
stateless: -1
log: $logCount
seedConnectionString: $connectionString
databaseConfiguration:
redundancy_mode: "double"
usable_regions: 2
regions:
- datacenters:
- id: dc1
priority: 1
- id: dc3
satellite: 1
priority: 2
- id: dc2
satellite: 1
priority: 1
satellite_logs: 3
- datacenters:
- id: dc2
priority: 0
- id: dc3
satellite: 1
priority: 2
- id: dc1
satellite: 1
priority: 1
satellite_logs: 3
processes:
general:
customParameters:
- "knob_disable_posix_kernel_aio=1"
volumeClaimTemplate:
spec:
resources:
requests:
storage: "16G"
podTemplate:
spec:
containers:
- name: foundationdb
resources:
requests:
cpu: 250m
memory: 128Mi