You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "kunwp1 (via GitHub)" <gi...@apache.org> on 2026/06/04 05:06:46 UTC

[I] Automatically terminate idle Computing Units to reclaim cluster resources [texera]

kunwp1 opened a new issue, #5362:
URL: https://github.com/apache/texera/issues/5362

   ### Task Summary
   
   During the dkNET-AI launch, we noticed that a computing unit keeps running when a user leaves the platform without terminating it. Because CUs are per-user compute pods, these idle CUs hold CPU/memory and pin their EKS nodes causing significant resource underutilization and cost. 
   
   We need to (1) define what makes a CU "idle" and (2) add a mechanism that automatically terminates idle CUs.
   
   Based on @chenlica's and my investigation, Kubernetes has no built-in mechanism to terminate a pod for inactivity. It automatically stops pods for health/resource/lifecycle reasons (eviction, OOM, node failure, `activeDeadlineSeconds`), but never simply because a workload is idle.
   
   Related links:
   https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/
   https://cloud.google.com/blog/products/containers-kubernetes/scale-to-zero-on-gke-with-keda
   https://kubernetes.io/docs/concepts/workloads/autoscaling/horizontal-pod-autoscale/
   https://kubernetes.io/docs/concepts/workloads/controllers/job/
   
   
   ### Task Type
   
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [ ] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Automatically terminate idle Computing Units to reclaim cluster resources [texera]

Posted by "kunwp1 (via GitHub)" <gi...@apache.org>.
kunwp1 closed issue #5362: Automatically terminate idle Computing Units to reclaim cluster resources
URL: https://github.com/apache/texera/issues/5362


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Automatically terminate idle Computing Units to reclaim cluster resources [texera]

Posted by "yrenat (via GitHub)" <gi...@apache.org>.
yrenat commented on issue #5362:
URL: https://github.com/apache/texera/issues/5362#issuecomment-4697221858

   /take


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org