Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
Prev Previous commit
Next Next commit
Update README & minikube fix
  • Loading branch information
AnthonyAmanse committed Aug 9, 2017
commit a09fa3a96f1cb47b1b8dfab68c2a3c1ce8506f13
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,15 @@ FRONT_END_AUTH_URL: https://169.47.241.213:30443/auth
PROXY_DOCKER_HOST: '169.47.241.213'
```

An easy way to change these values is to do `sed -i s#169\.47\.241\.213#<Public-IP-of-your-cluster#g gameon-configmap.yaml` or `sed -i '' s#169\.47\.241\.213#<Public-IP-of-your-cluster>#g gameon-configmap.yaml`.
An easy way to change these values is to do
`sed -i s#169\.47\.241\.213#<Public-IP-of-your-cluster#g gameon-configmap.yaml`
or `sed -i '' s#169\.47\.241\.213#<Public-IP-of-your-cluster>#g gameon-configmap.yaml`.

[Other usage for the script can be found here.](/scripts#replace_ip_-os-sh)
Then, apply the config map on your cluster:
```bash
$ kubectl create -f gameon-configmap.yaml
configmap "gameon-env" created
```

# 2. Create a Volume for your Cluster
You would need to create a volume for your cluster. You can use the provided yaml file. The required keystores will be stored in this volume. The volume will also be used by the [core services](#core-microservices).
Expand Down
4 changes: 2 additions & 2 deletions platform/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ spec:
name: kafka
env:
- name: ADVERTISED_HOST
value: kafka
value: localhost
- name: ADVERTISED_PORT
value: '9092'
- name: AUTO_CREATE_TOPICS
value: "true"
ports:
- containerPort: 9092
name: kafka
name: kafka
14 changes: 0 additions & 14 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,3 @@ Requirements are having a Bluemix account, deployed Cluster in Bluemix container

## install.sh
The script for Travis. It runs build and checks if the build has passed or failed.

## replace\_ip\_< os >.sh
The script for modifying the yaml files in the **core** folder and **setup.yaml**.

* Usage:

1. `replace_ip_<your-os>.sh`
* replaces every instance of `169.47.241.213` in the yaml files inside your **core** folder and **setup.yaml** to the IP of your cluster *(found by executing `kubectl get nodes`)*.
2. `replace_ip_<your-os>.sh <IP-ADDRESS>`
* replaces every instance of `<IP-ADDRESS>` to the IP of your cluster *(found by executing `kubectl get nodes`)*.
* Ex: `replace_ip_OSX.sh 169.47.241.213` replaces every `169.47.241.213` in the files mentioned above.
3. `replace_ip_<your-os>.sh <ip-to-be-replaced> <IP-ADDRESS>`
* replaces every instance of `<ip-to-be-replaced>` to `<IP-ADDRESS>`
* Ex: `replace_ip_OSX.sh 169.47.241.213 192.168.99.100` replaces every `169.47.241.213` to `192.168.99.100`