apiVersion: batch/v1
kind: Job
metadata:
  name: majin-todo-backend-django-valence
spec:
  template:
    spec:
      containers:
        - name: majin
          image: valencenet/majin:0.3.2
          args:
            - attack
            - --base-load
            - "300"
            - --period
            - "600"
          env:
            - name: TARGET
              value: http://todo-backend-django-valence.default/todos
      restartPolicy: OnFailure
