forked from rainfd/vcuda-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.yaml
37 lines (37 loc) · 912 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
k8s-app: vcuda-test
qcloud-app: vcuda-test
name: vcuda-test
namespace: default
spec:
replicas: 1
selector:
matchLabels:
k8s-app: vcuda-test
template:
metadata:
labels:
k8s-app: vcuda-test
qcloud-app: vcuda-test
spec:
schedulerName: gpu-scheduler
containers:
- command:
- sleep
- 360000s
env:
- name: PATH
value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
image: menghe.tencentcloudcr.com/public/tensorflow-gputest:0.2
imagePullPolicy: IfNotPresent
name: tensorflow-test
resources:
limits:
tencent.com/vcuda-core: "50"
tencent.com/vcuda-memory: "32"
requests:
tencent.com/vcuda-core: "50"
tencent.com/vcuda-memory: "32"