chore(postgres): set resource request and limit
This commit is contained in:
7
postgres/cnpg-values.yaml
Normal file
7
postgres/cnpg-values.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user