apiVersion: batch/v1
kind: Job
metadata:
  name: chaos-test-case
spec:
  template:
    spec:
      containers:
        - name: chaos-test-case
          image: dataflow:chaos
          imagePullPolicy: IfNotPresent
          command:
            - "/tiflow-chaos-case"
            - "--config-dir=/engine-conf"
            - "--duration=20m"
      restartPolicy: Never
  backoffLimit: 0 # fail immediately
