# apache/yunikorn-core

Apache YuniKorn Core

Repository: https://github.com/apache/yunikorn-core
Canonical: https://ross.abutalabs.com/products/yunikorn-core
Homepage: https://yunikorn.apache.org/
Language: Go
License: Apache-2.0
License Family: permissive
Topics: universal-resource-scheduler, apache-yarn, kubernetes, yunikorn, go
Last push: 2026-09-02T12:09:52+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 71, longevity 100
- inputs: {"age_days": 2638, "days_push": 0, "days_rel": 35, "gap_med": 106.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1025, forks 287 (observed 2026-09-03T02:15:09.221952+00:00)

## What it is
Apache YuniKorn Core is the core scheduling engine of a lightweight, universal resource scheduler for container orchestrators, primarily deployed as a custom Kubernetes scheduler. It provides fine-grained, multi-tenant resource sharing with hierarchical queues, fairness policies, preemption, and gang scheduling for mixed batch and stateful workloads.

## Use cases
- schedule batch and ML workloads on Kubernetes with fair resource sharing
- enforce per-team resource quotas with hierarchical queues in a multi-tenant cluster
- replace the default Kubernetes scheduler for better gang scheduling and bin-packing
- run mixed stateless batch and stateful workloads with predictable scheduling order
- track and monitor tenant resource usage across queues via a central web UI
- reduce cloud costs by improving cluster bin-packing and autoscaler elasticity

## When to choose
- you run large-scale multi-tenant Kubernetes clusters with batch, Spark, or ML jobs needing queue-based fairness
- you need gang scheduling, preemption, or hierarchical resource quotas beyond the default K8s scheduler
- you want a unified scheduling layer that can also target other resource managers like Hadoop YARN

## When to avoid
- you have simple workloads where the default Kubernetes scheduler is sufficient
- you need a scheduler for non-container platforms without a shim layer
- you cannot operate additional components like the admission controller and web UI

## Facets
- artifact type: service
- maturity: active
- function: container-orchestration, scheduling, monitoring, middleware
- domain: cloud-computing, microservices, big-data
- platform: go, cloud, self-hosted
- tags: resource-scheduler, multi-tenancy, gang-scheduling, fair-scheduling, batch-workloads, apache, yarn, hierarchical-queues, preemption, bin-packing, containers, devops, kubernetes, docker

## Member repositories
- apache/yunikorn-core (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.221952+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:08:18.038003+00:00, confidence not recorded.
  - readme: https://github.com/apache/yunikorn-core (fetched 2026-09-03T02:15:09.221952+00:00, sha 85a5111d629d)
  - homepage: https://yunikorn.apache.org/ (fetched 2026-08-29T13:08:43.821229+00:00, sha 8fcd66925daf)
  - site_page: https://yunikorn.apache.org/docs (fetched 2026-08-29T13:08:43.830596+00:00, sha da767894dce6)
  - site_page: https://yunikorn.apache.org/docs/next (fetched 2026-08-29T13:08:43.832525+00:00, sha 494d60e4caee)
  - site_page: https://yunikorn.apache.org/docs/1.8.0 (fetched 2026-08-29T13:08:43.834639+00:00, sha 5f588d007bd1)
  - site_page: https://yunikorn.apache.org/docs/1.7.0 (fetched 2026-08-29T13:08:43.836220+00:00, sha d3d5be7fbdf4)
  - site_page: https://yunikorn.apache.org/docs/1.6.3 (fetched 2026-08-29T13:08:43.837810+00:00, sha b3c2665c0aaa)
  - site_page: https://yunikorn.apache.org/docs/1.5.2 (fetched 2026-08-29T13:08:43.839543+00:00, sha 249ff16d8dc9)
  - site_page: https://yunikorn.apache.org/docs/1.4.0 (fetched 2026-08-29T13:08:43.842061+00:00, sha 8ba45dda9986)
  - site_page: https://yunikorn.apache.org/docs/1.3.0 (fetched 2026-08-29T13:08:43.844356+00:00, sha 7b16e21338a2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
