A Jenkins and K8s-based task execution resource scaling method, device and medium

By setting up independent queues and execution instance groups for different task types in Jenkins and Kubernetes systems, combined with a dynamic scaling mechanism, the problem of uneven resource allocation in traditional Jenkins systems is solved, achieving refined task scheduling and efficient resource utilization, thereby improving the overall performance and stability of the system.

CN122152392APending Publication Date: 2026-06-05MOBILE TECH COMPANY CHINA TRAVELSKY HLDG

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
MOBILE TECH COMPANY CHINA TRAVELSKY HLDG
Filing Date
2026-03-25
Publication Date
2026-06-05

Smart Images

  • Figure CN122152392A_ABST
    Figure CN122152392A_ABST
Patent Text Reader

Abstract

The application provides a Jenkins and K8s-based task execution resource expansion and contraction method, device and medium, relates to the technical field of task publishing, and comprises the following steps: acquiring each preset sub-task queue; in response to any sub-task QR corresponding to a to-be-published task completed by Jenkins construction, storing configuration information corresponding to the QR into the sub-task queue corresponding to the QR; for any sub-task queue RA, if the number of configuration information in the RA is greater than or equal to a first preset queue length threshold, acquiring a first duration for which the number of configuration information in the RA is greater than or equal to the preset queue length threshold; and if the first duration is greater than or equal to a first preset time, expanding the execution instance corresponding to the RA; and the application comprehensively improves the response speed, resource utilization rate and operation stability of the continuous integration / continuous deployment process.
Need to check novelty before this filing date? Find Prior Art