Method and apparatus for scheduling containers in parallel in cluster

A scheduler and container technology, applied to multi-program devices, instruments, program startup/switching, etc., can solve resource conflicts and other problems, and achieve the effect of avoiding resource conflicts

Active Publication Date: 2017-07-04
HUAWEI TECH CO LTD
View PDF6 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention provides a method and device for parallel scheduling con

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 apparatus for scheduling containers in parallel in cluster
  • Method and apparatus for scheduling containers in parallel in cluster
  • Method and apparatus for scheduling containers in parallel in cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the object, technical solution and advantages of the present invention clearer, the specific embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0025] figure 2 A system architecture for parallel scheduling containers in a cluster related to an embodiment of the present invention is described. The system architecture of the parallel scheduling container includes a Scheduler 201 (such as Scheduler1 and Scheduler2, etc.), a central manager Master 202, and nodes Node203 (such as Node1 and Node2, etc.). Scheduler 201, Master 202 and Node 203 establish a communication connection. Wherein, the node can be a virtual machine or a physical machine, several containers can be deployed on one node, and each node has an Agent 2031 . The Agent 2031 on the node is used to manage all containers deployed on the node, including monitoring the resource information of the node (such as CPU, memo...

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 relates to the technical field of cluster resource scheduling, and provides a method for scheduling containers in parallel in a cluster. The method comprises the steps of periodically obtaining cluster state information by a scheduler, wherein the cluster state information comprises resource information of all nodes in the cluster and description information of all containers in the cluster, the description information of the containers comprises container IDs of the containers, resource demands of the containers and deployment node IDs of the containers, and the resource information of the nodes comprises IDs of the nodes and resource quantities of the nodes; and according to the cluster state information, the container information of the containers scheduled by the scheduler and the container information of the containers scheduled by other schedulers, scheduling to-be-deployed containers to the nodes in the cluster, wherein the scheduled container information comprises container IDs and deployment node IDs of the scheduled containers. Through the scheme, the problem of resource conflicts in parallel scheduling is effectively reduced.

Description

technical field [0001] The present invention relates to the technical field related to cluster resource scheduling, and in particular to a method and device for parallel scheduling containers in a cluster. Background technique [0002] With the development of virtualization technology, more and more companies migrate their online applications to cloud platforms. Container (Container), as a lightweight virtualization technology, has developed rapidly in recent years. Container technology creates an independent operating environment for different applications, realizes resource isolation, configuration and security guarantee, can meet the resource requirements of application allocation on demand, and guarantee the isolation and availability of applications. [0003] In order to meet the requirements of large-scale applications, in practice, it is often necessary to deploy many containers in a computer cluster (Cluster, hereinafter referred to as the cluster) for unified manag...

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
IPC IPC(8): G06F9/48
CPCG06F9/485
Inventor 丁海洋谢军安胡瑞丰蒋飞虎姜耀国
Owner HUAWEI 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