2023-10-19 12:39:29 +02:00

36 lines
652 B
YAML

---
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