TcpHealthCheck (TCP Health Check v0.1.0) View Source

This spins up a tiny TCP socket listener that will accept connections and then immediately close them. And do nothing else.

It is especially useful for Kubernetes health checks for background processes, where you don't want to spin up a full web server to be able to tell the kubelet that your application is healthy.

It should typically be the last child listed in your supervision tree so that it will be the final process to start up and the first one to be removed.

Link to this section Summary

Link to this section Functions