yunikorn-core

YuniKorn Scheduler core

Github星跟蹤圖

YuniKorn - A Universal Scheduler

Green Build


YuniKorn is a light-weighted, universal resource scheduler for container orchestrator systems.
It was created to achieve fine-grained resource sharing for various workloads efficiently on a large scale, multi-tenant,
and cloud-native environment. YuniKorn brings a unified, cross-platform scheduling experience for mixed workloads consists
of stateless batch workloads and stateful services. Support for but not limited to, YARN and Kubernetes.

Architecture

Following chart illustrates the high-level architecture of YuniKorn.

Architecture

YuniKorn consists of the following components spread over multiple code repositories.

  • Scheduler core: the brain of the scheduler, which makes placement decisions (Allocate container X on node Y)
    according to pre configured policies. See more in current repo yunikorn-core.
  • Scheduler interface: the common scheduler interface used by shims and the core scheduler.
    Contains the API layer (with GRPC/programming language bindings) which is agnostic to container orchestrator systems like YARN/K8s.
    See more in yunikorn-scheduler-interface.
  • Resource Manager shims: allow container orchestrator systems talks to yunikorn-core through scheduler-interface.
    Which can be configured on existing clusters without code change.
    Currently, yunikorn-k8shim is available for Kubernetes integration.
  • Scheduler User Interface: the YuniKorn web interface for app/queue management.
    See more in yunikorn-web.

Key features

Here are some key features of YuniKorn.

  • Features to support both batch jobs and long-running/stateful services
  • Hierarchy queues with min/max resource quotas.
  • Resource fairness between queues, users and apps.
  • Cross-queue preemption based on fairness.
  • Customized resource types (like GPU) scheduling support.
  • Rich placement constraints support.
  • Automatically map incoming container requests to queues by policies.
  • Node partition: partition cluster to sub-clusters with dedicated quota/ACL management.

You can find more information about what are already supported and future plans in the Road Map.

How to use

The simplest way to run YuniKorn is to build a docker image and then deployed to Kubernetes with a yaml file,
running as a customized scheduler. Then you can run workloads with this scheduler.
See more instructions from the User Guide.

How can I get involved?

We welcome any form of contributions, code, documentation or even discussions. To get involved, please read following resources.

Other Resources

Demo videos

Communication channels

Blog posts

主要指標

概覽
名稱與所有者apache/yunikorn-core
主編程語言Go
編程語言Makefile (語言數: 3)
平台
許可證Apache License 2.0
所有者活动
創建於2019-06-13 15:18:08
推送於2025-06-12 11:35:15
最后一次提交2025-06-12 13:34:09
發布數36
最新版本名稱v1.6.3 (發布於 2025-05-06 18:20:12)
第一版名稱v0.8.0 (發布於 )
用户参与
星數0.9k
關注者數45
派生數250
提交數1.1k
已啟用問題?
問題數0
打開的問題數0
拉請求數193
打開的拉請求數7
關閉的拉請求數796
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?