synchronization
This commit is contained in:
17
gpushare-device-plugin/demo/binpack-1/job.yaml
Normal file
17
gpushare-device-plugin/demo/binpack-1/job.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: gpu-job
|
||||
spec:
|
||||
backoffLimit: 0
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: gpu-job
|
||||
image: alpine:3.6
|
||||
resources:
|
||||
limits:
|
||||
# GiB
|
||||
aliyun.com/gpu-mem: 2
|
||||
command: ["sleep","30s"]
|
||||
restartPolicy: Never
|
Reference in New Issue
Block a user