Hi all, is there any health checks I can check tha...
# troubleshoot
b
Hi all, is there any health checks I can check that gms is running correctly - connecting to elastic/mysql/kafka and that can be check from outside the cluster like this one: http://datahub-frontend.taboolasyndication.com:9002/health it is only returning “Good” without any details, does it check gms also? elastic connectivity or just that the frontend is up?
1
g
you can run
datahub docker check
b
We are running on k8s
g
Please refer quick-start section of k8s: https://datahubproject.io/docs/deploy/kubernetes#quickstart
o
The helm charts have readiness checks provided, these include the relevant health checks for each service.
b
how can I use it, I have an external alert system and I want it to check it do we have any url we can check?
that we can expose outside
o
If the alert system is external to your cluster, then you would need to set up ingresses to route to applications that are normally not exposed if you need to access their health checks. Note that this does pose some possible chances for security risks if the ingress is unrestricted.
b
ok ok, I see it’s already exposed with LoadBalancer and we can get to it by using the external IP assigned. I ran
curl -v <http://externalIP:8080/health>
and got response OK 200 I guess we’ll get 500 if there’s any problem are this checking the probes? is this checks for elastic/kafka connectivity also? do we need to run health checks for frontend and gms separately or theres is any way to check both that return an object with status of each service/pod?
d
Hi, we have one for Elastic now at the URL
/health/check/elastic
. There is a combined health check at
/health/check/ready
that currently only checks ElasticSearch but can be extended to support MySQL, Kafka, or other components! Feel free to make a PR if you'd like!