comfyanonymous / ComfyUI

The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.
GNU General Public License v3.0
41.43k stars 4.4k forks source link

Make comfyui kubernetes-friendly #3436

Open chenxinlong opened 1 month ago

chenxinlong commented 1 month ago

Hi, recently I'm working on deploy comfyui on kubernetes.

I need mount a PVC to comfyui pod for storing persistent data like models, but seems comfyui doesn't support specify a custom path for custom_nodes.

Can we support all user-data can be specify a custom path so that I can set it to the PVC mount path, then it won't lost data(like custom nodes, user settings...) event I restart comfyui pod.

CPPAlien commented 1 month ago

You can use extra_model_paths.yaml to specify the path of your model. run the command with this arg --extra-model-paths-config.