apiVersion: batch/v1
kind: Job
metadata:
  name: nvidia-smi-0
spec:
  backoffLimit: 1
  template:
    spec:
      containers:
      - name: smi
        image: ubuntu:16.04
        command: ["/usr/bin/nvidia-smi", "-L"]
        resources:
          limits:
            qnib.org/gpu: 1
      restartPolicy: Never
