scale icon indicating copy to clipboard operation
scale copied to clipboard

Health check fails on scheduler under DCOS 1.12

Open gisjedi opened this issue 5 years ago • 1 comments

The current Marathon health check on the Scale scheduler app fails under DCOS 1.12. I've found a replacement health check that works, but it needs to be tested across all supported DCOS versions.

gisjedi avatar Feb 21 '19 21:02 gisjedi

The proper health check for the scheduler is:

    {
      "gracePeriodSeconds": 300,
      "intervalSeconds": 30,
      "maxConsecutiveFailures": 3,
      "timeoutSeconds": 20,
      "delaySeconds": 15,
      "protocol": "COMMAND",
      "command": {
        "value": "ps -ef | grep 'manage.py scale_scheduler' | grep -v grep > /dev/null"
      }
    }

gisjedi avatar Feb 23 '19 16:02 gisjedi