apiVersion: batch/v1
kind: Job
metadata:
  name: timeout
spec:
  activeDeadlineSeconds: 5
  template:
    metadata:
      name: job
    spec:
      restartPolicy: Never
      containers:
        - name: job
          image: ubuntu:16.04
          args:
            - sh
            - -c
            - sleep 10000
