Container deployment method, communication method between services, and related apparatus
Abstract:
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.
Information query
Patent Agency Ranking
0/0