AnsweredAssumed Answered

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

Question asked by willytester on Apr 26, 2019
Latest reply on Apr 29, 2019 by willytester

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

Outcomes