Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 1a5fae1

Browse files
committed
Update README and scipts
1 parent 824c15a commit 1a5fae1

9 files changed

Lines changed: 37 additions & 40 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# GameOn! Java Microservices on Kubernetes with polyglot ecosystem
44

5-
This code demonstrates deployment of a Microservices based application [Game On!]() on to Kubernetes cluster which exists together with a polyglot ecosystem. Game On! is a throwback text-based adventure built to help you explore microservice architectures and related concepts. GameOn! deployment has two sets of microservice, core and platform. The core microservices are written in Java, coexisting with other polyglot microservices. In addition, there are platform services, which provide service discovery, registration and routing for different microservices. All run in in Docker containers managed by Kubernetes Cluster.
5+
This code demonstrates deployment of a Microservices based application [Game On!](https://book.gameontext.org) on to Kubernetes cluster which exists together with a polyglot ecosystem. Game On! is a throwback text-based adventure built to help you explore microservice architectures and related concepts. GameOn! deployment has two sets of microservice, core and platform. The core microservices are written in Java, coexisting with other polyglot microservices. In addition, there are platform services, which provide service discovery, registration and routing for different microservices. All run in in Docker containers managed by Kubernetes Cluster.
66

77
![Twitter](images/gameon-microservices.png)
88

@@ -58,10 +58,7 @@ You can also use the script provided that replaces the default values to the IP
5858

5959
The script replaces every instance of `169.47.241.213` in the files of your [core services](#core-microservices) yaml files and `setup.yaml` to the IP of your cluster *(found by executing `kubectl get nodes`)*.
6060

61-
Usage for the script can also be
62-
* `./scripts/replace_ip_<OS>.sh <IP-to-be-replaced>` replaces every instance of `<IP-to-be-replaced>` in the same yaml files to the IP of your current cluster.
63-
64-
This can be used if you have already changed `169.47.241.213` to a new IP and you want to work in another cluster that has a different IP.
61+
[Other usage for the script can be found here.](/tree/master/scripts#replace_ip_-os-sh)
6562

6663
<details>
6764

core/auth.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://192.168.99.100:30443/players/v1/accounts
66+
value : https://169.47.241.213:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://192.168.99.100:30443/#/login/callback
68+
value : https://169.47.241.213:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://192.168.99.100:30443/#/game
70+
value : https://169.47.241.213:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://192.168.99.100:30443/auth
72+
value : https://169.47.241.213:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM
@@ -79,7 +79,7 @@ spec:
7979
- name: LICENSE
8080
value : accept
8181
- name: PROXY_DOCKER_HOST
82-
value : '192.168.99.100'
82+
value : '169.47.241.213'
8383
- name: ADMIN_PASSWORD
8484
value : admin
8585
- name: WLP_SKIP_MAXPERMSIZE

core/map.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://192.168.99.100:30443/players/v1/accounts
66+
value : https://169.47.241.213:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://192.168.99.100:30443/#/login/callback
68+
value : https://169.47.241.213:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://192.168.99.100:30443/#/game
70+
value : https://169.47.241.213:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://192.168.99.100:30443/auth
72+
value : https://169.47.241.213:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM
@@ -79,7 +79,7 @@ spec:
7979
- name: LICENSE
8080
value : accept
8181
- name: PROXY_DOCKER_HOST
82-
value : '192.168.99.100'
82+
value : '169.47.241.213'
8383
- name: ADMIN_PASSWORD
8484
value : admin
8585
- name: WLP_SKIP_MAXPERMSIZE

core/mediator.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://192.168.99.100:30443/players/v1/accounts
66+
value : https://169.47.241.213:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://192.168.99.100:30443/#/login/callback
68+
value : https://169.47.241.213:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://192.168.99.100:30443/#/game
70+
value : https://169.47.241.213:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://192.168.99.100:30443/auth
72+
value : https://169.47.241.213:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM

core/player.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ spec:
6868
- name: KAFKA_SERVICE_URL
6969
value : kafka:9092
7070
- name: FRONT_END_PLAYER_URL
71-
value : https://192.168.99.100:30443/players/v1/accounts
71+
value : https://169.47.241.213:30443/players/v1/accounts
7272
- name: FRONT_END_SUCCESS_CALLBACK
73-
value : https://192.168.99.100:30443/#/login/callback
73+
value : https://169.47.241.213:30443/#/login/callback
7474
- name: FRONT_END_FAIL_CALLBACK
75-
value : https://192.168.99.100:30443/#/game
75+
value : https://169.47.241.213:30443/#/game
7676
- name: FRONT_END_AUTH_URL
77-
value : https://192.168.99.100:30443/auth
77+
value : https://169.47.241.213:30443/auth
7878
- name: GAMEON_MODE
7979
value : development
8080
- name: TARGET_PLATFORM
@@ -84,7 +84,7 @@ spec:
8484
- name: LICENSE
8585
value : accept
8686
- name: PROXY_DOCKER_HOST
87-
value : '192.168.99.100'
87+
value : '169.47.241.213'
8888
- name: ADMIN_PASSWORD
8989
value : admin
9090
- name: WLP_SKIP_MAXPERMSIZE

core/proxy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ spec:
6868
- name: KAFKA_SERVICE_URL
6969
value : kafka:9092
7070
- name: FRONT_END_PLAYER_URL
71-
value : https://192.168.99.100:30443/players/v1/accounts
71+
value : https://169.47.241.213:30443/players/v1/accounts
7272
- name: FRONT_END_SUCCESS_CALLBACK
73-
value : https://192.168.99.100:30443/#/login/callback
73+
value : https://169.47.241.213:30443/#/login/callback
7474
- name: FRONT_END_FAIL_CALLBACK
75-
value : https://192.168.99.100:30443/#/game
75+
value : https://169.47.241.213:30443/#/game
7676
- name: FRONT_END_AUTH_URL
77-
value : https://192.168.99.100:30443/auth
77+
value : https://169.47.241.213:30443/auth
7878
- name: GAMEON_MODE
7979
value : development
8080
- name: TARGET_PLATFORM
@@ -84,7 +84,7 @@ spec:
8484
- name: LICENSE
8585
value : accept
8686
- name: PROXY_DOCKER_HOST
87-
value : '192.168.99.100'
87+
value : '169.47.241.213'
8888
- name: ADMIN_PASSWORD
8989
value : admin
9090
- name: WLP_SKIP_MAXPERMSIZE

core/room.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ spec:
6363
- name: KAFKA_SERVICE_URL
6464
value : kafka:9092
6565
- name: FRONT_END_PLAYER_URL
66-
value : https://192.168.99.100:30443/players/v1/accounts
66+
value : https://169.47.241.213:30443/players/v1/accounts
6767
- name: FRONT_END_SUCCESS_CALLBACK
68-
value : https://192.168.99.100:30443/#/login/callback
68+
value : https://169.47.241.213:30443/#/login/callback
6969
- name: FRONT_END_FAIL_CALLBACK
70-
value : https://192.168.99.100:30443/#/game
70+
value : https://169.47.241.213:30443/#/game
7171
- name: FRONT_END_AUTH_URL
72-
value : https://192.168.99.100:30443/auth
72+
value : https://169.47.241.213:30443/auth
7373
- name: GAMEON_MODE
7474
value : development
7575
- name: TARGET_PLATFORM
@@ -79,7 +79,7 @@ spec:
7979
- name: LICENSE
8080
value : accept
8181
- name: PROXY_DOCKER_HOST
82-
value : '192.168.99.100'
82+
value : '169.47.241.213'
8383
- name: ADMIN_PASSWORD
8484
value : admin
8585
- name: WLP_SKIP_MAXPERMSIZE

core/webapp.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ spec:
5858
- name: KAFKA_SERVICE_URL
5959
value : kafka:9092
6060
- name: FRONT_END_PLAYER_URL
61-
value : https://192.168.99.100:30443/players/v1/accounts
61+
value : https://169.47.241.213:30443/players/v1/accounts
6262
- name: FRONT_END_SUCCESS_CALLBACK
63-
value : https://192.168.99.100:30443/#/login/callback
63+
value : https://169.47.241.213:30443/#/login/callback
6464
- name: FRONT_END_FAIL_CALLBACK
65-
value : https://192.168.99.100:30443/#/game
65+
value : https://169.47.241.213:30443/#/game
6666
- name: FRONT_END_AUTH_URL
67-
value : https://192.168.99.100:30443/auth
67+
value : https://169.47.241.213:30443/auth
6868
- name: GAMEON_MODE
6969
value : development
7070
- name: TARGET_PLATFORM
@@ -74,7 +74,7 @@ spec:
7474
- name: LICENSE
7575
value : accept
7676
- name: PROXY_DOCKER_HOST
77-
value : '192.168.99.100'
77+
value : '169.47.241.213'
7878
- name: ADMIN_PASSWORD
7979
value : admin
8080
- name: WLP_SKIP_MAXPERMSIZE

setup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
image: anthonyamanse/keystore
1313
env:
1414
- name: IP
15-
value: '192.168.99.100'
15+
value: '169.47.241.213'
1616
volumeMounts:
1717
- name: keystore
1818
mountPath: /tmp/keystore/

0 commit comments

Comments
 (0)