Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit c77c067

Browse files
committed
More configuration in rp-tooling.conf
1 parent b7554e0 commit c77c067

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

akka-cluster-bootstrap/src/main/resources/rp-tooling.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ akka {
2121
cluster {
2222
bootstrap {
2323
contact-point-discovery {
24-
port-name = akka-mgmt-http
24+
port-name = "akka-mgmt-http"
25+
protocol = "tcp"
26+
# Can be removed once https://github.com/akka/akka/issues/25825 is implemented
27+
service-namespace = ${?RP_NAMESPACE}".svc.cluster.local"
2528
}
2629
}
2730
}

integrateion-test/src/sbt-test/bootstrap-demo/dns-kubernetes/kubernetes/akka-cluster.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ spec:
9595
- name: "RP_ENDPOINT_AKKA_REMOTE_PORT"
9696
value: "10000"
9797
- name: "RP_JAVA_OPTS"
98-
value: "-Dconfig.resource=rp-application.conf -Dakka.management.cluster.bootstrap.contact-point-discovery.discovery-method=akka.discovery.akka-dns -Dakka.management.cluster.bootstrap.contact-point-discovery.effective-name=bootstrap-dns-demo -Dakka.management.cluster.bootstrap.contact-point-discovery.required-contact-point-nr=2 -Dakka.discovery.kubernetes-api.pod-label-selector=actorSystemName=hoboken1"
98+
value: "-Dconfig.resource=rp-application.conf -Dakka.management.cluster.bootstrap.contact-point-discovery.discovery-method=akka.discovery.akka-dns -Dakka.management.cluster.bootstrap.contact-point-discovery.service-name=bootstrap-dns-demo-internal -Dakka.management.cluster.bootstrap.contact-point-discovery.required-contact-point-nr=2 -Dakka.discovery.kubernetes-api.pod-label-selector=actorSystemName=hoboken1"
9999
- name: "RP_KUBERNETES_POD_IP"
100100
valueFrom:
101101
fieldRef:

integrateion-test/src/sbt-test/bootstrap-demo/dns-kubernetes/kubernetes/openshift.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ spec:
9595
- name: "RP_ENDPOINT_AKKA_REMOTE_PORT"
9696
value: "10000"
9797
- name: "RP_JAVA_OPTS"
98-
value: "-Dconfig.resource=rp-application.conf -Dakka.management.cluster.bootstrap.contact-point-discovery.discovery-method=akka.discovery.akka-dns -Dakka.management.cluster.bootstrap.contact-point-discovery.effective-name=bootstrap-dns-demo -Dakka.management.cluster.bootstrap.contact-point-discovery.required-contact-point-nr=2 -Dakka.discovery.kubernetes-api.pod-label-selector=actorSystemName=hoboken1"
98+
value: "-Dconfig.resource=rp-application.conf -Dakka.management.cluster.bootstrap.contact-point-discovery.discovery-method=akka.discovery.akka-dns -Dakka.management.cluster.bootstrap.contact-point-discovery.service-name=bootstrap-dns-demo-internal -Dakka.management.cluster.bootstrap.contact-point-discovery.required-contact-point-nr=2 -Dakka.discovery.kubernetes-api.pod-label-selector=actorSystemName=hoboken1"
9999
- name: "RP_KUBERNETES_POD_IP"
100100
valueFrom:
101101
fieldRef:

0 commit comments

Comments
 (0)