• Return HTTP status codes based on an arbitrary script

    3 min read

    Sometimes we need a way of telling using a HTTP endpoint the "readiness" of the service but the service does not provide any of this: For example, a MySQL replica that we need to get in and out of the pool depending on how "lagged" it is, or a worker node that we want to remove from that pool depending on it's CPU usage...

    If we have a command that will tell us whether the service is ready to accept connections, we can use healthcheckd to create a HTTP endpoint to publish it.

    27/10/2021

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets