Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarks/us 442184 #363

Merged
merged 14 commits into from
Feb 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ data:
{{- if .Values.server.diagnostics_metric_level }}
DIAGNOSTICS_METRIC_LEVEL: {{ .Values.server.diagnostics_metric_level | quote }}
{{- end }}
{{- if .Values.server.diagnostic_log_file_size_mb }}
DIAGNOSTIC_LOG_FILE_SIZE_MB: {{ .Values.server.diagnostic_log_file_size_mb | quote }}
{{- end }}
{{- if .Values.server.diagnostics_file_count }}
DIAGNOSTICS_FILE_COUNT: {{ .Values.server.diagnostics_file_count | quote }}
{{- end }}
{{- if .Values.server.diagnostic_log_file_size_mb }}
DIAGNOSTIC_LOG_FILE_SIZE_MB: {{ .Values.server.diagnostic_log_file_size_mb | quote }}
{{- end }}
{{ end }}
8 changes: 4 additions & 4 deletions charts/pega/charts/hazelcast/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ password: ""
# Memory and CPU settings for HZ service
resources:
requests:
memory: "2Gi"
cpu: 2
memory: "1Gi"
cpu: 1
limits:
memory: "4Gi"
memory: "1Gi"
cpu: 2
# client settings for hazelcast
client:
clusterName: "PRPC"
# Server side settings for hazelcast
server:
java_opts: "-XX:MaxRAMPercentage=80.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/hazelcast/logs/heapdump.hprof
java_opts: "-Xms820m -Xmx820m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/hazelcast/logs/heapdump.hprof
-XX:+UseParallelGC -Xlog:gc*,gc+phases=debug:file=/opt/hazelcast/logs/gc.log:time,pid,tags:filecount=5,filesize=3m"
min_cluster_size: "3"
jmx_enabled: "true"
Expand Down
4 changes: 2 additions & 2 deletions terratest/src/test/pega/pega-hz-deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ func VerifyHazelcastDeployment(t *testing.T, yamlContent string) {
require.Equal(t, intstr.FromInt(5701), statefulsetSpec.Containers[0].LivenessProbe.HTTPGet.Port)
require.Equal(t, "/hazelcast/health/ready", statefulsetSpec.Containers[0].ReadinessProbe.HTTPGet.Path)
require.Equal(t, intstr.FromInt(5701), statefulsetSpec.Containers[0].ReadinessProbe.HTTPGet.Port)
require.Equal(t, "2", statefulsetSpec.Containers[0].Resources.Requests.Cpu().String())
require.Equal(t, "2Gi", statefulsetSpec.Containers[0].Resources.Requests.Memory().String())
require.Equal(t, "1", statefulsetSpec.Containers[0].Resources.Requests.Cpu().String())
require.Equal(t, "1Gi", statefulsetSpec.Containers[0].Resources.Requests.Memory().String())
require.Equal(t, statefulsetSpec.Volumes[0].Name, "logs")
require.Equal(t, statefulsetSpec.Volumes[1].Name, "pega-volume-credentials")
require.Equal(t, statefulsetSpec.Volumes[1].Secret.SecretName, "pega-credentials-secret")
Expand Down