fix timescale version
This commit is contained in:
@@ -4,20 +4,15 @@ metadata:
|
||||
name: timescale-cluster
|
||||
spec:
|
||||
instances: 3
|
||||
|
||||
imageName: timescale/timescaledb:2.15.3-pg15
|
||||
|
||||
# ✅ Initiales Setup
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:15
|
||||
bootstrap:
|
||||
initdb:
|
||||
database: app
|
||||
owner: app
|
||||
|
||||
# ✅ Storage
|
||||
owner: app
|
||||
postInitSQL:
|
||||
- CREATE EXTENSION IF NOT EXISTS timescaledb;
|
||||
storage:
|
||||
size: 50Gi
|
||||
|
||||
# ✅ Ressourcen (wichtig!)
|
||||
resources:
|
||||
requests:
|
||||
memory: "2Gi"
|
||||
@@ -25,17 +20,11 @@ spec:
|
||||
limits:
|
||||
memory: "4Gi"
|
||||
cpu: "2"
|
||||
|
||||
# ✅ High Availability
|
||||
affinity:
|
||||
enablePodAntiAffinity: true
|
||||
topologyKey: kubernetes.io/hostname
|
||||
|
||||
# ✅ Monitoring
|
||||
monitoring:
|
||||
enablePodMonitor: true
|
||||
|
||||
# ✅ PostgreSQL / Timescale Tuning
|
||||
postgresql:
|
||||
parameters:
|
||||
max_connections: "100" # mehr Verbindungen 200
|
||||
@@ -47,6 +36,7 @@ spec:
|
||||
checkpoint_completion_target: "0.9"
|
||||
random_page_cost: "1.1" # SSD optimiert
|
||||
effective_io_concurrency: "200"
|
||||
shared_preload_libraries: "timescaledb"
|
||||
backup:
|
||||
retentionPolicy: "7d" # Backup älter als 7 Tage -> automatisch gelöscht
|
||||
barmanObjectStore:
|
||||
@@ -55,9 +45,9 @@ spec:
|
||||
s3Credentials:
|
||||
accessKeyId:
|
||||
name: s3-creds
|
||||
key: ACCESS_KEY_ID
|
||||
key: S3_ACCESS_KEY_ID
|
||||
secretAccessKey:
|
||||
name: s3-creds
|
||||
key: SECRET_ACCESS_KEY
|
||||
key: S3_SECRET_ACCESS_KEY
|
||||
wal:
|
||||
compression: gzip
|
||||
@@ -11,7 +11,7 @@ data:
|
||||
name: timescale-restore-test
|
||||
spec:
|
||||
instances: 1
|
||||
imageName: timescale/timescaledb:2.15.3-pg15
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:15
|
||||
bootstrap:
|
||||
recovery:
|
||||
source: timescale-cluster
|
||||
|
||||
Reference in New Issue
Block a user