Unlock instant, AI-driven research and patent intelligence for your innovation.

Container deployment method, communication method between services, and related devices

A container and service address technology, applied in the field of virtualization, can solve the problem of destroying container isolation

Active Publication Date: 2020-06-16
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, if the same container needs to be accessed by multiple other containers, this solution will destroy the isolation between all containers

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
  • Container deployment method, communication method between services, and related devices
  • Container deployment method, communication method between services, and related devices
  • Container deployment method, communication method between services, and related devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The terms "first", "second", etc. involved in the specification and claims of the present application and the drawings described above are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence . The technical solutions in the embodiments of the present application are described below with reference to the drawings in the embodiments of the present application.

[0031] Such as figure 2 As shown in , it is a schematic diagram of the architecture of a docker container-based microservice deployment system provided by this application. The deployment system includes a management node, a task node and a service registration center. Among them, the management node can receive the container deployment message sent by the business personnel, and schedule the container to run on a certain task node. The task node here may refer to any physical machine PM or virtual machine VM in the network. A container management module i...

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 discloses a container deployment method, a communication method between services and related devices, which can improve the access speed between containers on the basis of ensuring the isolation between containers on the same host machine. The container deployment method includes: receiving a container deployment message, the container deployment message includes container image information and container associated information; creating a first service container and corresponding first network namespace and first inter-process communication IPC naming according to the container image information Space; create the first load balancing container corresponding to the container of the first service, and set the operating parameters of the first load balancing container as the parameters of the first network namespace; create a loopback interface in the first network namespace; according to the The association information of the container determines that there is a container of the second service associated with the container of the first service on the network device, and sets the startup parameters of the first load balancing container as parameters of the second IPC namespace.

Description

technical field [0001] The invention relates to the technical field of virtualization, in particular to a container deployment method, a communication method between services and related devices. Background technique [0002] With the rise of the container technology represented by docker, there has been a trend in the industry to use containers as the running form of applications (applications, Apps). Docker container technology is a lightweight operating system virtualization technology. Although containers on the same host (physical machine or virtual machine) share the operating system kernel, the resources used between different containers (such as CPU, Memory, etc.) are isolated from each other. The isolation between containers is generally achieved through the namespace technology provided by the Linux kernel. The Linux kernel provides host name, inter-process communication (inter-process communication, IPC), network (Network), mount point (Mount), and user (User) i...

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 Patents(China)
IPC IPC(8): H04L29/06
CPCH04L63/02H04L67/34H04L67/10G06F9/455H04L41/5054G06F9/5077H04L41/40G06F9/45558G06F9/505G06F9/547G06F2009/4557G06F2009/45595G06F9/5055G06F9/54H04L47/125H04L41/0803H04L63/0272H04L12/4641H04L2012/5618G06F9/45533H04L67/01
Inventor 姜耀国蒋飞虎谢军安胡瑞丰丁海洋
Owner HUAWEI TECH CO LTD