I'm surprised that the rethinkdb docker image doesn't come with examples for readinessProbe
Has anyone come up with an easy readinessProbe command using the rethinkdb docker image?
I only want to connect to the pod once the service is ready. Right now I'm falling back to having my k8s pod try to connect, crash if it cant, and have k8s restart the pod until this works.
Thats O.K. for deployment ...
But for development purposes I need to know when the db is truly ready as part of my testing harness.
There's an example rethinkDB k8s config on GitHub here. In its readinessProbe script, it simply curl the app at 8080.