File tree 1 file changed +12
-8
lines changed
fleet/lib/cnpg-cluster/overlays/manke
1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,16 @@ spec:
12
12
13
13
postgresql :
14
14
parameters :
15
+ max_worker_processes : " 40"
16
+ max_logical_replication_workers : " 20"
15
17
max_connections : " 1000"
16
- shared_buffers : 2GB
17
- work_mem : 32MB
18
- effective_cache_size : 6GB
18
+ shared_buffers : 4GB
19
+ work_mem : 64MB
20
+ effective_cache_size : 12GB
19
21
idle_session_timeout : 1h
22
+ max_slot_wal_keep_size : 10GB
20
23
pg_hba :
24
+ - host replication replicauser all md5
21
25
- host all all 139.229.134.0/23 md5
22
26
- host all all 139.229.136.0/21 md5
23
27
- host all all 139.229.144.0/20 md5
@@ -30,15 +34,15 @@ spec:
30
34
name : cnpg-cluster-superuser
31
35
32
36
storage :
33
- size : 5Gi
37
+ size : 150Gi
34
38
35
39
monitoring :
36
40
enablePodMonitor : true
37
41
38
42
resources :
39
43
limits :
40
- cpu : " 4 "
41
- memory : 8Gi
44
+ cpu : " 16 "
45
+ memory : 64Gi
42
46
requests :
43
- cpu : " 4 "
44
- memory : 8Gi
47
+ cpu : " 16 "
48
+ memory : 64Gi
You can’t perform that action at this time.
0 commit comments