forked from softwaremill/akka-simple-cluster-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for istio mesh cluster bootstrap
* Update to latest version of akka-management * Include workarounds to make cluster bootstrap work with istio as documented in akka/akka-management#209 (comment)
- Loading branch information
Showing
4 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: ServiceEntry | ||
metadata: | ||
name: akka-simple-cluster | ||
spec: | ||
hosts: | ||
- "*.default.pod.cluster.local" | ||
location: MESH_INTERNAL | ||
ports: | ||
- number: 2551 | ||
name: "remoting" | ||
protocol: TCP | ||
- number: 8558 | ||
name: "management" | ||
protocol: HTTP | ||
resolution: NONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: akka-simple-cluster-cluster-ip | ||
spec: | ||
ports: | ||
- name: remoting | ||
port: 2551 | ||
protocol: TCP | ||
targetPort: 2551 | ||
- name: management | ||
port: 8558 | ||
protocol: TCP | ||
targetPort: 8558 | ||
selector: | ||
app: akka-simple-cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ spec: | |
- protocol: TCP | ||
name: api | ||
port: 8080 | ||
targetPort: api | ||
targetPort: api |