apiVersion: batch/v1
kind: Job
metadata:
  name: curl
spec:
  template:
    spec:
      activeDeadlineSeconds: 6000
      containers:
      - name: curl-from-gondor
        image: tutum/curl
        command: 
        - /bin/sh
        - -c
        - |
          while true; do
          curl -sS example.com -H "country: gondor"
          sleep 1.0
          done
      - name: curl-from-wakanda
        image: tutum/curl
        command: 
        - /bin/sh
        - -c
        - |
          while true; do
          curl -sS example.com -H "country: wakanda"
          sleep 0.25
          done
      restartPolicy: Never
