Container service network configuration method and related product
The invention belongs to the technical field of cloud computing, and particularly relates to a container service network configuration method and related products. The method comprises the steps that when it is monitored that a new container is created on a host, a container network stack is configu...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
15.04.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention belongs to the technical field of cloud computing, and particularly relates to a container service network configuration method and related products. The method comprises the steps that when it is monitored that a new container is created on a host, a container network stack is configured for the container; configuring a virtual network card corresponding to the physical network card of the host, wherein the virtual network card is a network interface with an independent physical address; recording a physical address of the virtual network card in a physical network card of the host; and registering a hook function for carrying out load balancing processing on the service access traffic of the container according to the physical address of the virtual network card. According to the invention, a data transmission path can be shortened, cross-layer transmission is reduced, and network delay of data transmission is reduced.
本申请属于云计算技术领域,具体涉及一种容器服务网络配置方法及相关产品。该方法包括:当监测到主机上创建新的容器时,为所述容器配置容器网络栈;配置与所述主 |
---|---|
Bibliography: | Application Number: CN202111643239 |