Is there any information how to check the health of database/search/share for liveness/readiness probes in k8s?

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

Is there any information how to check the health of database/search/share for liveness/readiness probes in k8s?

I want to add liveness/readiness probes in k8s to monitor alfresco pods.

I have three pods:
cms-alfresco-database-0 1/1 Running 0 55m
cms-alfresco-search-6f55499c9b-24ljc 1/1 Running 0 55m
cms-alfresco-share-65cfd7c958-mxgnz 0/1 Running 19 55m

My try of doing it with http is failing.

Warning Unhealthy 32m (x5 over 33m) kubelet, node2 Liveness probe failed: Get http://xxx.xxx.xxx.xxx:8081/health: dial tcp xxx.xxx.xxx.xxx:8081: connect: connection refused
Warning Unhealthy 9m (x79 over 34m) kubelet, node2 Readiness probe failed: Get http://xxx.xxx.xxx.xxx:8081/health: dial tcp xxx.xxx.xxx.xxx:8081: connect: connection refused

Any help or information available?

Cheers,

  Willy Tester

1 Reply
Member II

Re: Is there any information how to check the health of database/search/share for liveness/readiness probes in k8s?

Well, did some digging... docs.alfresco.com was somewhat helpful... So I found this... 

So I can solve my problem, hopefully... And it might help somebody else, in the future...

l8r,

  Willy