Method and device for configuring queues of Kubernetes scheduler

A configuration method and scheduler technology, applied in the computer field, can solve problems such as the scheduler's inability to provide queue scheduling and unfavorable machine learning tasks, and achieve the effects of optimizing system scheduling strategies, speeding up task deployment efficiency, and improving performance

Active Publication Date: 2019-12-24
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The Kubernetes platform can meet the needs of most distributed system deployment and management, but in different application business environments, there may be some special requirements for the platform, which can be abstracted as extended resources of Kubernetes, and CRD (CustomResource Definition) of Kubernetes Provides a lightweight mechanism for such requirements to ensure the rapid registration and use of new resources. The scheduler of K8s itself has some defects: (1) The default scheduler is based on Pod as the granularity, which is very difficult for machine learning tasks. Disadvantage; (2) The default scheduler cannot provide the function of queue scheduling

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for configuring queues of Kubernetes scheduler
  • Method and device for configuring queues of Kubernetes scheduler
  • Method and device for configuring queues of Kubernetes scheduler

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Embodiments of the present invention are described below. It is to be understood, however, that the disclosed embodiments are merely examples and that other embodiments may take various alternative forms. The figures are not necessarily to scale; some features may be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present invention. As will be understood by persons of ordinary skill in the art, various features shown and described with reference to any one figure may be combined with features shown in one or more other figures to create embodiments not explicitly shown or described . Combinations of features shown provide representative embodiments for typical applications. However, various combinations and modifications of the features consiste...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for configuring the queues of a Kubernetes scheduler. The method comprises the following steps of polling all queues to query the task information in each queue in a scheduling period, and calculating an allocated resource value of each queue; calculating the proportion of the resources required by each queue in the resources required by all the queues, and obtaining the residual resource value in a cluster which can be used by the queues based on the proportion; and calculating the ratio of the allocated resource value of the queue to the remaining resource value in the cluster which can be used by the queue, and setting the priority of the queue according to the ratio. According to the method, the cluster resource utilization rate and the performance for deeply learning and training the task are improved, and a system scheduling strategy is optimized.

Description

technical field [0001] The present invention relates to the computer field, and more specifically, to a configuration method and device for a queue of a Kubernetes scheduler. Background technique [0002] Kubernetes is a container orchestration engine open sourced by Google, which supports automated deployment, large-scale scalability, and application container management. When an application is deployed in a production environment, multiple instances of the application are usually deployed to load balance application requests. In Kubernetes, we can create multiple containers, run an application instance in each container, and then use the built-in load balancing strategy to realize the management, discovery, and access of this group of application instances, and these details do not require operation and maintenance. personnel to perform complex manual configuration and processing. The Kubernetes platform can meet the needs of most distributed system deployment and manage...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5005
Inventor 方雪静
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products