This is an automated email from the ASF dual-hosted git repository.
roiocam pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-samples.git
The following commit(s) were added to refs/heads/main by this push:
new 32c4dfb chore: update pekko-management-port (#108)
32c4dfb is described below
commit 32c4dfb264f7da539d8dd7bae6ad03ad1e73f03c
Author: AndyChen(Jingzhang) <[email protected]>
AuthorDate: Fri May 10 20:57:22 2024 +0800
chore: update pekko-management-port (#108)
---
pekko-sample-cluster-kubernetes-java/README.md | 2 +-
pekko-sample-cluster-kubernetes-java/kubernetes/pekko-cluster.yml | 2 +-
pekko-sample-cluster-kubernetes-java/pom.xml | 2 +-
pekko-sample-cluster-kubernetes-scala/README.md | 2 +-
pekko-sample-cluster-kubernetes-scala/build.sbt | 2 +-
pekko-sample-cluster-kubernetes-scala/kubernetes/pekko-cluster.yml | 2 +-
.../processor/src/main/resources/application.conf | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pekko-sample-cluster-kubernetes-java/README.md
b/pekko-sample-cluster-kubernetes-java/README.md
index 8d14084..9c85703 100644
--- a/pekko-sample-cluster-kubernetes-java/README.md
+++ b/pekko-sample-cluster-kubernetes-java/README.md
@@ -52,7 +52,7 @@ for 'hello world':
You can inspect the Apache Pekko Cluster membership status with the [Cluster
HTTP
Management](https://pekko.apache.org/docs/pekko-management/current/cluster-http-management.html).
- curl http://127.0.0.1:8558/cluster/members/
+ curl http://127.0.0.1:7626/cluster/members/
To check what you have done in Kubernetes so far, you can do:
diff --git a/pekko-sample-cluster-kubernetes-java/kubernetes/pekko-cluster.yml
b/pekko-sample-cluster-kubernetes-java/kubernetes/pekko-cluster.yml
index 4e4e1e4..cc1b606 100644
--- a/pekko-sample-cluster-kubernetes-java/kubernetes/pekko-cluster.yml
+++ b/pekko-sample-cluster-kubernetes-java/kubernetes/pekko-cluster.yml
@@ -42,7 +42,7 @@ spec:
protocol: TCP
# pekko-management and bootstrap
- name: management
- containerPort: 8558
+ containerPort: 7626
protocol: TCP
- name: http
containerPort: 8080
diff --git a/pekko-sample-cluster-kubernetes-java/pom.xml
b/pekko-sample-cluster-kubernetes-java/pom.xml
index dfd8ed9..fdd00ac 100644
--- a/pekko-sample-cluster-kubernetes-java/pom.xml
+++ b/pekko-sample-cluster-kubernetes-java/pom.xml
@@ -100,7 +100,7 @@
<from>adoptopenjdk:11-jre-hotspot</from>
<ports>
<port>8080</port>
- <port>8558</port>
+ <port>7626</port>
</ports>
<entryPoint>
java $JAVA_OPTS -cp '/maven/*'
org.apache.pekko.cluster.bootstrap.demo.DemoApp
diff --git a/pekko-sample-cluster-kubernetes-scala/README.md
b/pekko-sample-cluster-kubernetes-scala/README.md
index 200a30f..f101802 100644
--- a/pekko-sample-cluster-kubernetes-scala/README.md
+++ b/pekko-sample-cluster-kubernetes-scala/README.md
@@ -53,7 +53,7 @@ for 'hello world':
You can inspect the Apache Pekko Cluster membership status with the [Cluster
HTTP
Management](https://pekko.apache.org/docs/pekko-management/current/cluster-http-management.html).
- curl http://127.0.0.1:8558/cluster/members/
+ curl http://127.0.0.1:7626/cluster/members/
To check what you have done in Kubernetes so far, you can do:
diff --git a/pekko-sample-cluster-kubernetes-scala/build.sbt
b/pekko-sample-cluster-kubernetes-scala/build.sbt
index 77a3be1..176723c 100644
--- a/pekko-sample-cluster-kubernetes-scala/build.sbt
+++ b/pekko-sample-cluster-kubernetes-scala/build.sbt
@@ -20,7 +20,7 @@ mainClass in (Compile, run) :=
Some("pekko.sample.cluster.kubernetes.DemoApp")
enablePlugins(JavaServerAppPackaging, DockerPlugin)
-dockerExposedPorts := Seq(8080, 8558, 17355)
+dockerExposedPorts := Seq(8080, 7626, 17355)
dockerUpdateLatest := true
dockerUsername := sys.props.get("docker.username")
dockerRepository := sys.props.get("docker.registry")
diff --git a/pekko-sample-cluster-kubernetes-scala/kubernetes/pekko-cluster.yml
b/pekko-sample-cluster-kubernetes-scala/kubernetes/pekko-cluster.yml
index 7c382cc..245e822 100644
--- a/pekko-sample-cluster-kubernetes-scala/kubernetes/pekko-cluster.yml
+++ b/pekko-sample-cluster-kubernetes-scala/kubernetes/pekko-cluster.yml
@@ -38,7 +38,7 @@ spec:
ports:
# pekko-management and bootstrap
- name: management
- containerPort: 8558
+ containerPort: 7626
protocol: TCP
- name: http
containerPort: 8080
diff --git
a/pekko-sample-kafka-to-sharding-scala/processor/src/main/resources/application.conf
b/pekko-sample-kafka-to-sharding-scala/processor/src/main/resources/application.conf
index d81db77..fa1b0e3 100644
---
a/pekko-sample-kafka-to-sharding-scala/processor/src/main/resources/application.conf
+++
b/pekko-sample-kafka-to-sharding-scala/processor/src/main/resources/application.conf
@@ -40,6 +40,6 @@ pekko {
pekko.management {
http {
hostname = "127.0.0.1"
- port = 8558
+ port = 7626
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]