first commit
This commit is contained in:
20
k8s/base/database/cluster.yaml
Normal file
20
k8s/base/database/cluster.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: timescale-cluster
|
||||
spec:
|
||||
instances: 3
|
||||
imageName: timescale/timescaledb:2.15.3-pg15
|
||||
storage:
|
||||
size: 50Gi
|
||||
backup:
|
||||
barmanObjectStore:
|
||||
destinationPath: "s3://backups/"
|
||||
endpointURL: "http://minio.minio-system.svc.cluster.local:9000"
|
||||
s3Credentials:
|
||||
accessKeyId:
|
||||
name: s3-creds
|
||||
key: ACCESS_KEY_ID
|
||||
secretAccessKey:
|
||||
name: s3-creds
|
||||
key: SECRET_ACCESS_KEY
|
||||
Reference in New Issue
Block a user