Liveness probe is a mechanism used by orchestrator platforms, to determine which process has gone faulty and then usually attempts to restart it, how is dependent on the orchestrator. The faults are very much dependent on the process code, determining faults is dependent on both process code and the orchestration...