Hi all,
I have deployed Ignite on Kubernetes and configured liveness and readiness
probe like this
readinessProbe:
tcpSocket:
port: 10800
initialDelaySeconds: 10
periodSeconds: 2
failureThreshold: 60
livenessProbe:
httpGet:
scheme: HTTP
path: /ignite?cmd=version&user=ignite&password=ignite
port: 8080
initialDelaySeconds: 60
periodSeconds: 20
where 10800 is SQL port and 8080 is rest port.
The problem I am facing here is, If pod restarts for some reason then
liveness probe is failing because during recovery of Ignite node(pod) it is
failing to respond to rest API (liveness probe) and this leads to again
restart by Kubernetes and pod going into crashLoopBackOff state.
Is there any other best way of configuring liveness probe?
during recovery of Ignite node, why it is failing to respond to a simple
rest API query ( /ignite?cmd=version ) ?
regards,
shiva