Files
Rainbond/gpushare-scheduler-extender/samples/2.yaml
2025-08-25 16:04:00 +08:00

29 lines
481 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: binpack-2
labels:
app: binpack-2
spec:
replicas: 1
selector: # define how the deployment finds the pods it mangages
matchLabels:
app: binpack-2
template: # define the pods specifications
metadata:
labels:
app: binpack-2
spec:
containers:
- name: binpack-2
image: cheyang/gpu-player:v2
resources:
limits:
aliyun.com/gpu-mem: 2