fix(pg/dump-local): memory limit env var

This commit is contained in:
JJGadgets
2024-09-17 14:12:51 +08:00
parent 3761052005
commit 56155bc8fe
3 changed files with 4 additions and 2 deletions

View File

@@ -62,6 +62,7 @@ spec:
PG_SC: "local"
PG_CONFIG_VERSION: "15.2-11"
PG_CONFIG_SIZE: "20Gi"
PG_DUMP_LOCAL_MEM: "2Gi"
patches:
- patch: |
$patch: delete

View File

@@ -16,7 +16,8 @@ spec:
metadata:
labels:
egress.home.arpa/apiserver: "allow"
egress.home.arpa/r2: "allow"
#egress.home.arpa/r2: "allow" # TODO: this uses L7 DNS netpols, and each WAL push makes a new DNS request, on top of recursing ndots per request, causing Cilium dnsproxy to crash
egress.home.arpa/world: "allow"
s3.home.arpa/store: "rgw-${CLUSTER_NAME}"
s3.home.arpa/minio-nas: "allow"
prom.home.arpa/kps: "allow"

View File

@@ -73,7 +73,7 @@ spec:
resources:
limits:
cpu: 1000m
memory: 1Gi
memory: ${PG_DUMP_LOCAL_MEM:=1Gi}
---
apiVersion: v1
kind: PersistentVolume