Image acquisition method in node cluster, node equipment and server

A node device and server technology, which is applied in the information field and can solve the problems that the resource limit of the business container cannot be used normally, and the business container cannot run normally.

Active Publication Date: 2018-03-20
HUAWEI TECH CO LTD
View PDF7 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a mirror image acquisition method, node device, and server in a node cluster, which are used to solve the problem that the resources used by the existing cluster nodes are not Limitation, the resource quota of the existing business container cannot be used normally, and the business container cannot run normally

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
  • Image acquisition method in node cluster, node equipment and server
  • Image acquisition method in node cluster, node equipment and server
  • Image acquisition method in node cluster, node equipment and server

Examples

Experimental program
Comparison scheme
Effect test

example

[0143] The business container image identifier is the image name and tag;

[0144]

[0145]

[0146] The value "foo" corresponding to the "name" field is the image name;

[0147] The value "2.0" corresponding to the "tag" field is the image tag;

[0148] The value 10 corresponding to the "replicas" field is the number of business containers that need to be created and run;

[0149] The value "512" corresponding to the "resources"."limits"."cpu" field is the resource limit of the CPU. Define 1024 as the limit of a cpu, then 512 is the limit of 0.5 cpu;

[0150] The value "100M" corresponding to the "resources"."limits"."memory" field is the resource limit of memory.

[0151]2. The cluster management platform determines that the number of instances of business containers to be created exceeds the preset threshold, and sends a mirror distribution request to the mirror warehouse. The mirror distribution request includes the business container mirror identifier, and the pa...

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 embodiment of the invention provides an image acquisition method in a node cluster, node equipment and a server, and relates to the technical field of the information. The problem that a service container cannot operate as normal since the resource limitation of the existing service container cannot be used as normal under the situation that the used resource is unlimited when the existing cluster node downloads an image through a P2P way by starting a BT client is solved. The method comprises the following steps: a first node receives a service container operation request including an image identifier of the image of a first to-be-operated service container and the resource limitation of the first to-be-operated service container, and requests mirror distribution information corresponding to the mirror identifier from the first server; when an acquisition way of the image layer comprises the P2P acquisition way, the first node creates a P2P container, and sets that the operation resource limitation of the P2P container to be less than and equal to the resource limitation of the first to-be-operated service container, and an image layer compression sack corresponding to the image layer identifier is acquired through the P2P container.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a mirror image acquisition method, node equipment and server in a node cluster. Background technique [0002] Docker is an open-source business container engine that allows developers to package applications and the environment that the application depends on into a Docker image, which is pre-stored in the image warehouse. When users need to use the application, they can download the image. Create a business container that can run the application. [0003] Specifically, the existing Docker image download process is as follows: after the cluster management platform receives the user's task request for creating a business container, it will download the image from the image warehouse to the local according to the image ID included in the task request, and create a Make corresponding seed files for each image layer compressed package in the image, then start the BitTor...

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): H04L29/08
CPCH04L67/02H04L67/06H04L67/1044H04L67/1095
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