Skip to content

Commit

Permalink
set management port to Pekko's new default 7626
Browse files Browse the repository at this point in the history
Signed-off-by: Stanchev Aleksandar <aleksandar.stanchev@bosch.com>
  • Loading branch information
alstanchev authored and Aleksandar Stanchev committed Aug 28, 2023
1 parent dde02f2 commit eec6253
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions deployment/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
# volumes:
# - ditto_log_files:/var/log/ditto
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand Down Expand Up @@ -76,7 +76,7 @@ services:
# volumes:
# - ditto_log_files:/var/log/ditto
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand Down Expand Up @@ -105,7 +105,7 @@ services:
# volumes:
# - ditto_log_files:/var/log/ditto
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand Down Expand Up @@ -135,7 +135,7 @@ services:
#volumes:
# - ditto_log_files:/var/log/ditto
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand Down Expand Up @@ -168,7 +168,7 @@ services:
# volumes:
# - ditto_log_files:/var/log/ditto
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand Down
10 changes: 5 additions & 5 deletions deployment/docker/sandbox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
- JAVA_TOOL_OPTIONS=-XX:ActiveProcessorCount=1 -XX:+ExitOnOutOfMemoryError -XX:+UseContainerSupport -XX:+UseStringDeduplication -Xss512k -XX:MaxRAMPercentage=50 -XX:+UseG1GC -XX:MaxGCPauseMillis=500 -Dpekko.coordinated-shutdown.exit-jvm=on -Dpekko.cluster.shutdown-after-unsuccessful-join-seed-nodes=280s -Dpekko.cluster.failure-detector.threshold=15.0 -Dpekko.cluster.failure-detector.expected-response-after=10s -Dpekko.cluster.failure-detector.acceptable-heartbeat-pause=20s -Dpekko.cluster.downing-provider-class=""
- MONGO_DB_HOSTNAME=mongodb
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand All @@ -66,7 +66,7 @@ services:
- JAVA_TOOL_OPTIONS=-XX:ActiveProcessorCount=1 -XX:+ExitOnOutOfMemoryError -XX:+UseContainerSupport -XX:+UseStringDeduplication -Xss512k -XX:MaxRAMPercentage=50 -XX:+UseG1GC -XX:MaxGCPauseMillis=500 -Dpekko.coordinated-shutdown.exit-jvm=on -Dpekko.cluster.shutdown-after-unsuccessful-join-seed-nodes=280s -Dpekko.cluster.failure-detector.threshold=15.0 -Dpekko.cluster.failure-detector.expected-response-after=10s -Dpekko.cluster.failure-detector.acceptable-heartbeat-pause=20s -Dpekko.cluster.downing-provider-class=""
- MONGO_DB_HOSTNAME=mongodb
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand All @@ -89,7 +89,7 @@ services:
- JAVA_TOOL_OPTIONS=-XX:ActiveProcessorCount=1 -XX:+ExitOnOutOfMemoryError -XX:+UseContainerSupport -XX:+UseStringDeduplication -Xss512k -XX:MaxRAMPercentage=50 -XX:+UseG1GC -XX:MaxGCPauseMillis=500 -Dpekko.coordinated-shutdown.exit-jvm=on -Dpekko.cluster.shutdown-after-unsuccessful-join-seed-nodes=280s -Dpekko.cluster.failure-detector.threshold=15.0 -Dpekko.cluster.failure-detector.expected-response-after=10s -Dpekko.cluster.failure-detector.acceptable-heartbeat-pause=20s -Dpekko.cluster.downing-provider-class=""
- MONGO_DB_HOSTNAME=mongodb
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand All @@ -114,7 +114,7 @@ services:
# - JAVA_TOOL_OPTIONS=-XX:ActiveProcessorCount=1 -XX:+ExitOnOutOfMemoryError -XX:+UseContainerSupport -XX:+UseStringDeduplication -Xss512k -XX:MaxRAMPercentage=50 -XX:+UseG1GC -XX:MaxGCPauseMillis=500 -Dpekko.coordinated-shutdown.exit-jvm=on -Dpekko.cluster.shutdown-after-unsuccessful-join-seed-nodes=280s -Dpekko.cluster.failure-detector.threshold=15.0 -Dpekko.cluster.failure-detector.expected-response-after=10s -Dpekko.cluster.failure-detector.acceptable-heartbeat-pause=20s -Dpekko.cluster.downing-provider-class=""
# - MONGO_DB_HOSTNAME=mongodb
# healthcheck:
# test: curl --fail `hostname`:8558/alive || exit 1
# test: curl --fail `hostname`:7626/alive || exit 1
# interval: 30s
# timeout: 15s
# retries: 4
Expand Down Expand Up @@ -146,7 +146,7 @@ services:
-Dditto.gateway.health-check.cluster-roles.expected.2=search
-Dditto.gateway.health-check.cluster-roles.expected.3=gateway
healthcheck:
test: curl --fail `hostname`:8558/alive || exit 1
test: curl --fail `hostname`:7626/alive || exit 1
interval: 30s
timeout: 15s
retries: 4
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm/ditto/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ pekko:
# mgmthttp holds configuration for the Pekko cluster management
mgmthttp:
# port defines the Port to use for pekko http management
port: 8558
port: 7626

# Set "dittoTag" in order to specify another Ditto version to use for all Ditto services:
# you may also use "1" (for latest Ditto 1.x.x) or "1.5" (for latest Ditto 1.5.x)
Expand Down
10 changes: 5 additions & 5 deletions deployment/kubernetes/deploymentFiles/ditto/ditto-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -147,7 +147,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -248,7 +248,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -349,7 +349,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -449,7 +449,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down
10 changes: 5 additions & 5 deletions deployment/openshift/ditto/ditto-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -102,7 +102,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -174,7 +174,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -245,7 +245,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down Expand Up @@ -317,7 +317,7 @@ spec:
containerPort: 2551
protocol: TCP
- name: management
containerPort: 8558
containerPort: 7626
protocol: TCP
readinessProbe:
httpGet:
Expand Down

0 comments on commit eec6253

Please sign in to comment.