stuff
This commit is contained in:
35
database/main.yml
Normal file
35
database/main.yml
Normal 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
|
||||
|
||||
|
Reference in New Issue
Block a user