• 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.


  • How to use the Datadog Python Library to send custom metrics

    3 min read

    Using the Datadog Python Library we can very easily inject metrics into Datadog. These metrics will fall into the "custom metrics" category. Let's check the python code needed to do so:



From pet to cattle
Treat your kubernetes clusters like cattle, not pets
tags related to this category