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

A container deployment method increases access speed between isolated containers on a same host. The method includes: receiving a container deployment message including container image information and association information of a container; creating a container for a first service, and a first netwo...

Full description

Saved in:
Bibliographic Details
Main Authors Hu, Ruifeng, Jiang, Feihu, Xie, Junan, Jiang, Yaoguo, Ding, Haiyang
Format Patent
LanguageEnglish
Published 11.05.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A container deployment method increases access speed between isolated containers on a same host. The method includes: receiving a container deployment message including container image information and association information of a container; creating a container for a first service, and a first network namespace and a first IPC namespace corresponding to the container for the first service; creating a first load balancing container corresponding to the container for the first service, and setting a running parameter of the first load balancing container to a parameter of the first network namespace; creating a loopback interface in the first network namespace; determining that the network device has a container that is for a second service and that is associated with the container for the first service; and setting a starting parameter of the first load balancing container to a parameter of a second IPC namespace.
Bibliography:Application Number: US201916414303