View in #general on Slack
@Jasdeep_Madan: Hi All…. I have deployed CubeStore as docker image on Google Cloud App Engine… with following env variables
Is this configuration enough??? I am not seeing any errors in logs but the logs are minimum to just
INFO [cubestore::metastore] Persisting meta store snapshot: nothing to update
INFO [cubestore::metastore] Persisting meta store snapshot
so not sure if cubestore is working properly or not….
I haven’t been able to find in docs so wondering if there is any endpoint which I can hit to figure out if it is healthy?
@Hassan_Khan @Igor_Lukanin help is greatly appreciated…
@Abdulrhman_Al-Harasis: @Jasdeep_Madan AFAIK you can use this to check service health.
REST API | Cube.js Docs
@Jasdeep_Madan: Do /livez and /readyz endpoint work for CubeStore as well?
so just to provide context… I have separately deployed CubeStore using its docker image cubejs/cubestore and I have a CubeJs API running separately and I have set CUBEJS_EXT_DB_TYPE=cubestore
CUBEJS_EXT_DB_HOST=URL of the deployed cubestore
on that API…. but seems like CubeJS API is not able to talk to CUBESTORE or CUBESTORE is not working properly….I am not seeing any errors in logs
@rong_fengliang: you can also use cubestore mysql protocol (with mysql client ) can check if it works well
@Hassan_Khan: Hi @Jasdeep_Madan
@rong_fengliang is correct, best way to test Cube Store health right now is via the MySQL protocol; it currently does not support the /livez and /readyz endpoints.
I think it would be a good addition to the project though; could I ask you to open an issue on GitHub?
@JK_Go: sharing this thread since I had the same problem https://cube-js.slack.com/archives/C0206EXEVAS/p1622042466040200
[May 26th, 2021 8:21 AM] jk.go: Hello! I am deploying cube store to k8s and it is failing the readiness/liveness probe because the request is being refused. Is there a custom endpoint that I can use for the probes? Or possibly a bash command that we can set for the probe?