# defines delay between each successive iteration of the chaos
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
  name: engine-nginx
spec:
  engineState: "active"
  annotationCheck: "false"
  chaosServiceAccount: gcp-vm-disk-loss-sa
  experiments:
  - name: gcp-vm-disk-loss
    spec:
      components:
        env:
        # delay between each iteration of chaos
        - name: CHAOS_INTERVAL
          value: '15'
        # time duration for the chaos execution
        - name: TOTAL_CHAOS_DURATION
          value: '60'
        - name: DISK_VOLUME_NAMES
          value: 'disk-01,disk-02'
        - name: ZONES
          value: 'zone-01,zone-02'
        - name: DEVICE_NAMES
          value: 'device-01,device-02'
        - name: GCP_PROJECT_ID
          value: 'project-id'
        