Created
August 10, 2020 07:23
-
-
Save sadysnaat/5f6badceae19aa26850a30957a7327bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: cuda-vector-add | |
spec: | |
restartPolicy: OnFailure | |
containers: | |
- name: cuda-vector-add | |
image: "gcr.io/spectro-images-public/gpu/nvidia/ubuntu-nvidia-add:ubuntu | |
# specify gpu request | |
resources: | |
limits: | |
nvidia.com/gpu: 1 # requesting 1 GPU |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment