A Jenkins and K8s-based task scheduling method, device and medium

CN121900921BActive Publication Date: 2026-05-29MOBILE TECH COMPANY CHINA TRAVELSKY HLDG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610369407.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-03-25
Publication Date
2026-05-29
Estimated Expiration
2046-03-25

AI Technical Summary

Technical Problem

In existing Jenkins continuous integration/continuous deployment systems based on Kubernetes (K8s), the static allocation of resources according to task type leads to low resource utilization and an inability to cope with sudden loads. Furthermore, traditional scaling mechanisms cannot accurately detect business loads, resulting in resource waste and insufficient responsiveness.

Method used

An all-purpose execution instance is introduced as a shared resource pool across task types. Combined with an intelligent scheduling and elastic scaling mechanism based on queue length, elastic resource sharing and precise scheduling across queues are achieved through dynamic scheduling of all-purpose instances and targeted scaling up and down of dedicated instances.

Benefits of technology

It significantly improved overall resource utilization, shortened the response waiting time of high-load queues, avoided resource waste, ensured the system's elastic response capability and stability, and optimized resource costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121900921B_ABST
    Figure CN121900921B_ABST
Patent Text Reader

Abstract

The application provides a Jenkins and K8s-based task scheduling method and device and a medium, relates to the technical field of task publishing, and comprises the following steps: obtaining each preset sub-task queue; in response to any sub-task QR corresponding to a to-be-published task of a Jenkins construction completion, storing configuration information corresponding to the QR into a sub-task queue corresponding to the QR; for any sub-task queue RA, if there is an idle execution instance in a plurality of execution instances corresponding to the RA, sending configuration information in the RA to the idle execution instance, so that the idle execution instance executes a sub-task corresponding to the received configuration information; if there is an idle execution instance in an execution instance corresponding to a sub-task queue other than the RA, scheduling a plurality of idle execution instances to the RA; and the application can achieve an optimized balance between improving resource utilization, reducing operation and maintenance costs, and enhancing system agility.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Test task scheduling method, test task execution method and test system

    CN115658471A

  • Jenkins-based load balancing method and high-availability system

    CN116166432A