apiVersion: batch/v1
kind: Job
metadata:
  name: linux-test-job-from-s3
spec:
  template:
    spec:
      nodeSelector:
        kubernetes.io/os: linux
        kubernetes.io/arch: amd64
      containers:
      - name: test-job
        image: amazonlinux:2
        command: ["/bin/bash", "-c", "yum install -y iputils; sleep 120; ping -c 1 aws.amazon.com"]
      restartPolicy: OnFailure
  backoffLimit: 4
