Skip to main content
Here are some of the key features of Deployment,
  • Immutable versions: Cloud-saved workflows are snapshots (like container images).
  • Stable endpoints: A deployment ID/URL doesn’t change, even if you update the workflow version (like a K8s service endpoint stays constant).
  • Explicit updates: New workflow versions must be manually applied to deployments (just like updating an image tag in Kubernetes).
When working with RunComfy deployments and cloud-saved workflow versions, it’s helpful to think in terms of Kubernetes concepts. A deployment in RunComfy is similar to a Kubernetes Deployment. Each one is tied to a specific workflow version, just as a Kubernetes Deployment is pinned to a specific container image tag. This ensures stability:
  • Saving a new cloud workflow version does not automatically change the deployment (like pushing a new image does not automatically update pods).
  • If you want to use the new version, you update the deployment spec to point to it—keeping the same deployment ID and endpoint URL.

Concept Mapping

RunComfyKubernetesExplanation
Cloud-saved workflow versionContainer image (with tag)Each workflow version is like a built image. It’s immutable and versioned.
DeploymentKubernetes DeploymentA deployment references a specific version/image to run, ensuring consistency.
Deployment ID / Endpoint URLDeployment UID / Service endpointThese remain stable, even if the version/image inside is updated.
Updating workflow version in a deploymentkubectl set image / updating deployment specYou update the reference to a new version without changing the deployment itself.
Saving a new workflow versionBuilding & pushing a new container imageCreates a new artifact, but doesn’t affect running deployments until updated.

Visual Comparison between RunComfy Deployment vs. K8s Deployment

Comparison between RunComfy Deployment vs. K8s Deployment