diff --git a/k8s/apps/comfyui/deployment.yaml b/k8s/apps/comfyui/deployment.yaml index 017b757..af1dbbf 100644 --- a/k8s/apps/comfyui/deployment.yaml +++ b/k8s/apps/comfyui/deployment.yaml @@ -8,7 +8,18 @@ metadata: labels: app: comfyui spec: - replicas: 1 + # Retired on purpose. This Deployment held the 4th V100 on worker-1 while + # serving nothing: its oauth2-proxy roll-out has been stuck for 42h and + # failing 11621 times, because the Secret comfyui/comfyui-oauth2-proxy carries + # only 1 key while the pod requests client-id, client-secret and + # cookie-secret. Every request was therefore refused, so the card sat at 0% + # utilisation and blocked a GPU that llm-serving can use. + # + # Scaling to 0 is the whole change. The Deployment, the Service, the Ingress + # and the 50Gi comfyui-models PVC all stay, so nothing is lost and no data is + # touched. To bring it back: set replicas to 1 here, then fix the Secret to + # carry all three keys, otherwise the same stuck roll-out returns. + replicas: 0 strategy: type: Recreate selector: