Skip to content

Commit a1e71a2

Browse files
authored
Merge pull request #229318 from themar-msft/themar-chaos-autoscale
adds autoscale fault
2 parents 51aba5d + 7bef859 commit a1e71a2

File tree

2 files changed

+47
-12
lines changed

2 files changed

+47
-12
lines changed

articles/chaos-studio/chaos-studio-fault-library.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,40 @@ Configuring the shutdown fault:
12271227
}
12281228
```
12291229

1230+
## Disable Autoscale
1231+
1232+
| Property | Value |
1233+
| --- | --- |
1234+
| Capability name | DisaleAutoscale |
1235+
| Target type | Microsoft-AutoscaleSettings |
1236+
| Description | Disables the [autoscale service](/azure/azure-monitor/autoscale/autoscale-overview). When autoscale is disabled, resources such as Virtual Machine Scale Sets, Web apps, Service bus, and [more](/azure/azure-monitor/autoscale/autoscale-overview#supported-services-for-autoscale) aren't automatically added or removed based on the load of the application.
1237+
| Prerequisites | The autoScalesetting resource that's enabled on the resource must be onboarded to Chaos Studio.
1238+
| Urn | urn:csci:microsoft:autoscalesettings:disableAutoscale/1.0 |
1239+
| Fault type | Continuous |
1240+
| Parameters (key, value) | |
1241+
| enableOnComplete | Boolean. Configures whether autoscaling will be re-enabled once the action is done. Default is `true`. |
1242+
1243+
1244+
```json
1245+
{
1246+
  "name": "BranchOne",
1247+
  "actions": [
1248+
    {
1249+
    "type": "continuous",
1250+
"name": "urn:csci:microsoft:autoscaleSetting:disableAutoscale/1.0",
1251+
"parameters": [
1252+
    {
1253+
     "key": "enableOnComplete",
1254+
     "value": "true"
1255+
    }                
1256+
  ],                                
1257+
"duration": "PT2M",
1258+
   "selectorId": "Selector1",     
1259+
  }
1260+
]
1261+
}
1262+
```
1263+
12301264
## Key Vault Deny Access
12311265

12321266
| Property | Value |

articles/chaos-studio/chaos-studio-fault-providers.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ ms.custom: ignite-fall-2021
1414

1515
The following are the supported resource types for faults, the target types, and suggested roles to use when giving an experiment permission to a resource of that type.
1616

17-
| Resource Type | Target name/type | Suggested role assignment |
18-
| - | - | - |
19-
| Microsoft.Cache/Redis (service-direct) | Microsoft-AzureCacheForRedis | Redis Cache Contributor |
20-
| Microsoft.ClassicCompute/domainNames (service-direct) | Microsoft-DomainNames | Classic Virtual Machine Contributor |
21-
| Microsoft.Compute/virtualMachines (agent-based) | Microsoft-Agent | Reader |
22-
| Microsoft.Compute/virtualMachineScaleSets (agent-based) | Microsoft-Agent | Reader |
23-
| Microsoft.Compute/virtualMachines (service-direct) | Microsoft-VirtualMachine | Virtual Machine Contributor |
24-
| Microsoft.Compute/virtualMachineScaleSets (service-direct) | Microsoft-VirtualMachineScaleSet | Virtual Machine Contributor |
25-
| Microsoft.ContainerService/managedClusters (service-direct) | Microsoft-AzureKubernetesServiceChaosMesh | Azure Kubernetes Service Cluster Admin Role |
26-
| Microsoft.DocumentDb/databaseAccounts (CosmosDB, service-direct) | Microsoft-CosmosDB | Cosmos DB Operator |
27-
| Microsoft.KeyVault/vaults (service-direct) | Microsoft-KeyVault | Key Vault Contributor |
28-
| Microsoft.Network/networkSecurityGroups (service-direct) | Microsoft-NetworkSecurityGroup | Network Contributor |
17+
| Resource Type | Target name/type | Suggested role assignment |
18+
|-------------------------------------------------------------------|--------------------------------------------|----------------------------------------------|
19+
| Microsoft.Cache/Redis (service-direct) | Microsoft-AzureCacheForRedis | Redis Cache Contributor |
20+
| Microsoft.ClassicCompute/domainNames (service-direct) | Microsoft-DomainNames | Classic Virtual Machine Contributor |
21+
| Microsoft.Compute/virtualMachines (agent-based) | Microsoft-Agent | Reader |
22+
| Microsoft.Compute/virtualMachineScaleSets (agent-based) | Microsoft-Agent | Reader |
23+
| Microsoft.Compute/virtualMachines (service-direct) | Microsoft-VirtualMachine | Virtual Machine Contributor |
24+
| Microsoft.Compute/virtualMachineScaleSets (service-direct) | Microsoft-VirtualMachineScaleSet | Virtual Machine Contributor |
25+
| Microsoft.ContainerService/managedClusters (service-direct) | Microsoft-AzureKubernetesServiceChaosMesh | Azure Kubernetes Service Cluster Admin Role |
26+
| Microsoft.DocumentDb/databaseAccounts (CosmosDB, service-direct) | Microsoft-CosmosDB | Cosmos DB Operator |
27+
| Microsoft.Insights/autoscalesettings (service-direct) | Microsoft-AutoScaleSettings | Web Plan Contributor |
28+
| Microsoft.KeyVault/vaults (service-direct) | Microsoft-KeyVault | Key Vault Contributor |
29+
| Microsoft.Network/networkSecurityGroups (service-direct) | Microsoft-NetworkSecurityGroup | Network Contributor |

0 commit comments

Comments
 (0)