Last active
May 20, 2017 08:07
-
-
Save gurvindersingh/7c597ef1f5698432e2abcf2af5584dc5 to your computer and use it in GitHub Desktop.
This file contains 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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: gpu | |
labels: | |
app: gpu | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: gpu | |
template: | |
metadata: | |
labels: | |
app: gpu | |
driver: nvidia-gpu | |
spec: | |
containers: | |
- name: gpu-container | |
image: gcr.io/tensorflow/tensorflow:latest-gpu | |
imagePullPolicy: Always | |
resources: | |
requests: | |
alpha.kubernetes.io/nvidia-gpu: 1 | |
limits: | |
alpha.kubernetes.io/nvidia-gpu: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment