Compare commits
8 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
785025c5ca | ||
| 8a03bdfdf5 | |||
| 6deb288496 | |||
| ff7dccfe76 | |||
| 4995d482c4 | |||
| 0704ac33c7 | |||
| a499210fa2 | |||
| ca15b9a569 |
@@ -4,7 +4,7 @@ metadata:
|
|||||||
name: comfyui
|
name: comfyui
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: core
|
project: apps
|
||||||
destination:
|
destination:
|
||||||
namespace: comfyui
|
namespace: comfyui
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
|||||||
@@ -16,18 +16,36 @@ spec:
|
|||||||
app: comfyui
|
app: comfyui
|
||||||
spec:
|
spec:
|
||||||
runtimeClassName: nvidia
|
runtimeClassName: nvidia
|
||||||
|
tolerations:
|
||||||
|
- key: workload
|
||||||
|
operator: Equal
|
||||||
|
value: desktop
|
||||||
|
effect: NoSchedule
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/hostname: uk-desktop.tail2fe2d.ts.net
|
kubernetes.io/hostname: uk-desktop.tail2fe2d.ts.net
|
||||||
# Fix permissions mismatch usually happening when mapping host paths
|
# Fix permissions mismatch usually happening when mapping host paths
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
|
initContainers:
|
||||||
|
- name: create-data-dir
|
||||||
|
image: busybox
|
||||||
|
command: ["sh", "-c", "mkdir -p /host.data && chown -R 1000:1000 /host.data"]
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /host.data
|
||||||
containers:
|
containers:
|
||||||
- name: comfyui
|
- name: comfyui
|
||||||
image: ghcr.io/ai-dock/comfyui:latest-cuda
|
image: ghcr.io/ai-dock/comfyui:latest-cuda
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: CLI_ARGS
|
- name: COMFYUI_ARGS
|
||||||
value: "--listen 0.0.0.0 --port 8188"
|
value: "--listen 0.0.0.0"
|
||||||
|
- name: COMFYUI_PORT_LOCAL
|
||||||
|
value: "8188"
|
||||||
|
- name: COMFYUI_PORT_HOST
|
||||||
|
value: "8189"
|
||||||
|
- name: COMFYUI_EXTRA_PIP_PACKAGES
|
||||||
|
value: "--pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 --upgrade"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8188
|
- containerPort: 8188
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
@@ -10,3 +10,14 @@ tolerations:
|
|||||||
runtimeClassName: nvidia
|
runtimeClassName: nvidia
|
||||||
|
|
||||||
setAsDefault: false
|
setAsDefault: false
|
||||||
|
|
||||||
|
config:
|
||||||
|
default: any
|
||||||
|
map:
|
||||||
|
any: |-
|
||||||
|
version: v1
|
||||||
|
sharing:
|
||||||
|
timeSlicing:
|
||||||
|
resources:
|
||||||
|
- name: nvidia.com/gpu
|
||||||
|
replicas: 4
|
||||||
|
|||||||
Reference in New Issue
Block a user