synchronization
This commit is contained in:
19
File/Yaml/aliyun-gpu-pod.yaml
Normal file
19
File/Yaml/aliyun-gpu-pod.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: gpu-pod
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:latest
|
||||
env:
|
||||
- name: NVIDIA_VISIBLE_DEVICES
|
||||
value: "all"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
# resources:
|
||||
# limits:
|
||||
# aliyun.com/gpu-count: 1
|
||||
# aliyun.com/gpu-mem: 512
|
Reference in New Issue
Block a user