This commit is contained in:
2023-10-19 12:39:29 +02:00
parent b77d8da90e
commit 823049e14b
16 changed files with 398 additions and 92 deletions

35
database/main.yml Normal file
View File

@ -0,0 +1,35 @@
---
apiVersion: stackgres.io/v1
kind: SGPostgresConfig
metadata:
name: database
namespace: mainscnt
spec:
postgresVersion: '15'
postgresql.conf:
shared_preload_libraries: timescaledb
max_worker_processes: '32'
max_parallel_workers: '16'
---
apiVersion: stackgres.io/v1
kind: SGCluster
metadata:
name: database
namespace: mainscnt
spec:
instances: 1
postgres:
version: '15'
extensions:
- name: timescaledb
ssl:
enabled: true
configurations:
sgPostgresConfig: database
pods:
persistentVolume:
size: '1000Gi'
storageClass: nfs-client
disableConnectionPooling: true