2026-10-19 03:03:09 -04:00
|
|
|
apiVersion: postgresql.cnpg.io/v1
|
|
|
|
|
kind: Cluster
|
|
|
|
|
metadata:
|
|
|
|
|
name: portal
|
|
|
|
|
namespace: sirius-growth
|
|
|
|
|
spec:
|
|
|
|
|
instances: 1
|
|
|
|
|
imageName: ghcr.io/cloudnative-pg/postgresql:16
|
|
|
|
|
storage:
|
|
|
|
|
size: 5Gi
|
|
|
|
|
storageClass: local-path
|
|
|
|
|
affinity:
|
|
|
|
|
nodeSelector:
|
|
|
|
|
kubernetes.io/hostname: siriussec
|
|
|
|
|
bootstrap:
|
|
|
|
|
initdb:
|
|
|
|
|
database: portal
|
|
|
|
|
owner: portal
|
|
|
|
|
secret:
|
|
|
|
|
name: sirius-growth-portal-db
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: 100m
|
|
|
|
|
memory: 256Mi
|
|
|
|
|
limits:
|
|
|
|
|
memory: 1Gi
|
2026-10-27 01:32:20 -04:00
|
|
|
# Scraped via podmonitor.yaml in this directory (hand-written; see the comment
|
|
|
|
|
# in apps/base/forgejo/podmonitor.yaml for why enablePodMonitor is false).
|
|
|
|
|
# Only the operator's default query set here — this database needs no custom
|
|
|
|
|
# application metrics.
|
|
|
|
|
monitoring:
|
|
|
|
|
enablePodMonitor: false
|
|
|
|
|
disableDefaultQueries: false
|
|
|
|
|
customQueriesConfigMap:
|
|
|
|
|
- name: cnpg-default-monitoring
|
|
|
|
|
key: queries
|