Anyone has idea how to deploy geode on kubernetes correctly?
kuberetes requires process to run in fore-ground mode, but gfsh start processes in background-mode
he's doing tricky thing by running infinite while loop after starting gfsh
| while true; do|
| sleep 20|
This works, but in case of failure the pod will never be restarted.
So failure recovery doesn't really work.
I'm thinking couple of other solutions:
1/ Start using java command (not via gfsh), this will start process in fore-ground mode
2/ Using gfsh, but instead of infinite while loop, having a script to monitor status of geode members and exit in case of failure
Anyone has better idea on this?