chore(postgres): set resource request and limit

This commit is contained in:
Masaki Yatsu
2025-11-13 11:12:10 +09:00
parent 9ee15ab9f0
commit 878ab18d5b
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 100m
memory: 256Mi

View File

@@ -36,7 +36,8 @@ install-cnpg:
@just add-helm-repo @just add-helm-repo
@helm upgrade --cleanup-on-fail --install cnpg cnpg/cloudnative-pg \ @helm upgrade --cleanup-on-fail --install cnpg cnpg/cloudnative-pg \
--version ${CNPG_CHART_VERSION} \ --version ${CNPG_CHART_VERSION} \
-n ${CNPG_NAMESPACE} --create-namespace --wait -n ${CNPG_NAMESPACE} --create-namespace --wait \
-f cnpg-values.yaml
# Uninstall CloudNativePG # Uninstall CloudNativePG
uninstall-cnpg: uninstall-cnpg: