2023-07-27 08:09:34 +00:00
|
|
|
apiVersion: postgresql.cnpg.io/v1
|
|
|
|
kind: Cluster
|
|
|
|
metadata:
|
|
|
|
name: grafana-db
|
|
|
|
namespace: monitoring
|
|
|
|
|
|
|
|
spec:
|
|
|
|
instances: 1
|
|
|
|
|
|
|
|
storage:
|
|
|
|
size: 2Gi
|
2024-01-19 23:34:27 +00:00
|
|
|
storageClass: redundant-storage-class
|
2023-07-27 08:09:34 +00:00
|
|
|
|
|
|
|
bootstrap:
|
|
|
|
initdb:
|
|
|
|
database: grafana
|
|
|
|
owner: grafana
|
|
|
|
secret:
|
|
|
|
name: grafana-db
|
|
|
|
|
|
|
|
postgresql:
|
|
|
|
pg_hba:
|
|
|
|
- host all all all md5
|
|
|
|
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 100Mi
|
|
|
|
limits:
|
|
|
|
cpu: 500m
|
|
|
|
memory: 500Mi
|