[Paper Review] Tailored Learning-Based Scheduling for Kubernetes-Oriented Edge-Cloud System
This paper proposes KaiS, a learning-based scheduling framework for Kubernetes-oriented edge-cloud systems that uses multi-agent reinforcement learning and graph neural networks to dynamically optimize request dispatch and service orchestration. It achieves a 14.3% higher throughput and 34.7% lower scheduling cost than baselines by learning policies without relying on system model assumptions.
Kubernetes (k8s) has the potential to merge the distributed edge and the cloud but lacks a scheduling framework specifically for edge-cloud systems. Besides, the hierarchical distribution of heterogeneous resources and the complex dependencies among requests and resources make the modeling and scheduling of k8s-oriented edge-cloud systems particularly sophisticated. In this paper, we introduce KaiS, a learning-based scheduling framework for such edge-cloud systems to improve the long-term throughput rate of request processing. First, we design a coordinated multi-agent actor-critic algorithm to cater to decentralized request dispatch and dynamic dispatch spaces within the edge cluster. Second, for diverse system scales and structures, we use graph neural networks to embed system state information, and combine the embedding results with multiple policy networks to reduce the orchestration dimensionality by stepwise scheduling. Finally, we adopt a two-time-scale scheduling mechanism to harmonize request dispatch and service orchestration, and present the implementation design of deploying the above algorithms compatible with native k8s components. Experiments using real workload traces show that KaiS can successfully learn appropriate scheduling policies, irrespective of request arrival patterns and system scales. Moreover, KaiS can enhance the average system throughput rate by 14.3% while reducing scheduling cost by 34.7% compared to baselines.
Motivation & Objective
- Address the lack of a native scheduling framework in Kubernetes for managing geographically distributed, heterogeneous edge and cloud resources.
- Overcome the challenges of dynamic, non-linear system behavior and complex dependencies in edge-cloud systems due to variable workloads and network conditions.
- Design a scalable, decentralized scheduling solution compatible with native Kubernetes components to support real-world deployment.
- Enable long-term throughput optimization without requiring accurate predictions of service response times, network delays, or request arrival patterns.
- Reduce scheduling cost and orchestration complexity through hierarchical, stepwise scheduling and two-time-scale coordination.
Proposed method
- Employ a coordinated multi-agent actor-critic algorithm to enable decentralized request dispatch at edge Access Points (eAPs), avoiding centralized action space explosion.
- Use graph neural networks (GNNs) to embed system state information—including resource availability, network latency, and system structure—into low-dimensional representations.
- Integrate GNN-embedded states with multiple policy networks to reduce scheduling action dimensionality through stepwise orchestration decisions.
- Implement a two-time-scale scheduling mechanism: fast dispatch decisions at eAPs and slower, optimized service placement on a subset of high-value edge nodes.
- Design the framework to be compatible with native Kubernetes components, enabling seamless integration into existing cloud infrastructure.
- Define a reward function focused on maximizing long-term system throughput while minimizing scheduling cost, enabling end-to-end policy learning via reinforcement learning.
Experimental results
Research questions
- RQ1Can a learning-based scheduling framework effectively manage request dispatch and service orchestration in a Kubernetes-native, edge-cloud environment without relying on system model assumptions?
- RQ2How can multi-agent reinforcement learning be adapted to handle decentralized dispatch in large-scale, hierarchical edge-cloud systems with dynamic workloads?
- RQ3To what extent can graph neural networks improve the scalability and accuracy of system state representation in heterogeneous, distributed edge-cloud environments?
- RQ4How does a two-time-scale scheduling mechanism balance responsiveness and optimization efficiency in real-time request processing?
- RQ5Can the proposed framework achieve significant performance gains in throughput and cost reduction compared to existing baselines across diverse workload patterns and system scales?
Key findings
- KaiS improves the average system throughput rate by 14.3% compared to the closest competing baselines across all tested workload patterns.
- KaiS reduces scheduling cost by 34.7% by limiting service orchestration to a fixed number of high-value edge nodes and using a two-time-scale mechanism.
- The framework successfully learns effective scheduling policies even under varying request arrival patterns and system scales, demonstrating robust generalization.
- Unlike baselines such as GSP-SS, KaiS maintains high performance under high load conditions due to its adaptive load balancing and bounded scheduling cost.
- The integration of GNNs and multi-agent RL enables scalable, low-dimensional action space representation, improving training efficiency and system scalability.
- KaiS is compatible with native Kubernetes components, enabling practical deployment in real-world cloud-edge infrastructures without architectural overhaul.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.