concept exec liveness probe in category kubernetes

appears as: exec liveness probes, n exec liveness probe, The exec liveness probe
Kubernetes in Action, Second Edition

This is an excerpt from Manning's book Kubernetes in Action, Second Edition.

For applications that don’t expose HTTP health-check endpoints, the tcpSocket or the exec liveness probes should be used.

Figure 6.7 The exec liveness probe runs the command inside the container
Listing 6.13 An example of an exec liveness probe
    livenessProbe:
      exec:
        command:                  #A
        - /usr/bin/healthcheck    #A
      periodSeconds: 2            #B
      timeoutSeconds: 1           #C
      failureThreshold: 1         #D