You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| postgres.geodata_databasename_and_username | string |`"geodata"`| geoserver database name and username |
205
205
| postgres.geonode_databasename_and_username | string |`"geonode"`| geonode database name and username |
206
+
| postgres.operator.allowedSourceRanges | list |`[]`| when one or more load balancers are enabled for the cluster, this parameter defines the comma-separated range of IP networks (in CIDR-notation). The corresponding load balancer is accessible only to the networks defined by this parameter. Optional, when empty the load balancer service becomes inaccessible from outside of the Kubernetes cluster. |
| postgres.operator.enableMasterLoadBalancer | string |`nil`| boolean flag to override the operator defaults (set by the enable_master_load_balancer parameter) to define whether to enable the load balancer pointing to the Postgres primary. Optional. |
210
+
| postgres.operator.env | list |`[]`| a dictionary of environment variables. Use usual Kubernetes definition (https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/) for environment variables. Optional. |
206
211
| postgres.operator.numberOfInstances | int |`1`| number of database instances |
207
-
| postgres.operator.parameters.max_connections | int |`200`||
| postgres.operator.patroni | object |`{}`| patroni related configuration (https://patroni.readthedocs.io/en/master/patroni_configuration.html)|
210
214
| postgres.operator.pod_name | string |`"postgresql"`| pod name for postgres containers == teamID for mainifest |
211
215
| postgres.operator.postgres_version | int |`15`| postgres version |
216
+
| postgres.operator.resources | object |`{"limits":{"cpu":"400m","memory":"1Gi"},"requests":{"cpu":"100m","memory":"0.5Gi"}}`| Those parameters define CPU and memory requests and limits for the Postgres container. They are grouped under the resources top-level key with subgroups requests and limits |
217
+
| postgres.operator.resources.limits.cpu | string |`"400m"`| limit cpu as in resource.requests.cpu (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
218
+
| postgres.operator.resources.limits.memory | string |`"1Gi"`| limits memory as in resource.limits.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
219
+
| postgres.operator.resources.requests.cpu | string |`"100m"`| requested cpu as in resource.requests.cpu (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
220
+
| postgres.operator.resources.requests.memory | string |`"0.5Gi"`| requested memory as in resource.requests.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)|
# get password after creation via: kubectl get secret {{ .Release.name }}.{{ .Release.name }}-{{ container_name }}.credentials -o 'jsonpath={.data.password}' | base64 -d
712
+
# -- boolean flag to override the operator defaults (set by the enable_master_load_balancer parameter) to define whether to enable the load balancer pointing to the Postgres primary. Optional.
713
+
enableMasterLoadBalancer:
714
+
# -- when one or more load balancers are enabled for the cluster, this parameter defines the comma-separated range of IP networks (in CIDR-notation).
715
+
# The corresponding load balancer is accessible only to the networks defined by this parameter.
716
+
# Optional, when empty the load balancer service becomes inaccessible from outside of the Kubernetes cluster.
717
+
allowedSourceRanges: []
718
+
# -- a dictionary of environment variables. Use usual Kubernetes definition (https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/)
719
+
# for environment variables. Optional.
720
+
env: []
721
+
# -- additional annotation for postgresql object
722
+
annotations: {}
723
+
# -- patroni related configuration (https://patroni.readthedocs.io/en/master/patroni_configuration.html)
724
+
patroni: {}
725
+
# -- postgres parameters resources
715
726
parameters:
716
-
max_connections: 200
717
-
shared_buffers: 1Gb
718
-
work_mem: 64Mb
727
+
max_connections: "20"
728
+
shared_buffers: 250MB
729
+
work_mem: 12.5Mb
730
+
# --
731
+
clone: {}
732
+
# -- Those parameters define CPU and memory requests and limits for the Postgres container. They are grouped under the resources top-level key with subgroups requests and limits
733
+
resources:
734
+
requests:
735
+
# -- requested memory as in resource.requests.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
736
+
memory: "0.5Gi"
737
+
# -- requested cpu as in resource.requests.cpu (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
738
+
cpu: "100m"
739
+
limits:
740
+
# -- limits memory as in resource.limits.memory (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
741
+
memory: "1Gi"
742
+
# -- limit cpu as in resource.requests.cpu (https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
0 commit comments