---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: litmus-experiment
spec:
  replicas: 1
  selector: 
    matchLabels:
      app: litmus-experiment
  template:
    metadata:
      labels:
        app: litmus-experiment
    spec:
      serviceAccountName: node-io-stress-sa
      containers:
      - name: gotest
        image: busybox
        command:
          - sleep 
          - "3600"
        env:
          - name: APP_NAMESPACE
            value: 'default'

          - name: APP_LABEL
            value: 'run=nginx'

          - name: APP_KIND
            value: 'deployment'

          - name: AUXILIARY_APPINFO
            value: ''

          - name: TOTAL_CHAOS_DURATION
            value: '60'

          - name: FILESYSTEM_UTILIZATION_PERCENTAGE
            value: ''

          - name: FILESYSTEM_UTILIZATION_BYTES
            value: '' 

          - name: NUMBER_OF_WORKERS
            value: '4'

          - name: LIB
            value: 'litmus'

          - name: LIB_IMAGE
            value: 'litmuschaos/go-runner:ci'

          - name: CHAOS_NAMESPACE
            value: 'default'

          - name: RAMP_TIME
            value: ''

          - name: POD_NAME
            valueFrom:
              fieldRef:
                fieldPath: metadata.name
