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

Commit 4544876

Browse files
committed
updated README and deploy script
1 parent b94361e commit 4544876

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,20 @@ To register the deployed rooms in the cluster, you will need to use the UI of yo
277277
* You can learn more about the details of registering a room [**here**](https://gameontext.gitbooks.io/gameon-gitbook/content/walkthroughs/registerRoom.html).
278278
* You can build your own room by following [GameOn's guide](https://gameontext.gitbooks.io/gameon-gitbook/content/walkthroughs/createRoom.html)
279279

280+
## Troubleshooting
281+
* If you can't access the app on the browser, make sure you are using `https://` on port 30443.
282+
* If something is wrong with a specific service, view its logs using `kubectl logs <pod-name-of-the-service>` or `kubectl logs <pod-name-of-the-service> -f` to follow the logs.
283+
* To clean/delete your data on Persistent Volume, delete your persistent volume claim.
284+
* `kubectl delete pvc -l app=gameon`
285+
* After deleting the claim, you can delete the Persistent Volume using `kubectl delete pv local-volume-1`. This would ensure the keystores are deleted on the volume.
286+
* To delete your platform services:
287+
* `kubectl delete -f platform`
288+
* To delete your core services:
289+
* `kubectl delete -f core`
290+
* To delete everything:
291+
* `kubectl delete svc,deploy,pvc -l app=gameon`
292+
* `kubectl delete pv local-volume-1`
293+
280294
## References
281295

282296
* [GameOn](https://gameontext.org) - The original game on app. The journey is based on [deploying GameOn using Dockers](https://book.gameontext.org/walkthroughs/local-docker.html)

scripts/deploy-to-bluemix/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ kubectl delete pvc -l app=gameon
2020
kubectl delete --ignore-not-found=true -f core
2121
kubectl delete --ignore-not-found=true -f platform
2222
kubectl delete --ignore-not-found=true -f setup.yaml
23+
kubectl delete --ignore-not-found=true -f sample-room
2324
kuber=$(kubectl get pods -l app=gameon)
2425
while [ ${#kuber} -ne 0 ]
2526
do

0 commit comments

Comments
 (0)