apiVersion: v1
kind: Pod
metadata:
  name: goodpod01
spec:
  containers:
    - name: gpu-example
      image: nvidia/cuda:11.6.0-devel-ubi8
      command: ["nvidia-smi"]
      resources:
        limits:
          nvidia.com/gpu: 1