apiVersion: batch/v1
kind: Job
metadata:
  name: random
spec:
  template:
    metadata:
      name: job
    spec:
      restartPolicy: Never
      containers:
        - name: job
          image: ubuntu:16.04
          args:
            - sh
            - -c
            - if [ $((RANDOM % 2)) -eq 0 ]; then true; else false; fi
