# This yaml file will launch a container with a 1g.5gb MIG device
# It will deploy only onto the specified GPU type (A100 40GB) even if this profile is available on other systems
apiVersion: v1
kind: Pod
metadata:
  name: gpu-pod
spec:
  nodeSelector:
    nvidia.com/gpu.product: A100-SXM4-40GB               
  containers:
    - name: gpu-pod
      image:  nvcr.io/nvidia/k8s/cuda-sample:nbody
      command: ["/bin/sh"]
      args: ["-c", "nvidia-smi"]
      resources:
        limits:
          nvidia.com/mig-1g.5gb: 1
