Last active
May 2, 2023 11:29
-
-
Save fatih-keles/3f66d6a6ef6388189ed255b9da3882bd 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
[ | |
{ | |
"capacity": { | |
"initial": 3, | |
"max": 6, | |
"min": 3 | |
}, | |
"display-name": "autoscaling-policy-cpu80percent", | |
"policy-type": "threshold", | |
"rules": [ | |
{ | |
"action": { | |
"type": "CHANGE_COUNT_BY", | |
"value": -1 | |
}, | |
"displayName": "example_scale_in_condition", | |
"metric": { | |
"metric-type": "CPU_UTILIZATION", | |
"threshold": { | |
"operator": "LT", | |
"value": 20 | |
} | |
} | |
}, | |
{ | |
"action": { | |
"type": "CHANGE_COUNT_BY", | |
"value": 1 | |
}, | |
"displayName": "example_scale_out_condition", | |
"metric": { | |
"metric-type": "CPU_UTILIZATION", | |
"threshold": { | |
"operator": "GT", | |
"value": 79 | |
} | |
} | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment