Skip to content

Commit ae76bc7

Browse files
committed
adds autoscale fault
1 parent c992504 commit ae76bc7

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
@@ -1224,6 +1224,40 @@ Configuring the shutdown fault:
12241224
}
12251225
```
12261226

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

12291263
| 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) | AutoScaleSettings | |
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)