CN110138606B - Container network configuration method and system - Google Patents

Container network configuration method and system Download PDF

Info

Publication number
CN110138606B
CN110138606B CN201910371434.5A CN201910371434A CN110138606B CN 110138606 B CN110138606 B CN 110138606B CN 201910371434 A CN201910371434 A CN 201910371434A CN 110138606 B CN110138606 B CN 110138606B
Authority
CN
China
Prior art keywords
container
virtual network
network card
network
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910371434.5A
Other languages
Chinese (zh)
Other versions
CN110138606A (en
Inventor
陈丹双
刘科
赵亚楠
程航
蔡峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ctrip Travel Information Technology Shanghai Co Ltd
Original Assignee
Ctrip Travel Information Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ctrip Travel Information Technology Shanghai Co Ltd filed Critical Ctrip Travel Information Technology Shanghai Co Ltd
Priority to CN201910371434.5A priority Critical patent/CN110138606B/en
Publication of CN110138606A publication Critical patent/CN110138606A/en
Application granted granted Critical
Publication of CN110138606B publication Critical patent/CN110138606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

The invention discloses a container network configuration method and a system, wherein the container network configuration method comprises the steps of applying for a virtual network card for a container group; creating a virtual network card corresponding to the container group; storing the corresponding relation between the virtual network card and the container group in a database; creating containers belonging to the container group on the host, judging whether a container network is created, and inquiring a virtual network card corresponding to the container group to which the containers belong in a database if the container network is created; binding the virtual network card to a host machine; and carrying out network configuration on the container according to the virtual network card. The invention takes the virtual network card and the corresponding IP stored in the database of the global IP management module as the only data source when the container network is established, so that the IP of all the container networks belonging to one container group is fixed, the container networks can keep the IP unchanged when the update version is applied and the host machine is in fault migration to other host machines and other scenes, and the drift of the IP is ensured.

Description

Container network configuration method and system
Technical Field
The invention relates to the field of computer container arrangement clusters, in particular to a container network configuration method and a container network configuration system.
Background
With the popularization of container technology in enterprise application deployment and release, more and more enterprise services and applications are based on container resources and underlying infrastructure, and the application environment migration experience which can be unified by using containers to release applications at the second level can be achieved.
Because the container is a relatively light resource, when the container is released, the container needs to be destroyed and a new container needs to be pulled up again, and basically, in the current container arrangement system, the IP of the container is generated due to the destruction and generation of the container along with the destruction of the container, which leads to the inevitable change of the IP of the new container, but the existing architecture in an enterprise cannot adapt to the situation of the change of the IP of the container.
Disclosure of Invention
The invention provides a container network configuration method and system, aiming at overcoming the defect that the IP of a container changes along with the storage and the extinguishing of the container in the prior art.
The invention solves the technical problems through the following technical scheme:
the invention provides a container network configuration method, which comprises the following steps:
applying for a virtual network card for the container group;
creating the virtual network card corresponding to the container group;
storing the corresponding relation between the virtual network card and the container group in a database;
creating a container on a host, the container belonging to the group of containers;
judging whether to create a container network, if so:
querying the virtual network card corresponding to the container group to which the container belongs in the database;
binding the virtual network card to the host machine;
and carrying out network configuration on the container according to the virtual network card.
Preferably, the container network configuration method further includes:
judging whether to delete the container network, if so:
querying the virtual network card corresponding to the container group to which the container belongs in the database;
unbinding the binding of the virtual network card and the host machine;
deleting the network configuration of the container on the host.
Preferably, the container network configuration method further includes:
judging whether the container group is shrunk or not, if so, then:
deleting the virtual network card corresponding to the container group;
and marking the virtual network card as release in the database.
Preferably, the container network configuration method further includes:
after the virtual network card corresponding to the container group is created, returning a creation result;
and/or returning a binding result after binding the virtual network card to the host machine;
and/or returning a binding-off result after the virtual network card is bound with the host machine;
and/or after deleting the virtual network card corresponding to the container group, returning a deletion result.
Preferably, after binding the virtual network card to the host, the method further includes:
polling whether the virtual network card appears in a network card equipment list of the host machine; and when the polling result is yes, carrying out network configuration of the container according to the virtual network card.
Preferably, the network configuration of the container according to the virtual network card includes:
acquiring the IP, MAC and gateway address of the virtual network card;
and moving the virtual network card into the container network to configure the IP, the MAC and the gateway address.
The invention also provides a container network configuration system which is realized by using the container network configuration method and comprises a network facility management component, a global IP management module and a container network plug-in, wherein the global IP management module comprises a database;
the global IP management module is used for acquiring a first request for applying a virtual network card for a container group and sending the first request to the network facility management component;
the network facility management component is used for receiving the first request and creating the virtual network card corresponding to the container group;
after the virtual network card is successfully created, the global IP management module is further used for storing the corresponding relation between the virtual network card and the container group in the database;
creating a container on a host, the container belonging to the group of containers; the container network plug-in is used for judging whether a second request for creating a container network is acquired, and if so, sending a third request for inquiring and binding a virtual network card to the global IP management module;
the global IP management module is further configured to receive the third request, and query the virtual network card corresponding to the container group to which the container belongs in the database;
the network facility management component is also used for binding the virtual network card to the host machine;
and the container network plug-in is also used for carrying out network configuration on the container according to the virtual network card.
Preferably, the container network plug-in is further configured to determine whether a fourth request for deleting the container network is obtained, and if so, send a fifth request for querying a virtual network card to be unbiased to the global IP management module;
the global IP management module is further configured to receive the fifth request, and query the virtual network card corresponding to the container group to which the container belongs in the database;
the network facility management component is also used for unbinding the binding of the virtual network card and the host machine where the container is located;
the container network plug-in is also used for deleting the network configuration of the container on the host machine.
Preferably, the global IP management module is further configured to obtain a sixth request for shrinking the container group, and send a seventh request for deleting the virtual network card corresponding to the container group to the network facility management component;
the network facility management component is further configured to receive the seventh request and delete the virtual network card corresponding to the container group;
the global IP management module is also used for marking the virtual network card in the database as release.
Preferably, after the network facility management component creates the virtual network card corresponding to the container group, the global IP management module is further configured to return a creation result;
and/or after the network facility management component binds the virtual network card to the host machine, the global IP management module is further used for returning a binding result;
and/or after the network facility management component unbinds the binding of the virtual network card and the host, the global IP management module is further used for returning an unbinding result;
and/or after the network facility management component deletes the virtual network card corresponding to the container group, the global IP management module is further configured to return a deletion result.
Preferably, the container network configuration system includes: after the virtual network card is bound to the host machine, the network management plug-in is further used for polling whether the virtual network card appears in a network card equipment list of the host machine; and when the polling result is yes, the network management plug-in is also used for carrying out network configuration on the container according to the virtual network card.
Preferably, the network management plug-in is further configured to perform network configuration on the container according to the virtual network card, including:
the network management plug-in is also used for acquiring the IP, MAC and gateway address of the virtual network card;
and the network management plug-in is also used for moving the virtual network card into the container network to carry out the configuration of the IP, the MAC and the gateway address.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
The positive progress effects of the invention are as follows: when the container network is established, the virtual network card stored in a database in a global IP management module and the corresponding IP are used as the only data source of the network configuration, so that the IP of all the container networks belonging to one container group is fixed, the container networks can keep the IP unchanged when an application update version is applied and a host machine fails to migrate to other host machines and other scenes, the drift of the IP is ensured, and the normal operation of other services depending on the container networks is ensured.
Drawings
Fig. 1 is a flowchart of creating a container group and a container network according to a container network configuration method in embodiment 1 of the present invention.
Fig. 2 is a flowchart of a container network deletion method according to embodiment 1 of the present invention.
Fig. 3 is a flowchart of a reduced capacity container group of the container network configuration method according to embodiment 1 of the present invention.
Fig. 4 is a schematic structural diagram of a container network configuration system according to embodiment 2 of the present invention.
Detailed Description
The present invention will be more clearly and completely described below by way of examples and with reference to the accompanying drawings, but the present invention is not limited thereto.
Example 1
The embodiment provides a container network configuration method, which is applied to a container network configuration system. The container network configuration system comprises a network facility management component, a global IP management module and a container network plug-in, wherein the global IP management module comprises a database. The container network configuration method comprises two links of creation and deletion, as shown in fig. 1, the creation of the container network comprises the following steps:
s11, applying for a virtual network card for the container group;
a group of containers that together provide the same service serves as a service group, and typically a container for an application serves as a service group, herein named a container group. The names of the container groups are prefixed by the id of the application and are named as appid-0 and appid-1 … … respectively.
When the application container group is created for the first time, a system (hereinafter referred to as a container creation request system) sending a container creation request applies for a corresponding virtual network card and a corresponding IP for the container group from the global IP management module, and the global IP management module sends the creation request to a network facility management component on the lower layer after receiving the request.
S12, creating a virtual network card corresponding to the container group;
and after receiving the creation request sent by the global IP management module, the network facility management component creates the virtual network card corresponding to the container group and the corresponding IP, and returns the creation result, the virtual network card and the corresponding IP to the global IP management module.
S13, storing the corresponding relation between the virtual network card and the container group in a database;
after receiving the creation result, the virtual network card and the corresponding IP returned by the network facility management component, the global IP management module stores the corresponding relation between the virtual network card and the container group in the database and returns the creation result to the container creation request system.
At this point, the container group and the corresponding virtual network card and the corresponding IP are created. Therefore, when a container network of containers belonging to the container group is created later, the virtual network card corresponding to the container group is inquired in the database in the global IP management module, and network configuration is performed according to the virtual network card corresponding to the container group and the corresponding IP, so that the phenomenon of IP drift can not occur.
S14, creating a container on the host machine, wherein the container belongs to the container group;
the container creation request system requests the creation of a container on the host, which belongs to the aforementioned group of containers.
S15, judging whether to create a container network, if so, executing the step S16:
the container creating request system judges whether the container needs to create a container network, if so, the container network creating request system requests a container network plug-in unit to create the container network through a container network interface by a host machine, and after receiving the request, the container network plug-in unit requests a global IP management module to inquire a virtual network card and an IP corresponding to a container group to which the container belongs.
S16, inquiring the virtual network card corresponding to the container group to which the container belongs in the database;
the global IP management module inquires the virtual network card corresponding to the container group to which the container belongs in the database, and returns the IP (network address), MAC (physical address) and gateway address of the virtual network card after the inquiry is successful.
S17, binding the virtual network card to the host machine;
the container network plug-in receives the relevant address of the virtual network card corresponding to the container, requests the global IP management module to bind the virtual network card to the host, the global IP management module sends a binding request to the network facility management component at the lower layer after receiving the binding request, the network facility management component performs the operation of binding the virtual network card to the host after receiving the binding request, then returns the binding result to the global IP management module, and the global IP management module transmits the binding result back to the container network plug-in.
And S18, carrying out network configuration of the container according to the virtual network card.
After the container network plug-in sends the binding request in step S17, it is polled on the host to detect whether the virtual network card appears in the network card device list, and when the virtual network card appears in the network card device list of the host, it represents that the binding operation has been completed. At this time, the network device is moved into the network space of the container, and the IP address, the MAC address, the routing table, and the default gateway address are configured in the container space.
The container network has now completed creating the configuration.
The deleting link comprises two processes of deleting a container network and reducing a container group. As shown in fig. 2, the delete container network comprises the following steps:
s21, judging whether the container network is deleted, if so, executing S22;
the container creating request system requests the host machine to delete the container, when the container is deleted, the container creating request system judges whether to delete the container network, if so, the host machine requests the container network plug-in unit to delete the container network. And after receiving the request, the container network plug-in requests the global IP management module to inquire the virtual network card and the IP corresponding to the container group to which the container belongs.
S22, inquiring the virtual network card corresponding to the container group to which the container belongs in the database;
and the global IP management module inquires the virtual network card corresponding to the container group to which the container belongs in the database, and returns the information of the virtual network card to the container network plug-in after the inquiry is successful.
S23, unbinding the binding between the virtual network card and the host machine;
after receiving the relevant information of the virtual network card corresponding to the container, the container network plug-in unit requests the global IP management module to solve and bind the virtual network card and the host machine, after receiving the unbinding request, the global IP management module sends the unbinding request to the network facility management component on the lower layer, after receiving the unbinding request, the network facility management component performs the operation of unbinding the virtual network card and the host machine, then returns the unbinding result to the global IP management module, and then the global IP management module transmits the unbinding result back to the container network plug-in unit.
And S24, deleting the network configuration of the container on the host machine.
After the virtual network card and the host are successfully unbound, the container network plug-in unit deletes the network configuration corresponding to the container on the host for use when the container belonging to the container group is used for establishing the container network next time.
As shown in fig. 3, the reduced capacity container group includes the following steps:
s31, judging whether the container group is shrunk or not, if so, executing a step S32;
the container creation request system judges whether to reduce the container group, and when the judgment is yes, the container creation request system requests the global IP management module to delete the virtual network card and the corresponding IP corresponding to the container group, and the global IP management module sends a deletion request to the network facility management component on the lower layer after receiving the request.
S32, deleting the virtual network card corresponding to the container group;
and after receiving the deletion request, the network facility management component deletes the virtual network card and the corresponding IP, and then returns the deletion result to the global IP management module, and the global IP management module transmits the deletion result back to the container creation request system.
And S33, marking the virtual network card in the database as release.
And the global IP management module marks the virtual network card as released in the database while transmitting the deletion result back to the container creation request system.
And at this point, the deleting link of the container network is completely finished.
In this embodiment, the virtual network cards corresponding to the container group are stored in the database, and the containers belonging to the container group obtain the corresponding virtual network cards and the corresponding IP addresses by querying the database when the container network is created, so that it is ensured that the IPs corresponding to the container network created by the containers belonging to the container group are all fixed, and the containers are kept unchanged when the update version is applied and the hosts are migrated to other hosts due to a failure, thereby ensuring the drift of the IP and ensuring the normal operation of other services depending on the container network.
Example 2
The present embodiment provides a container network configuration system, as shown in fig. 4, the container network configuration system includes a network facility management component 1, a global IP management module 2, and a container network plug-in 3, where the global IP management module 2 includes a database 4.
In the link of creating the container network, the global IP management module 2 is used for acquiring a first request for applying for a virtual network card for a container group and sending the request to the network facility management component 1;
the network facility management component 1 is used for receiving the first request and creating a virtual network card corresponding to the container group; and then returning the creation result, the virtual network card and the corresponding IP to the global IP management module 2.
After receiving the creation result, the virtual network card and the corresponding IP returned by the network facility management component 1, the global IP management module 2 is further configured to store the corresponding relationship between the virtual network card and the container group in the database 4.
At this point, the container group and the corresponding virtual network card and the corresponding IP are created. Therefore, when a container network of the container belonging to the container group is created later, network configuration is carried out according to the virtual network card corresponding to the container group and the corresponding IP, so that the phenomenon of IP drift is avoided.
In the process of creating the container configuration container network, after the container belonging to the container group is created on the host, the container network plug-in 3 is used for judging whether a second request of the host requesting to create the container network is obtained, and if so, sending a third request for requesting to query the virtual network card corresponding to the container group to which the container belongs to the global IP management module 2.
The global IP management module 2 is further configured to receive the third request, query the database 4 for a virtual network card corresponding to the container group to which the container belongs, and return an IP (network address), an MAC (physical address), and a gateway address of the virtual network card after the query is successful.
The network facility management component 1 is further configured to receive the binding request forwarded by the global IP management module 2, bind the virtual network card to the host, then return the binding result to the global IP management module 2, and the global IP management module 2 transmits the binding result back to the container network plug-in 3.
The container network plug-in 3 is further configured to poll the host to detect whether the virtual network card appears in the network card device list, and when the virtual network card appears in the network card device list of the host, it represents that the binding operation has been completed. At this time, the virtual network card is moved into the network space of the container, and the configuration of the IP address, the MAC address, the routing table, and the default gateway address is performed in the container space.
In the process of deleting the configuration of the container network, the container network plug-in 3 is further configured to determine whether to obtain a fourth request for deleting the container network sent by the host, and if so, send a fifth request for querying the unbundling virtual network card to the global IP management module 2.
The global IP management module 2 is further configured to receive the fifth request, query the database 4 for a virtual network card corresponding to the container group to which the container belongs, and return information of the virtual network card after the query is successful.
The network facility management component 1 is further configured to receive the unbinding request forwarded by the global IP management module 2, unbind the binding between the virtual network card and the host where the container is located, then return an unbinding result to the global IP management module 2, and the global IP management module 2 transmits the unbinding result back to the container network plugin 3.
After the virtual network card and the host are successfully unbound, the container network plug-in 3 is further used for deleting the network configuration of the container on the host, so as to be used when the container belonging to the container group is created into the container network next time.
In the process of the reduced capacity container group, the global IP management module 2 is further configured to obtain a sixth request of the reduced capacity container group sent by the container creation request system, and send a seventh request of deleting the virtual network card corresponding to the container group to the network facility management component 1;
the network facility management component 1 is further configured to receive the seventh request, delete the virtual network card corresponding to the container group, then return a deletion result to the global IP management module 2, and the global IP management module 2 transmits the deletion result back to the container creation request system.
The global IP management module 2 is also configured to mark the virtual network card as released in the database 4 while transmitting the deletion result.
In this embodiment, the virtual network cards corresponding to the container groups are stored in the database, and the containers belonging to the container groups obtain the corresponding virtual network cards and the corresponding IP addresses by querying the database when creating the container network, so that it is ensured that the IPs corresponding to the container networks created by the containers belonging to the container groups are all fixed, and the containers can keep the IPs unchanged when applying an updated version and when a host fails to migrate to other hosts, etc., thereby ensuring drift of the IPs and normal operation of other services depending on the container networks.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (12)

1. A method for configuring a container network, comprising:
applying for a virtual network card for the container group;
creating the virtual network card corresponding to the container group;
storing the corresponding relation between the virtual network card and the container group in a database;
creating a container on a host, the container belonging to the group of containers;
judging whether to create a container network, if so:
querying the virtual network card corresponding to the container group to which the container belongs in the database;
binding the virtual network card to the host machine;
and carrying out network configuration on the container according to the virtual network card.
2. The container network configuration method of claim 1, wherein the container network configuration method further comprises:
judging whether to delete the container network, if so:
querying the virtual network card corresponding to the container group to which the container belongs in the database;
unbinding the binding of the virtual network card and the host machine;
deleting the network configuration of the container on the host.
3. The container network configuration method of claim 1, wherein the container network configuration method further comprises:
judging whether the container group is shrunk or not, if so, then:
deleting the virtual network card corresponding to the container group;
and marking the virtual network card as release in the database.
4. A container network configuration method according to claim 2 or 3, wherein the container network configuration method further comprises:
after the virtual network card corresponding to the container group is created, returning a creation result;
and/or returning a binding result after binding the virtual network card to the host machine;
and/or returning a binding-off result after the virtual network card is bound with the host machine;
and/or after deleting the virtual network card corresponding to the container group, returning a deletion result.
5. The container network configuration method of claim 1, wherein after binding the virtual network card to the host, further comprising:
polling whether the virtual network card appears in a network card equipment list of the host machine; and when the polling result is yes, carrying out network configuration of the container according to the virtual network card.
6. The method for configuring a container network according to claim 5, wherein the network configuring the container according to the virtual network card comprises:
acquiring the IP, MAC and gateway address of the virtual network card;
and moving the virtual network card into the container network to configure the IP, the MAC and the gateway address.
7. A container network configuration system, comprising a network facility management component, a global IP management module and a container network plug-in, wherein the global IP management module comprises a database;
the global IP management module is used for acquiring a first request for applying a virtual network card for a container group and sending the first request to the network facility management component;
the network facility management component is used for receiving the first request and creating the virtual network card corresponding to the container group;
after the virtual network card is successfully created, the global IP management module is further used for storing the corresponding relation between the virtual network card and the container group in the database;
creating a container on a host, the container belonging to the group of containers; the container network plug-in is used for judging whether a second request for creating a container network is acquired, and if so, sending a third request for inquiring and binding a virtual network card to the global IP management module;
the global IP management module is further configured to receive the third request, and query the virtual network card corresponding to the container group to which the container belongs in the database;
the network facility management component is also used for binding the virtual network card to the host machine;
and the container network plug-in is also used for carrying out network configuration on the container according to the virtual network card.
8. The container network configuration system of claim 7,
the container network plug-in is also used for judging whether a fourth request for deleting the container network is acquired, and if so, a fifth request for inquiring and unbinding the virtual network card is sent to the global IP management module;
the global IP management module is further configured to receive the fifth request, and query the virtual network card corresponding to the container group to which the container belongs in the database;
the network facility management component is also used for unbinding the binding of the virtual network card and the host machine where the container is located;
the container network plug-in is also used for deleting the network configuration of the container on the host machine.
9. The container network configuration system of claim 7,
the global IP management module is further configured to obtain a sixth request for shrinking the container group and send a seventh request for deleting the virtual network card corresponding to the container group to the network facility management component;
the network facility management component is further configured to receive the seventh request and delete the virtual network card corresponding to the container group;
the global IP management module is also used for marking the virtual network card in the database as release.
10. The container network configuration system according to claim 8 or 9, wherein the global IP management module is further configured to return a creation result after the network appliance management component creates the virtual network card corresponding to the container group;
and/or after the network facility management component binds the virtual network card to the host machine, the global IP management module is further used for returning a binding result;
and/or after the network facility management component unbinds the binding of the virtual network card and the host, the global IP management module is further used for returning an unbinding result;
and/or after the network facility management component deletes the virtual network card corresponding to the container group, the global IP management module is further configured to return a deletion result.
11. The container network configuration system of claim 7, wherein the container network configuration system comprises:
after the virtual network card is bound to the host machine, the container network plug-in is further used for polling whether the virtual network card appears in a network card equipment list of the host machine; and when the polling result is yes, the container network plug-in is also used for carrying out network configuration on the container according to the virtual network card.
12. The system for configuring a container network of claim 11, wherein the container network plug-in is further configured to perform network configuration of the container according to the virtual network card comprising:
the container network plug-in is also used for acquiring the IP, MAC and gateway address of the virtual network card;
the container network plug-in is also used for moving the virtual network card into the container network to carry out the configuration of the IP, the MAC and the gateway address.
CN201910371434.5A 2019-05-06 2019-05-06 Container network configuration method and system Active CN110138606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910371434.5A CN110138606B (en) 2019-05-06 2019-05-06 Container network configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910371434.5A CN110138606B (en) 2019-05-06 2019-05-06 Container network configuration method and system

Publications (2)

Publication Number Publication Date
CN110138606A CN110138606A (en) 2019-08-16
CN110138606B true CN110138606B (en) 2022-03-15

Family

ID=67576350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910371434.5A Active CN110138606B (en) 2019-05-06 2019-05-06 Container network configuration method and system

Country Status (1)

Country Link
CN (1) CN110138606B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037522A (en) * 2019-12-24 2021-06-25 华为数字技术(苏州)有限公司 Container unit management method and related equipment
CN111404753B (en) * 2020-03-23 2021-08-20 星环信息科技(上海)股份有限公司 Flat network configuration method, computer equipment and storage medium
CN112398936B (en) * 2020-11-06 2023-03-28 浪潮云信息技术股份公司 Kubernetes-based multi-network card container implementation method and system
CN112600903B (en) * 2020-12-09 2023-01-20 浪潮云信息技术股份公司 Elastic virtual network card migration method
CN113254156B (en) * 2021-05-31 2024-04-09 深信服科技股份有限公司 Container group deployment method and device, electronic equipment and storage medium
CN113452806B (en) * 2021-06-24 2022-10-04 上海道客网络科技有限公司 Container adaptation SDN network management method and system based on Kubernets system
CN113285843B (en) * 2021-07-23 2021-10-22 中航金网(北京)电子商务有限公司 Container network configuration method and device, computer readable medium and electronic equipment
CN114244717B (en) * 2022-02-28 2022-05-20 苏州浪潮智能科技有限公司 Configuration method and device of virtual network card resources, computer equipment and medium
CN115913937B (en) * 2023-01-09 2023-05-23 苏州浪潮智能科技有限公司 Container multi-network card network configuration method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731514A (en) * 2013-12-29 2014-04-16 国云科技股份有限公司 Virtual network management method
CN105554102A (en) * 2015-12-14 2016-05-04 中电科华云信息技术有限公司 Elastic expansion method based on container cluster and application system thereof
CN107580083A (en) * 2017-09-20 2018-01-12 北京京东尚科信息技术有限公司 A kind of method and system of container IP address distribution

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912926B2 (en) * 2006-07-20 2011-03-22 Oracle America, Inc. Method and system for network configuration for containers
CN105491123B (en) * 2015-12-04 2019-02-22 北京航空航天大学 Communication means and device between container
CN107395781A (en) * 2017-06-29 2017-11-24 北京小度信息科技有限公司 Network communication method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731514A (en) * 2013-12-29 2014-04-16 国云科技股份有限公司 Virtual network management method
CN105554102A (en) * 2015-12-14 2016-05-04 中电科华云信息技术有限公司 Elastic expansion method based on container cluster and application system thereof
CN107580083A (en) * 2017-09-20 2018-01-12 北京京东尚科信息技术有限公司 A kind of method and system of container IP address distribution

Also Published As

Publication number Publication date
CN110138606A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN110138606B (en) Container network configuration method and system
CN107580083B (en) Method and system for allocating IP addresses of containers
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
US6973506B2 (en) Position identifier management apparatus and method, mobile computer, and position identifier processing method
CN100484125C (en) Answering method to address inquire and appts. thereof
RU2683630C2 (en) Method for update of nsd network service descriptor and device
CN101841520B (en) Domain name system and information processing method and device for domain name system
CN104040964B (en) Method, device and data center network across service area communication
WO2021003798A1 (en) Method and system for implementing domain name access accelration
CN102790813B (en) Communication method as well as system and terminal equipment based on IPv6 (internet protocol version 6) network
US20190372908A1 (en) Failover management using availability groups
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN105516284B (en) A kind of method and apparatus of Cluster Database distributed storage
US10673694B2 (en) Private network mirroring
CN105095317A (en) Distributive database service management system
CN104995902A (en) Methods and systems for seamless network communication between IPV4 and IPV6 devices
CN103475682A (en) File transfer method and file transfer equipment
CN111327668B (en) Network management method, device, equipment and storage medium
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN102611762B (en) uniform domain name service system and method
CN102123161A (en) Distributed mobility management method and distributed mobility management system
CN103164410B (en) The method of the storage of a kind of file and operation, storage device and system
CN102891763B (en) A kind of method and apparatus obtaining CIM resource
CN104717262A (en) Enterprise address book downloading method and system
EP3788747B1 (en) Private network mirroring

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant