Created
January 19, 2016 23:12
-
-
Save linben/7a4ef909e5ac14e85206 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "python-upgrade", | |
"cmd": "sleep 5 && python -m http.server $PORT0", | |
"container": { | |
"type": "DOCKER", | |
"docker": { | |
"image": "python:3.5", | |
"network": "HOST", | |
"forcePullImage":true | |
} | |
}, | |
"instances": 20, | |
"cpus": 0.1, | |
"mem": 64, | |
"healthChecks": [{ | |
"protocol": "HTTP", | |
"path": "/", | |
"portIndex": 0, | |
"timeoutSeconds": 10, | |
"gracePeriodSeconds": 10, | |
"intervalSeconds": 2, | |
"maxConsecutiveFailures": 10 | |
}], | |
"upgradeStrategy": { | |
"minimumHealthCapacity": 0.85, | |
"maximumOverCapacity": 0.15 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment