Abstract:To address the limitations of existing schedulers that use individual Pods or Jobs as the scheduling decision boundary and therefore cannot effectively coordinate inter-Job dependencies and resource competition, this paper proposes a task-chain collaborative scheduling method based on policy-aware retrieval-augmented generation. The method uniformly models task chains and cluster states, and transforms scheduling policies into structured knowledge that can be retrieved and composed. A bidirectional planning mechanism combining backward resource reservation with forward topology-aware scheduling is employed to generate cross-Job scheduling plans, while programmatic validation is introduced to eliminate infeasible results. Experimental results demonstrate that the proposed method preserves the scheduling tendencies of the target policy while minimizing Pending tasks under high-load conditions, thereby significantly improving the overall success rate of task chains. This work provides a feasible approach to task-chain scheduling in heterogeneous edge–terminal environments.