Is it possible to define a custom liveness/readiness probe for a integration server custom resource deployed on Openshift?
Currently, the spawned integration server deployment/pod is using a hard-coded check 'chkacehealthy':
livenessProbe:
exec:
command:
- chkacehealthy
-
IBM-AppConnectEnterprise-Openshift/main.go at master · ivancamargo190/IBM-AppConnectEnterprise-OpenshiftIs it possible to overwrite this value with a different command, that is, to ping a different endpoint? The integration server CR only mentions probe time thresholds, but no possibility of a different probe check. And changing the created deployment resource is a risky take as there is no guarantee it will persist, and not be changed by the ACE operator.
Our goal is to have a liveness probe that will confirm that a deployed integration server has a running integration flow. The motivation is due to previous experience where our IIB env had situations where the integration node/server would be reported as UP, but the flows would not be responding, which required us to restart the server. If we are able to probe a dummy flow, its unresponsiveness would trigger a pod recreation.
------------------------------
Vid Romac
------------------------------