diff --git a/charts/pega/templates/pega-search-deployment.yaml b/charts/pega/templates/pega-search-deployment.yaml index 58ecb5d8a..13e2e003f 100644 --- a/charts/pega/templates/pega-search-deployment.yaml +++ b/charts/pega/templates/pega-search-deployment.yaml @@ -53,8 +53,10 @@ spec: resources: requests: cpu: "0.25" + memory: "2Gi" limits: cpu: "{{ .Values.search.cpuLimit }}" + memory: "{{ .Values.search.memLimit }}" ports: - containerPort: 9200 name: http diff --git a/charts/pega/values.yaml b/charts/pega/values.yaml index 4cbeed71a..1f1579285 100644 --- a/charts/pega/values.yaml +++ b/charts/pega/values.yaml @@ -182,6 +182,15 @@ cassandra: # See https://github.com/helm/charts/blob/master/incubator/cassandra/values.yaml persistence: enabled: true + ## Minimum memory for development is 4GB and 2 CPU cores + ## Minimum memory for production is 8GB and 4 CPU cores + resources: + requests: + memory: "4Gi" + cpu: 2 + limits: + memory: "8Gi" + cpu: 4 # DDS (external Cassandra) connection settings. # These settings should only be modified if you are using a custom Cassandra deployment. @@ -208,6 +217,8 @@ search: image: "YOUR_ELASTICSEARCH_IMAGE:TAG" # Enter the CPU limit for each search node (recommended 1). cpuLimit: 1 + # Enter the Memory limit for each search node (recommended 4Gi). + memLimit: "4Gi" # Enter the volume size limit for each search node (recommended 5Gi). volumeSize: "5Gi"