Created
May 11, 2018 00:41
-
-
Save endofcake/38ffbf95ee08dfd9c9b2f5a45cb6715d to your computer and use it in GitHub Desktop.
ECS task placement constraints that prevent ECS scheduler from putting a new task on an instance about to be drained
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
placement_constraints { | |
type = "memberOf" | |
expression = "attribute:drain !exists or attribute:drain != true" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment