# detach multiple azure disks attached to scale set VMs by their names
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
  name: engine-nginx
spec:
  engineState: "active"
  annotationCheck: "false"
  chaosServiceAccount: azure-disk-loss-sa
  experiments:
  - name: azure-disk-loss
    spec:
      components:
        env:
        # comma separated names of the azure disks attached to scaleset VMs
        - name: VIRTUAL_DISK_NAMES
          value: 'disk-01,disk-02'
        # name of the resource group
        - name: RESOURCE_GROUP
          value: '<resource group of VIRTUAL_DISK_NAMES>'
        # VM belongs to scaleset or not
        - name: SCALE_SET
          value: 'enable'
        - name: TOTAL_CHAOS_DURATION
          value: '60'