Form a Batch Working Group
Kubernetes historically focused on service-type workloads, support for load balancing, traffic splitting, rolling-updates, spreading, autoscaling and topology-aware routing are few examples of features the community built for service workloads. Stateful workloads are also getting more support with the introduction of CSI, topology-aware volume provisioning and storage capacity tracking to mention a few.
However, support for Batch lagged in Kubernetes core, leading to a challenging migration journey of batch workloads to Kubernetes. Multiple past efforts tried to improve this status, but those efforts lacked continuity, in some cases leading to forked projects outside k8s (including a forked scheduler).
Recently, there has been momentum to improve core k8s support for batch. Examples:
- Job API enhancements (indexed job, suspend jobs, pod deletion cost, accurate job tracking, ready pods tracking in jobs, ttl after finish to GA and CronJob to GA)
- NUMA aware scheduling: https://github.com/kubernetes/enhancements/pull/2787
- co-scheduling scheduler plugin (https://github.com/kubernetes-sigs/scheduler-plugins/tree/master/pkg/coscheduling)
- proposal for job-level management: bit.ly/k8s-job-management
- Incubating scheduler plugins for co-scheduling and capacity-scheduling.
To keep the momentum and coordinate efforts, we would like explore forming a batch SIG or WG.
/sig scheduling /sig apps
++
Also NFD project with https://github.com/kubernetes-sigs/node-feature-discovery/pull/525
- seems to be giving a 404.
- seems to be giving a 404.
Updated the link
/cc
/cc @kubernetes/steering-committee
++
+1
Add CapacityScheduling for batch workloads https://github.com/kubernetes-sigs/scheduler-plugins/tree/master/pkg/capacityscheduling
+1
cc @kubernetes/steering-committee
@soltysh for SIG apps
Life's a batch, so yes please +1
This will be great! We have been running Spark on Kubernetes for one year, and have to work around multiple issues. It will be very valuable to have Batch SIG/WG to enhance Kubernetes in this area. Would love to join and contribute to this effort!
+1 this is wonderful
Honestly, prefer to have a WG in CNCF to align the interface with other implementation for batch workload, e.g. Volcano & YuniKorn.
There can be collaboration between the two. The big thing is for work to be done within kubernetes, especially within k/k, a kubernetes organizational unit (sig/wg/subproject) makes sense. Especially as one or more SIGs within the org will be responsible for long term maintenance and stewardship of the code, not an external project or organization.
Greetings from the Apache YuniKorn (Incubating) community, we love to join this effort in order to build a common API for batch scheduling.
There can be collaboration between the two. The big thing is for work to be done within kubernetes, especially within k/k, a kubernetes organizational unit (sig/wg/subproject) makes sense. Especially as one or more SIGs within the org will be responsible for long term maintenance and stewardship of the code, not an external project or organization.
hm... my major concern is that: this common API will dependent on k/k's progress and implementation instead of common requirements :)
Two simple examples :
Queueis one of common & major concepts of batch system, but there's not more discussed after my first proposal. So will we introduce this concept without implementation in k/k? And how about the other concepts ?spec.scheduleTimeoutSecondsof scheduling-plugins/co-scheduling was introduced because of default scheduling's implementation (e.g. scheduling framework); but it's not a common requirements to the other implementations :)
+1
Specific implementation details are not decided. That's precisely why we need the SIG/WG. I agree with @mrbobbytables, even if there is a CNCF WG, we still need to close gaps in kubernetes.
We don't necessarily need a Queue API (although that's to be decided). For example, suspended jobs allows the implementation of job-level queuing without having a k8s implementation.
The existing co-scheduling plugins has some limitations that need to be solved. So I don't think we should consider it's API as de-facto API at the moment.