Skip to content

Commit

Permalink
Add changeable CPU threshould
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu committed Mar 27, 2024
1 parent c9ee03d commit 1837367
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion azure-arm-template/antmedia-azure-autoscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
"description": "Type of Edge VMs in the VM Scale Set."
}
},
"CPUPolicyTargetValue": {
"type": "int",
"defaultValue": 60,
"metadata": {
"description": "This parameter for creates new Instances when CPU load exceed to %60."
}
},
"MongoDBInstanceType": {
"defaultValue": "Standard_D2s_v3",
"type": "String",
Expand Down Expand Up @@ -699,7 +706,7 @@
"timeWindow": "PT5M",
"timeAggregation": "Average",
"operator": "GreaterThan",
"threshold": 60
"threshold": "[parameters('CPUPolicyTargetValue')]"
},
"scaleAction": {
"direction": "Increase",
Expand Down

0 comments on commit 1837367

Please sign in to comment.