increase postgres resources
This commit is contained in:
+31
-23
@@ -90,29 +90,6 @@ postgresql-ha:
|
||||
# dependency:
|
||||
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql
|
||||
postgresql:
|
||||
enabled: true
|
||||
image:
|
||||
repository: bitnamilegacy/postgresql
|
||||
tag: 16
|
||||
imagePullPolicy: Always
|
||||
global:
|
||||
postgresql:
|
||||
auth:
|
||||
postgresPassword: "" # !!! set on values.private.yaml
|
||||
password: "" # !!! set on values.private.yaml
|
||||
database: "" # !!! set on values.private.yaml
|
||||
username: "" # !!! set on values.private.yaml
|
||||
|
||||
serviceAccount:
|
||||
# serviceAccount resources are owned and managed by the Infrastructure layer.
|
||||
# The CI/CD ServiceAccount used for application deployments does not have
|
||||
# permissions to create or modify serviceAccounts, by design.
|
||||
# In this setup postgresql does not require its own ServiceAccount, so enabling
|
||||
# this would provide no benefit and would cause Helm upgrades to fail due
|
||||
# to RBAC restrictions.
|
||||
create: false
|
||||
|
||||
|
||||
primary:
|
||||
networkPolicy:
|
||||
# Disable NetworkPolicy creation in the Bitnami PostgreSQL subchart.
|
||||
@@ -126,6 +103,37 @@ postgresql:
|
||||
# Infra-owned NetworkPolicies are applied separately and independently
|
||||
# of application charts to maintain a clean separation of responsibilities.
|
||||
enabled: false
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
ephemeral-storage: 2Gi
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 250m
|
||||
ephemeral-storage: 50Mi
|
||||
memory: 256Mi
|
||||
enabled: true
|
||||
image:
|
||||
repository: bitnamilegacy/postgresql
|
||||
tag: 16
|
||||
imagePullPolicy: Always
|
||||
global:
|
||||
postgresql:
|
||||
auth:
|
||||
postgresPassword: "" # !!! set on values.private.yaml
|
||||
password: "" # !!! set on values.private.yaml
|
||||
database: "" # !!! set on values.private.yaml
|
||||
username: "" # !!! set on values.private.yaml
|
||||
serviceAccount:
|
||||
# serviceAccount resources are owned and managed by the Infrastructure layer.
|
||||
# The CI/CD ServiceAccount used for application deployments does not have
|
||||
# permissions to create or modify serviceAccounts, by design.
|
||||
# In this setup postgresql does not require its own ServiceAccount, so enabling
|
||||
# this would provide no benefit and would cause Helm upgrades to fail due
|
||||
# to RBAC restrictions.
|
||||
create: false
|
||||
|
||||
|
||||
pdb:
|
||||
# Disable the PodDisruptionBudget for PostgreSQL.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user