-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomfyui-deployment.yaml
More file actions
61 lines (61 loc) · 1.36 KB
/
comfyui-deployment.yaml
File metadata and controls
61 lines (61 loc) · 1.36 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: apps/v1
kind: Deployment
metadata:
name: comfyui
namespace: comfyui
labels:
app: comfyui
spec:
replicas: 1
selector:
matchLabels:
app: comfyui
template:
metadata:
labels:
app: comfyui
spec:
containers:
- name: comfyui
image: mmartial/comfyui-nvidia-docker:ubuntu24_cuda12.8-latest
ports:
- containerPort: 8188
name: http
env:
- name: USE_UV
value: "true"
- name: WANTED_UID
value: "1000"
- name: WANTED_GID
value: "1000"
- name: BASE_DIRECTORY
value: "/workspace"
- name: SECURITY_LEVEL
value: "normal"
- name: FORCE_CHOWN
value: "yes"
resources:
limits:
nvidia.com/gpu: "1"
requests:
nvidia.com/gpu: "1"
volumeMounts:
- name: comfyui-data
mountPath: /workspace
- name: comfyui-run
mountPath: /comfy/mnt
- name: dshm
mountPath: /dev/shm
volumes:
- name: comfyui-data
hostPath:
path: /data/comfyui
type: DirectoryOrCreate
- name: comfyui-run
hostPath:
path: /data/comfyui/run
type: DirectoryOrCreate
- name: dshm
emptyDir:
medium: Memory
sizeLimit: 8Gi