CN117376194B - Network detection method, system, electronic device and computer readable storage medium - Google Patents

Network detection method, system, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN117376194B
CN117376194B CN202311660345.5A CN202311660345A CN117376194B CN 117376194 B CN117376194 B CN 117376194B CN 202311660345 A CN202311660345 A CN 202311660345A CN 117376194 B CN117376194 B CN 117376194B
Authority
CN
China
Prior art keywords
network
container
service
target service
container 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
CN202311660345.5A
Other languages
Chinese (zh)
Other versions
CN117376194A (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.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain Intelligent Technology 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 Suzhou Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202311660345.5A priority Critical patent/CN117376194B/en
Publication of CN117376194A publication Critical patent/CN117376194A/en
Application granted granted Critical
Publication of CN117376194B publication Critical patent/CN117376194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0883Semiautomatic configuration, e.g. proposals from system
    • 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/5061Pools of addresses

Abstract

The invention discloses a network detection method, a system, electronic equipment and a computer readable storage medium, which relate to the field of network detection and aim at solving the problem that a network detection scheme cannot cope with elastic service; creating a current container group based on the creation configuration file; and controlling the current container group to start so as to trigger the initializing container to perform network connectivity detection on the current container group based on the network connectivity detection logic. The invention takes the minimum copy number required by the target service in operation as the basis of whether the target service operates or not, can dynamically detect network connection and adapt to the elastic service.

Description

Network detection method, system, electronic device and computer readable storage medium
Technical Field
The present invention relates to the field of network detection, and in particular, to a network detection method, system, electronic device, and computer readable storage medium.
Background
With the rapid development of the fields of cloud computing, big data, artificial intelligence and the like, the requirements of enterprises on reliability, elasticity and high availability of application programs are higher and higher. Conventional standalone architectures have failed to meet these needs, and distributed systems have become a trend. However, distributed system management also faces many challenges such as container deployment, service discovery, load balancing, health monitoring, etc. Kubernetes (a container orchestration platform) provides a portable, extensible, automated way to deploy, run, and manage container applications, making distributed system management simpler and more efficient.
Some distributed applications or services need to be deployed to multiple nodes through multiple pod (container groups in Kubernetes clusters), and in some complex network topology scenarios, communication between distributed applications may cause network jitter problems, affecting service quality. Therefore, network connectivity detection needs to be performed on related pod before the distributed application is deployed, and the number of all pods required by service operation needs to be predetermined in the existing detection scheme, and network connectivity detection can be performed only after all pods required by service operation are scheduled.
Therefore, how to provide a solution to the above technical problem is a problem that a person skilled in the art needs to solve at present.
Disclosure of Invention
The invention aims to provide a network detection method, a system, electronic equipment and a computer readable storage medium, which take the minimum copy number required by a target service in operation as the basis of whether the target service operates or not, can dynamically detect network connectivity and adapt to elastic service.
In order to solve the technical problems, the present invention provides a network detection method, which includes:
determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file;
creating a current container group based on the creation configuration file;
controlling the current container group to start so as to trigger the initializing container to perform network communication detection on the current container group based on the network communication detection logic;
the network connectivity detection includes: and detecting the network communication state between the current container group and other container groups in the target service when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in the running process, wherein the target service is the service comprising the current container group.
In an exemplary implementation, before the injecting the configuration information of the initialization container configured with the network connectivity detection logic into the original configuration file to obtain the created configuration file, the network detection method further includes:
configuring a target file in a container arranging platform cluster, wherein the target file is used for storing configuration information of the initialization container configured with the network connectivity detection logic;
the process of injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to create a configuration file includes:
and acquiring configuration information of the initialization container configured with the network connection detection logic from the target file, and injecting the configuration information of the initialization container into the original configuration file to obtain a created configuration file.
In an exemplary implementation, before the determining the original configuration file of the container group to be created, the network detection method further includes:
creating a network hook service and a network hook service back end in the container arrangement platform cluster;
controlling the network hook service to forward the creation request received by the application programming interface server to the back end of the network hook service;
Determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file, wherein the process comprises the following steps:
and controlling the network hook service back end to determine an original configuration file of the container group to be created corresponding to the creation request, acquiring configuration information of the initialization container configured with the network connection detection logic from the target file, and injecting the configuration information of the initialization container into the original configuration file to obtain the creation configuration file.
In an exemplary implementation, the process of controlling the web hook service to forward the creation request received by the application programming interface server to the web hook service backend includes:
the control application programming interface server invokes the web hook service upon receiving a creation request to cause the web hook service to forward the creation request to the web hook service backend.
In an exemplary implementation, when the actual number of schedules of a container group in a target service is greater than or equal to the minimum number of copies required by the target service at runtime, before detecting a network connectivity status between the current container group and other container groups in the target service, the network connectivity detection further includes:
Acquiring an environment variable of the initialization container, and determining the unit name of the current container group based on the environment variable;
determining a service name of the target service based on the unit name;
and determining the minimum copy number corresponding to the target service one by one based on the service name.
In an exemplary implementation, when the actual number of schedules of a container group in a target service is greater than or equal to the minimum number of copies required by the target service at runtime, before detecting a network connectivity status between the current container group and other container groups in the target service, the network detection method further comprises:
acquiring the actual dispatching quantity of the container group in the target service according to the detection period;
and judging whether the actual dispatching quantity is larger than or equal to the minimum copy quantity required by the target service in running or not in each detection period.
In an exemplary implementation, after determining whether the actual number of schedules is greater than or equal to the minimum number of copies required by the target service at runtime, the network detection method further includes:
and when the actual dispatching quantity is smaller than the minimum copy quantity required by the target service in operation, repeating the operation of acquiring the actual dispatching quantity of the container group in the target service according to the detection period until the actual dispatching quantity is larger than or equal to the minimum copy quantity required by the target service in operation.
In an exemplary implementation, after determining the service name of the target service based on the element name, the network detection method further includes:
determining detection information of each of the other container groups included in the target service based on the service name;
the process of detecting the network connectivity status between the current container group and other container groups in the target service includes:
and detecting a network communication state between the current container group and the other container groups based on the detection information of each of the other container groups.
In an exemplary implementation, the detection information includes an internet protocol address and a cell name;
the process of detecting the network communication state between the current container group and the other container group based on the detection information of each of the other container groups includes:
and controlling the current container group to send detection messages according to the internet protocol address and the unit name of each other container group, and determining the network communication state between the current container group and each other container group according to the feedback messages returned by each other container group.
In an exemplary implementation, the detection information includes an internet protocol address and a cell name;
After determining the service name of the target service based on the unit name, the network detection method further includes:
acquiring a unit name of each of the other container groups included in the target service based on the service name;
and when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in running, acquiring the internet protocol address of each other container group included in the target service based on the service name.
In an exemplary implementation, before acquiring the internet protocol address of each of the other container groups included in the target service based on the service name, the network detection method further includes:
configuring one-to-one corresponding Internet protocol address pools for each service; the internet protocol address pool is used for storing the mapping relation between the unit names and the internet protocol addresses of the container groups included in the service which are in one-to-one correspondence.
In an exemplary implementation, the network detection method further includes:
when the scheduled container group exists in the service, the internet protocol address of the scheduled container group is recorded in the internet protocol address pool corresponding to the service one by one.
In an exemplary implementation, the network detection method further includes:
and deleting the internet protocol addresses of the removed container groups from the internet protocol address pool corresponding to the service one by one when the removed container groups exist in the service.
In an exemplary implementation, the names of the internet protocol address pools are the same as the service names of the services to which they are one-to-one.
In an exemplary implementation, the process of obtaining the internet protocol address of each of the other container groups included in the target service based on the service name includes:
determining a target internet protocol address pool from all the internet protocol address pools based on the service names;
and acquiring the internet protocol address of each other container group included in the target service from the target internet protocol address pool.
In an exemplary implementation, after detecting a network connectivity status between the current container group and other container groups in the target service, the network connectivity detection further includes:
and if the network communication state is not communicated and the current retry number is not up to the preset retry number, re-detecting the network communication state between the current container group and the other container groups.
In an exemplary implementation, for each of the other container groups, if the network connection state is not connected and the current retry number is not up to a preset retry number, before re-detecting the network connection state between the current container group and the other container groups, the network detection method further includes:
and determining the preset retry times according to the starting time of the target service.
In order to solve the technical problem, the present invention further provides a network detection system, where the network detection system includes:
the first determining module is used for determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connection detection logic into the original configuration file to obtain a created configuration file;
the creation module is used for creating a current container group based on the creation configuration file;
the detection module is used for controlling the starting of the current container group so as to trigger the initializing container to carry out network communication detection on the current container group based on the network communication detection logic;
the network connectivity detection includes: and detecting the network communication state between the current container group and other container groups in the target service when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in the running process, wherein the target service is the service comprising the current container group.
In order to solve the technical problem, the present invention further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the network detection method as claimed in any one of the preceding claims when executing the computer program.
To solve the above technical problem, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the network detection method as described in any one of the above.
The invention provides a network detection method, when a container group is created, configuration information of an initialization container configured with network connectivity detection logic is injected into an original configuration file to obtain a creation configuration file, after a current container group created based on the creation configuration file is controlled to be started, network connectivity detection can be carried out on the current container group through the initialization container, network connectivity among all container groups before a target service is started is ensured, so that normal operation of the service is ensured, and when the network connectivity detection is carried out, the invention does not need to wait for all container groups of the target service to be scheduled and then carry out network connectivity detection, takes the minimum copy number required by the target service when in operation as a basis for whether the target service is operated or not, and dynamically carries out network connectivity detection to adapt to the elastic service. The invention also provides a network detection system, electronic equipment and a computer readable storage medium, which have the same beneficial effects as the network detection method.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flowchart of a network detection method according to the present invention;
FIG. 2 is a schematic diagram of an original configuration file of a container set according to the present invention;
FIG. 3 is a schematic diagram of a creation configuration file of a container group according to the present invention;
FIG. 4 is a schematic diagram of creating a container group based on a network hook mechanism according to the present invention;
FIG. 5 is a flowchart illustrating a network connectivity detection procedure according to the present invention;
FIG. 6 is a schematic diagram of an elastic service capacity expansion scenario according to the present invention;
fig. 7 is a schematic diagram of a scenario featuring an elastic service according to the present invention;
fig. 8 is a schematic structural diagram of a network detection system according to the present invention.
Detailed Description
The core of the invention is to provide a network detection method, a system, electronic equipment and a computer readable storage medium, which take the minimum copy number required by the target service in operation as the basis of whether the target service operates or not, and can dynamically detect network connection and adapt to elastic service.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a network detection method according to the present invention, where the network detection method includes:
s101: determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file;
s102: creating a current container group based on the creation configuration file;
in this embodiment, the container group pod may be specifically a container group in a container arranging platform cluster, for carrying specific service logic, where each container group may run at least one container, and the container arranging platform cluster includes, but is not limited to, kubernetes cluster. It can be understood that the service formed by at least one container group can be a service formed by a fixed number of container groups, or can be an elastic service formed by an adjustable number of container groups, wherein the elastic service indicates that the container groups are not required to be started completely, and the normal operation of the service can be ensured only by starting part of the container groups.
The container group to be created may be a container group determined according to a customer creation request when the service is created initially, or may be a container group newly added according to a customer creation request when the service is expanded. It will be appreciated that, for the same service, the original configuration files of the container group to be created are the same, and referring to fig. 2, the original configuration files include, but are not limited to, version information adventure at the time of creation of the container group, creation type information kined, metadata information metadata including a version number, detail information spec, service container information containers, etc., the metadata information metadata including metadata of the container group, such as names, labels, namespaces, etc., the detail information spec defining behaviors and construction of the container group, such as container images, resource limitations, environment variables, etc., the service container information containers defining containers included in the container group, including container names, image names, port maps, etc., and the container group created based on the original configuration files performs corresponding services according to the service container information after being started. In order to facilitate the subsequent network detection of the container group, in this embodiment, the network connectivity detection logic is injected into the initialization container init container in advance, after receiving the creation request for the container group, the configuration information of the initialization container configured with the network connectivity detection logic is injected into the original configuration file of the container group to be created, so as to obtain the creation configuration file, and the schematic diagram of the creation configuration file is shown with reference to fig. 3.
S103: controlling the starting of the current container group to trigger the initializing container to perform network connectivity detection on the current container group based on network connectivity detection logic;
network connectivity detection includes: and when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in the running process, detecting the network communication state between the current container group and other container groups in the target service, wherein the target service is the service comprising the current container group.
It can be understood that the current container set is created by adopting the structure shown in fig. 3, and after the current container set is controlled to be started, the initializing container is preferentially triggered to perform network connectivity detection on the current container set based on the network connectivity detection logic, so as to obtain the network connectivity state between the current container set and other container sets in the target service. For example, assuming that the target service is composed of 4 pod, namely pod-a, pod-b, pod-c and pod-d, assuming that the current container group is pod-a, then the other container groups are pod-b, pod-c and pod-d, the network connection state between pod-a and pod-b, the network connection state between pod-a and pod-c and the network connection state between pod-a and pod-d need to be determined respectively, when the three network connection states are all normal connection states, the network connection of the current container group in the target service is determined to be normal, if any one network connection state is abnormal, repeated detection is required, and corresponding operations are executed according to the result of repeated detection, such as repeated detection for a plurality of times, all network connection is abnormal, then relevant network maintenance processing is required. The network communication detection between the current container group and other container groups belonging to the same service is taken as an example, and the other container groups can be used as the current container group, so that the network communication state between any two pod is ensured to be detected.
Further, considering that only part of pod starts in the elastic service can make the service normally run, the embodiment sets a minimum number of copies for each service in advance, and the minimum number of copies can make the minimum number of pods that need to start for the service normally run. The pod with the minimum number of copies is scheduled as the basis of service operation, and network detection is performed without scheduling all the pods in the service, so that the detection efficiency is improved, and the elastic service is more adapted. After the network connection detection is successful, other containers are triggered to execute the backbone service, so that the target service is ensured to be restarted when the network connection state of each container group is successful, and the service quality is improved.
In this embodiment, when the container group is created, the configuration information of the initialized container configured with the network connectivity detection logic is injected into the original configuration file to obtain the created configuration file, after the current container group created based on the created configuration file is controlled to be started, the initialized container can be used for performing network connectivity detection on the current container group, so that network connectivity among all container groups before the target service is started is ensured, and therefore normal operation of the service is ensured.
Based on the above embodiments:
in an exemplary implementation, before injecting configuration information of an initialization container configured with network connectivity detection logic into an original configuration file to create the configuration file, the network detection method further comprises:
configuring a target file in the container arranging platform cluster, wherein the target file is used for storing configuration information of an initialization container configured with network connectivity detection logic;
the process of injecting configuration information of an initialization container configured with network connectivity detection logic into an original configuration file to create the configuration file includes:
and acquiring configuration information of an initialization container configured with network connectivity detection logic from the target file, and injecting the configuration information of the initialization container into the original configuration file to obtain the created configuration file.
In this embodiment, a configmap, that is, a target file, is configured in a container orchestration platform kubernetes cluster, configuration information of an initialization container configured with network connectivity detection logic is stored in the target file, and then the target file is directly called to obtain the configuration information of the initialization container, thereby improving the efficiency of structure modification. Wherein configmap is a type of profile used to store kubernetes configuration information.
In an exemplary implementation, before determining the original configuration file for the set of containers to be created, the network detection method further includes:
creating a network hook service and a network hook service back end in the container arranging platform cluster;
controlling the network hook service to forward the creation request received by the application programming interface server to the back end of the network hook service;
determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file, wherein the process comprises the following steps:
the control network hook service back end determines an original configuration file of a container group to be created corresponding to the creation request, acquires configuration information of an initialization container configured with network connectivity detection logic from a target file, and injects the configuration information of the initialization container into the original configuration file to obtain the creation configuration file.
In this embodiment, referring to fig. 4, the structure of the container group is adjusted by using the web hook mechanism of the container orchestration platform kubernetes cluster. Firstly, a webhook service and a webhook server at the back end of the webhook service are created in a container arrangement platform cluster, wherein the webhook service is a service abstraction and is responsible for forwarding a creation request received by an application programming interface server api-server to the webhook server so that the webhook server reads configuration information of an initialization container in a configmap after receiving the creation request, the configuration information is injected into an original configuration file of a to-be-created container group corresponding to the creation request, the original configuration file only comprises a service container, and the assembled new creation configuration file is returned to the application programming interface server api-server to create the current container group. The application programming interface server api-server is equivalent to an access entry of a container programming platform kubernetes cluster.
In an exemplary implementation, the process of controlling the web hook service to forward a creation request received by the application programming interface server to the web hook service backend includes:
the control application programming interface server invokes the web hook service upon receiving the creation request to cause the web hook service to forward the creation request to the web hook service backend.
In this embodiment, when receiving the creation request, the application programming interface server invokes the webhook interface, that is, invokes the network hook service, so as to modify the structure of the container group, thereby improving forwarding efficiency.
In an exemplary implementation, when the actual scheduled number of container groups in the target service is greater than or equal to the minimum number of copies required by the target service at runtime, before detecting the network connectivity status between the current container group and other container groups in the target service, the network connectivity detection further includes:
acquiring an environment variable of an initialized container, and determining the unit name of the current container group based on the environment variable;
determining a service name of the target service based on the cell name;
a minimum number of copies is determined that corresponds one-to-one to the target service based on the service name.
In this embodiment, the method further includes the operation of presetting a name correspondence between a service name of the target service and a unit name of each container group that forms the target service, and a copy correspondence between a service name of the target service and a minimum number of copies. When the network connectivity detection logic is operated in the initialization container, the environment variable of the initialization container can be obtained, the unit name podname of the current container group can be determined based on the environment variable, the service name of the target service formed by the current container group can be determined based on the unit name and the name corresponding relation, each service is provided with a minimum copy number in a one-to-one correspondence, the minimum copy number corresponding to the target service can be determined based on the service name and the copy corresponding relation, and the network connectivity detection efficiency is improved.
Further, the corresponding relationship between the service name and the auxiliary configuration file podgroup may be stored in advance, where the auxiliary configuration file podgroup is a kubernetes custom resource type for recording the minimum number of running copies of the elastic service, and in this embodiment, after the service name is obtained, the auxiliary configuration file podgroup corresponding to the service name one-to-one is queried to obtain the minimum number of copies corresponding to the elastic service.
In an exemplary implementation, when the actual number of schedules of the container groups in the target service is greater than or equal to the minimum number of copies required by the target service at runtime, the network detection method further comprises, prior to detecting the network connectivity status between the current container group and the other container groups in the target service:
acquiring the actual dispatching quantity of the container group in the target service according to the detection period;
and in each detection period, judging whether the actual scheduling number is greater than or equal to the minimum copy number required by the target service in running.
In an exemplary implementation, after determining whether the actual number of schedules is greater than or equal to the minimum number of copies required by the target service at runtime, the network detection method further includes:
and when the actual scheduling number is smaller than the minimum copy number required by the target service in running, repeating the operation of acquiring the actual scheduling number of the container group in the target service according to the detection period until the actual scheduling number is larger than or equal to the minimum copy number required by the target service in running.
In this embodiment, the actual scheduling number of the currently scheduled container group of the target service is obtained according to the detection period, if the actual scheduling number obtained in the current detection period is smaller than the minimum copy number, the method is circulated and waits until the actual scheduling number is greater than or equal to the minimum copy number, and the actual scheduling number is obtained according to the detection period, so that the detection efficiency can be improved to a certain extent, and when the actual scheduling number is greater than or equal to the minimum copy number, the next detection flow is timely performed. It will be appreciated that an actual number of schedules greater than or equal to the minimum number of copies indicates that the target service has reached the operational criteria, at which point the network connectivity status between the various container groups in the target service may be detected.
Further, in this embodiment, a timeout may be further set, and if the actual number of scheduled copies acquired in the current detection period is smaller than the minimum number of copies and the time corresponding to the current detection period exceeds the timeout, it is determined that the detection fails, and the detection is ended.
In an exemplary implementation, before determining the service name of the target service based on the element name, the network detection method further includes:
determining detection information of each other container group included in the target service based on the service name;
The process of detecting the network connectivity status between the current container group and other container groups in the target service includes:
the network connection state between the current container group and the other container groups is detected based on the detection information of each other container group.
In an exemplary implementation, the detection information includes an internet protocol address and a cell name;
the process of detecting the network connectivity status between the current container group and the other container groups based on the detection information of each other container group includes:
and controlling the current container group to send detection messages according to the internet protocol address and the unit name of each other container group, and determining the network communication state between the current container group and each other container group according to the feedback messages returned by each other container group.
When the detection is performed, detection information of each container group needs to be determined, and a ping command is executed according to the detection information of each container group to detect the network connection state between the current container group and other container groups belonging to the target service.
The detection information of each container group includes, but is not limited to, an internet of things protocol address podip, and controls the current container group to send a detection message to each podip, and based on a feedback message returned by each podip, the network communication state between the current container group and other container groups corresponding to each podip can be determined.
In an exemplary implementation, the detection information includes an internet protocol address and a cell name;
after determining the service name of the target service based on the unit name, the network detection method further includes:
acquiring a unit name of each other container group included in the target service based on the service name;
when the actual dispatch number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service at runtime, the internet protocol address of each other container group included in the target service is obtained based on the service name.
In this embodiment, considering that in the elastic service, the number of the scheduled container groups may be increased or decreased along with the adjustment of the service pressure, so when it is determined that the actual scheduled number of the container groups in the target service is greater than or equal to the minimum copy number, the internet protocol addresses of other container groups may be acquired, and accuracy and reliability of the network connectivity test may be improved.
In an exemplary implementation, before obtaining the internet protocol address of each other container group included in the target service based on the service name, the network detection method further includes:
configuring one-to-one corresponding Internet protocol address pools for each service; the internet protocol address pool is used for storing the unit names of the container groups and the mapping relation of the internet protocol addresses, wherein the unit names and the mapping relation of the internet protocol addresses are included in the one-to-one corresponding service.
In an exemplary implementation, the network detection method further comprises:
when there is a scheduled container group in the service, the internet protocol address of the scheduled container group is recorded in the internet protocol address pool of the service one-to-one correspondence.
In an exemplary implementation, the network detection method further comprises:
when there is a removed container group in the service, the internet protocol address of the removed container group is deleted from the internet protocol address pool corresponding to the service one by one.
In an exemplary implementation, the names of the Internet protocol address pools are the same as the service names of the services to which they correspond one-to-one.
In this embodiment, before the network connectivity test, the method further includes an operation of configuring an ip pool of an ip pool, where the ip pool is used to record a custom resource type of a mapping relationship between a podip and a podname related to the service.
It can be understood that each elastic service corresponds to one ippool, and the ippool is designed as a custom resource type of kubernetes, and the name of the custom resource type is consistent with the name of the elastic service, so as to store the mapping relationship between the podname and the podip in the elastic service. When some pod of the elastic service is scheduled, the pod ip is recorded into the corresponding ippool. When the elastic service removes some of the pod, the corresponding pod ip record in the ippool is deleted.
In an exemplary implementation, the process of obtaining the internet protocol address of each other container group included by the target service based on the service name includes:
determining a target internet protocol address pool in all internet protocol address pools based on the service name;
the internet protocol address of each other container group included in the target service is obtained from the target internet protocol address pool.
In this embodiment, when the actual number of scheduled container groups is detected to be greater than or equal to the minimum number of copies, it is indicated that the target service has reached the operation standard, the ippool corresponding to the target service is obtained based on the service name of the target service, and all the pod information recorded in the ippool is analyzed, so it can be understood that the container groups corresponding to all the pods constitute the target service.
In an exemplary implementation, after detecting the network connectivity status between the current container group and the other container groups in the target service, the network connectivity detection further includes:
and if the network communication state is not communicated and the current retry number is not up to the preset retry number, detecting the network communication state between the current container group and other container groups again.
In an exemplary implementation, for each other container group, if the network connection status is not connected and the current retry number is not up to the preset retry number, before the network connection status between the current container group and the other container group is redetected, the network detection method further includes:
And determining the preset retry times according to the starting time of the target service.
In this embodiment, before detecting the network connection state between the current container group and any other container group, a preset retry number is preset, before each detection, it is first determined whether the preset retry number is exceeded, if not, the network connection state between the current container group and the other container groups is detected, and if the network connection state is a successful state, it is indicated that the two networks are unblocked, and a subsequent detection process, such as detecting the network connection state between the current container group and the next container group, is performed. If the network connection state is a failure state and the preset times are not exceeded, detecting the network connection state of the current container group and any other container group again, and if the preset retry times are reached, generating corresponding prompt information if the network connection state is the failure state and the network connection state is not exceeded, so that a user can carry out subsequent processing based on the prompt information.
The preset retry times can be adjusted according to the starting time of the target service to improve fault tolerance. Of course, the present embodiment is not limited in detail herein, and may be adjusted according to other parameters besides the start time of the target service.
The flow of network connectivity detection provided in this embodiment will be described with reference to the above embodiment and fig. 5, where the network connectivity detection includes: initializing a container to start running; acquiring an environment variable in an initialized container, and determining the unit name of the current container group based on the environment variable; intercepting service name information of the target service through information in the unit name; calling an application programming interface of the container arranging platform cluster, acquiring information of all container groups of the container arranging platform cluster, and screening through service names; initializing timeout time, judging whether the current time exceeds the timeout time, if yes, ending failure, otherwise, inquiring auxiliary configuration files bound by the target service; analyzing the minimum copy number required by the operation of the target service; counting the actual dispatching quantity of the dispatched container groups, judging whether the actual dispatching quantity is larger than or equal to the minimum copy quantity, if not, executing the operation of judging whether the current time exceeds the timeout time, if so, analyzing the network protocol address through the network address protocol pool custom resource; initializing preset retry times, judging whether the times of current detection exceeds the preset retry times, if yes, ending the failure, if not, executing network connection state detection operation, judging whether the network connection state is successful, if not, executing operation of judging whether the times of current detection exceeds the preset retry times, and if yes, ending the network connection state detection operation successfully.
Based on the foregoing embodiment, for the capacity expansion scenario of the elastic service, referring to fig. 6, when the elastic service expands, a new pod is generated, so that it is required to detect the network connection state of the new pod and other existing pods, the newly created pod is intercepted and modified by webhook, and the network connection detection logic is injected to record the newly created pod ip information into the corresponding ippool. When this pod starts to run, the network connectivity detection logic in the initializing container starts to execute, the container group 1 transmits a ping command through the container group 1 network stack and the container group network stack of the container group 2, the ping command is a command commonly used for judging network failure, and when all the detections pass, the pod starts to provide normal services, becoming part of the elastic services. For the capacity reduction scenario of the elastic service, referring to fig. 7, when the elastic service is capacity reduced, some of the pod is deleted (the number of remaining pod needs to be greater than the minimum number of copies recorded in the podGroup), and the pod information is deleted in the ippool corresponding to the elastic service, and since the remaining pod has already passed the network connectivity detection, no other operation is performed.
In summary, the present invention provides a resilient service network connectivity detection policy based on a webhook mechanism in kubernetes, and uses the webhook mechanism in kubernetes to inject a pod of a bearer service into an initialization container, and perform connectivity detection on a network of the pod in the initialization container, so as to ensure pod network connectivity before distributed service is started. In particular, for some elastic distributed service scenes, whether the distributed service operates is judged by the minimum copy number in the distributed service configuration, and network detection is dynamically carried out, so that the network connectivity problem encountered by the elastic service in kubernetes operation can be well solved.
In a second aspect, referring to fig. 8, fig. 8 is a schematic structural diagram of a network detection system according to the present invention, where the network detection system includes:
a first determining module 81, configured to determine an original configuration file of a container group to be created, and inject configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file;
a creation module 82 for creating a current container group based on the creation configuration file;
the detection module 83 is configured to control the current container group to start, so as to trigger the initializing container to perform network connectivity detection on the current container group based on network connectivity detection logic;
network connectivity detection includes: and when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in the running process, detecting the network communication state between the current container group and other container groups in the target service, wherein the target service is the service comprising the current container group.
In this embodiment, when the container group is created, the configuration information of the initialized container configured with the network connectivity detection logic is injected into the original configuration file to obtain the created configuration file, after the current container group created based on the created configuration file is controlled to be started, the initialized container can be used for performing network connectivity detection on the current container group, so that network connectivity among all container groups before the target service is started is ensured, and therefore normal operation of the service is ensured.
In an exemplary implementation, before injecting configuration information of an initialization container configured with network connectivity detection logic into an original configuration file to create the configuration file, the network detection system further comprises:
configuring a target file in the container arranging platform cluster, wherein the target file is used for storing configuration information of an initialization container configured with network connectivity detection logic;
the process of injecting configuration information of an initialization container configured with network connectivity detection logic into an original configuration file to create the configuration file includes:
and acquiring configuration information of an initialization container configured with network connectivity detection logic from the target file, and injecting the configuration information of the initialization container into the original configuration file to obtain the created configuration file.
In an exemplary implementation, the network detection system further comprises:
the preprocessing module is used for creating a network hook service and a network hook service back end in the container arranging platform cluster before determining an original configuration file of a container group to be created;
the forwarding module is used for controlling the network hook service to forward the creation request received by the application programming interface server to the back end of the network hook service;
Determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file, wherein the process comprises the following steps:
the control network hook service back end determines an original configuration file of a container group to be created corresponding to the creation request, acquires configuration information of an initialization container configured with network connectivity detection logic from a target file, and injects the configuration information of the initialization container into the original configuration file to obtain the creation configuration file.
In an exemplary implementation, the process of controlling the web hook service to forward a creation request received by the application programming interface server to the web hook service backend includes:
the control application programming interface server invokes the web hook service upon receiving the creation request to cause the web hook service to forward the creation request to the web hook service backend.
In an exemplary implementation, when the actual scheduled number of container groups in the target service is greater than or equal to the minimum number of copies required by the target service at runtime, before detecting the network connectivity status between the current container group and other container groups in the target service, the network connectivity detection further includes:
Acquiring an environment variable of an initialized container, and determining the unit name of the current container group based on the environment variable;
determining a service name of the target service based on the cell name;
a minimum number of copies is determined that corresponds one-to-one to the target service based on the service name.
In an exemplary implementation, the network detection system further comprises:
the first acquisition module is used for acquiring the actual dispatching quantity of the container group in the target service according to the detection period before detecting the network communication state between the current container group and other container groups in the target service;
and the judging module is used for judging whether the actual dispatching quantity is larger than or equal to the minimum copy quantity required by the target service in running in each detection period.
In an exemplary implementation, after determining whether the actual number of schedules is greater than or equal to the minimum number of copies required by the target service at runtime, the network detection system further comprises:
and when the actual scheduling number is smaller than the minimum copy number required by the target service in running, repeating the operation of acquiring the actual scheduling number of the container group in the target service according to the detection period until the actual scheduling number is larger than or equal to the minimum copy number required by the target service in running.
In an exemplary implementation, the network detection system further comprises:
a third determining module for determining detection information of each other container group included in the target service based on the service name after determining the service name of the target service based on the unit name;
the process of detecting the network connectivity status between the current container group and other container groups in the target service includes:
the network connection state between the current container group and the other container groups is detected based on the detection information of each other container group.
In an exemplary implementation, the detection information includes an internet protocol address and a cell name;
the process of detecting the network connectivity status between the current container group and the other container groups based on the detection information of each other container group includes:
and controlling the current container group to send detection messages according to the internet protocol address and the unit name of each other container group, and determining the network communication state between the current container group and each other container group according to the feedback messages returned by each other container group.
In an exemplary implementation, the detection information includes an internet protocol address and a cell name;
the network detection system further includes:
a second acquisition module configured to acquire, based on the service name, a unit name of each other container group included in the target service after determining the service name of the target service based on the unit name;
And a third obtaining module, configured to obtain, based on the service name, an internet protocol address of each other container group included in the target service when the actual number of scheduling container groups in the target service is greater than or equal to the minimum number of copies required by the target service when running.
In an exemplary implementation, the network detection system further comprises:
the configuration module is used for configuring an Internet protocol address pool corresponding to each service one by one before acquiring the Internet protocol address of each other container group included in the target service based on the service name; the internet protocol address pool is used for storing the unit names of the container groups and the mapping relation of the internet protocol addresses, wherein the unit names and the mapping relation of the internet protocol addresses are included in the one-to-one corresponding service.
In an exemplary implementation, the network detection system further comprises:
and the recording module is used for recording the internet protocol addresses of the scheduled container groups in the internet protocol address pool corresponding to the services one by one when the scheduled container groups exist in the services.
In an exemplary implementation, the network detection system further comprises:
and the clarity module is used for deleting the internet protocol addresses of the removed container groups from the internet protocol address pool corresponding to the service one by one when the removed container groups exist in the service.
In an exemplary implementation, the names of the Internet protocol address pools are the same as the service names of the services to which they correspond one-to-one.
In an exemplary implementation, the process of obtaining the internet protocol address of each other container group included by the target service based on the service name includes:
determining a target internet protocol address pool in all internet protocol address pools based on the service name;
the internet protocol address of each other container group included in the target service is obtained from the target internet protocol address pool.
In an exemplary implementation, after detecting the network connectivity status between the current container group and the other container groups in the target service, the network connectivity detection further includes:
and if the network communication state is not communicated and the current retry number is not up to the preset retry number, detecting the network communication state between the current container group and other container groups again.
In an exemplary implementation, the network detection system further comprises:
and a fifth determining module, configured to determine a preset retry number according to a start time of the target service before re-detecting a network connection state between the current container group and the other container groups.
In a third aspect, the present invention also provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the network detection method as described in any one of the embodiments above when executing a computer program.
For an introduction of an electronic device provided by the present invention, refer to the above embodiment, and the disclosure is not repeated here.
The electronic equipment provided by the invention has the same beneficial effects as the network detection method.
In a fourth aspect, the present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of a network detection method as described in any one of the embodiments above.
For an introduction to a computer readable storage medium provided by the present invention, refer to the above embodiments, and the disclosure is not repeated here.
The computer readable storage medium provided by the invention has the same beneficial effects as the network detection method.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (20)

1. A network detection method, the network detection method comprising:
determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file;
creating a current container group based on the creation configuration file;
controlling the current container group to start so as to trigger the initializing container to perform network communication detection on the current container group based on the network communication detection logic;
the network connectivity detection includes: and detecting the network communication state between the current container group and other container groups in the target service when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in the running process, wherein the target service is the service comprising the current container group.
2. The network detection method of claim 1, wherein the injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file results in creating a configuration file, the network detection method further comprising:
configuring a target file in a container arranging platform cluster, wherein the target file is used for storing configuration information of the initialization container configured with the network connectivity detection logic;
the process of injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to create a configuration file includes:
and acquiring configuration information of the initialization container configured with the network connection detection logic from the target file, and injecting the configuration information of the initialization container into the original configuration file to obtain a created configuration file.
3. The network inspection method of claim 2, wherein prior to said determining the original configuration file for the group of containers to be created, the network inspection method further comprises:
creating a network hook service and a network hook service back end in the container arrangement platform cluster;
controlling the network hook service to forward the creation request received by the application programming interface server to the back end of the network hook service;
The process of determining an original configuration file of a container group to be created and injecting configuration information of an initialization container configured with network connectivity detection logic into the original configuration file to obtain a created configuration file comprises the following steps:
and controlling the network hook service back end to determine an original configuration file of the container group to be created corresponding to the creation request, acquiring configuration information of the initialization container configured with the network connection detection logic from the target file, and injecting the configuration information of the initialization container into the original configuration file to obtain the creation configuration file.
4. The network detection method of claim 3, wherein controlling the network hook service to forward the creation request received by the application programming interface server to the network hook service backend comprises:
the control application programming interface server invokes the web hook service upon receiving a creation request to cause the web hook service to forward the creation request to the web hook service backend.
5. The network detection method according to claim 1, wherein the network connectivity detection further comprises, before detecting a network connectivity status between the current container group and other container groups in the target service, when an actual scheduled number of container groups in the target service is greater than or equal to a minimum number of copies required by the target service at runtime:
Acquiring an environment variable of the initialization container, and determining the unit name of the current container group based on the environment variable;
determining a service name of the target service based on the unit name;
and determining the minimum copy number corresponding to the target service one by one based on the service name.
6. The network detection method according to claim 5, wherein the network detection method further comprises, before detecting a network connectivity status between the current container group and other container groups in the target service, when an actual scheduled number of container groups in the target service is greater than or equal to a minimum number of copies required by the target service at runtime:
acquiring the actual dispatching quantity of the container group in the target service according to the detection period;
and judging whether the actual dispatching quantity is larger than or equal to the minimum copy quantity required by the target service in running or not in each detection period.
7. The network detection method according to claim 6, wherein after determining whether the actual number of schedules is greater than or equal to a minimum number of copies required by the target service at runtime, the network detection method further comprises:
And when the actual dispatching quantity is smaller than the minimum copy quantity required by the target service in operation, repeating the operation of acquiring the actual dispatching quantity of the container group in the target service according to the detection period until the actual dispatching quantity is larger than or equal to the minimum copy quantity required by the target service in operation.
8. The network detection method according to claim 5, wherein after determining the service name of the target service based on the unit name, the network detection method further comprises:
determining detection information of each of the other container groups included in the target service based on the service name;
the process of detecting the network connectivity status between the current container group and other container groups in the target service includes:
and detecting a network communication state between the current container group and the other container groups based on the detection information of each of the other container groups.
9. The network detection method according to claim 8, wherein the detection information includes an internet protocol address and a cell name;
the process of detecting the network communication state between the current container group and the other container group based on the detection information of each of the other container groups includes:
And controlling the current container group to send detection messages according to the internet protocol address and the unit name of each other container group, and determining the network communication state between the current container group and each other container group according to the feedback messages returned by each other container group.
10. The network detection method according to claim 8, wherein the detection information includes an internet protocol address and a cell name;
after determining the service name of the target service based on the unit name, the network detection method further includes:
acquiring a unit name of each of the other container groups included in the target service based on the service name;
and when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in running, acquiring the internet protocol address of each other container group included in the target service based on the service name.
11. The network detection method according to claim 10, wherein before acquiring the internet protocol address of each of the other container groups included in the target service based on the service name, the network detection method further comprises:
Configuring one-to-one corresponding Internet protocol address pools for each service; the internet protocol address pool is used for storing the mapping relation between the unit names and the internet protocol addresses of the container groups included in the service which are in one-to-one correspondence.
12. The network detection method according to claim 11, characterized in that the network detection method further comprises:
when the scheduled container group exists in the service, the internet protocol address of the scheduled container group is recorded in the internet protocol address pool corresponding to the service one by one.
13. The network detection method according to claim 11, characterized in that the network detection method further comprises:
and deleting the internet protocol addresses of the removed container groups from the internet protocol address pool corresponding to the service one by one when the removed container groups exist in the service.
14. The network detection method according to claim 11, wherein the names of the internet protocol address pools are the same as the service names of the services to which they are one-to-one.
15. The network detection method according to claim 11, wherein the process of acquiring the internet protocol address of each of the other container groups included in the target service based on the service name comprises:
Determining a target internet protocol address pool from all the internet protocol address pools based on the service names;
and acquiring the internet protocol address of each other container group included in the target service from the target internet protocol address pool.
16. The network detection method according to any one of claims 1 to 15, wherein after detecting a network connectivity status between the current container group and other container groups in the target service, the network connectivity detection further comprises:
and if the network communication state is not communicated and the current retry number is not up to the preset retry number, re-detecting the network communication state between the current container group and the other container groups.
17. The network detection method according to claim 16, wherein for each of the other container groups, if the network connection state is not connected and the current retry number is a preset retry number, before re-detecting the network connection state between the current container group and the other container groups, the network detection method further comprises:
and determining the preset retry times according to the starting time of the target service.
18. A network detection system, the network detection system comprising:
the first determining module is used for determining an original configuration file of a container group to be created, and injecting configuration information of an initialization container configured with network connection detection logic into the original configuration file to obtain a created configuration file;
the creation module is used for creating a current container group based on the creation configuration file;
the detection module is used for controlling the starting of the current container group so as to trigger the initializing container to carry out network communication detection on the current container group based on the network communication detection logic;
the network connectivity detection includes: and detecting the network communication state between the current container group and other container groups in the target service when the actual dispatching number of the container groups in the target service is greater than or equal to the minimum copy number required by the target service in the running process, wherein the target service is the service comprising the current container group.
19. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network detection method according to any of claims 1-17 when executing said computer program.
20. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the network detection method according to any of claims 1-17.
CN202311660345.5A 2023-12-06 2023-12-06 Network detection method, system, electronic device and computer readable storage medium Active CN117376194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311660345.5A CN117376194B (en) 2023-12-06 2023-12-06 Network detection method, system, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311660345.5A CN117376194B (en) 2023-12-06 2023-12-06 Network detection method, system, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN117376194A CN117376194A (en) 2024-01-09
CN117376194B true CN117376194B (en) 2024-02-13

Family

ID=89394883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311660345.5A Active CN117376194B (en) 2023-12-06 2023-12-06 Network detection method, system, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117376194B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884838A (en) * 2022-05-20 2022-08-09 远景智能国际私人投资有限公司 Monitoring method of Kubernetes component and server
CN115102877A (en) * 2022-05-23 2022-09-23 苏州浪潮智能科技有限公司 Virtual network card network detection method, device, equipment and medium
CN115378853A (en) * 2022-08-23 2022-11-22 支付宝(杭州)信息技术有限公司 Network monitoring method, device and equipment
CN115658232A (en) * 2022-10-31 2023-01-31 浪潮云信息技术股份公司 Cloud native platform rapid deployment method and system
CN116248526A (en) * 2023-02-27 2023-06-09 武汉达梦数据技术有限公司 Method and device for deploying container platform and electronic equipment
CN116781564A (en) * 2023-07-26 2023-09-19 上海道客网络科技有限公司 Network detection method and system for container cloud platform
CN116896499A (en) * 2023-06-12 2023-10-17 中国铁道科学研究院集团有限公司电子计算技术研究所 kubernetes Pod network error checking system and method
CN117081959A (en) * 2023-10-17 2023-11-17 明阳产业技术研究院(沈阳)有限公司 Network connectivity monitoring and recovering method, system, medium and equipment
CN117170799A (en) * 2023-07-06 2023-12-05 中国电信股份有限公司技术创新中心 Container migration method, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884838A (en) * 2022-05-20 2022-08-09 远景智能国际私人投资有限公司 Monitoring method of Kubernetes component and server
CN115102877A (en) * 2022-05-23 2022-09-23 苏州浪潮智能科技有限公司 Virtual network card network detection method, device, equipment and medium
CN115378853A (en) * 2022-08-23 2022-11-22 支付宝(杭州)信息技术有限公司 Network monitoring method, device and equipment
CN115658232A (en) * 2022-10-31 2023-01-31 浪潮云信息技术股份公司 Cloud native platform rapid deployment method and system
CN116248526A (en) * 2023-02-27 2023-06-09 武汉达梦数据技术有限公司 Method and device for deploying container platform and electronic equipment
CN116896499A (en) * 2023-06-12 2023-10-17 中国铁道科学研究院集团有限公司电子计算技术研究所 kubernetes Pod network error checking system and method
CN117170799A (en) * 2023-07-06 2023-12-05 中国电信股份有限公司技术创新中心 Container migration method, device, computer equipment and storage medium
CN116781564A (en) * 2023-07-26 2023-09-19 上海道客网络科技有限公司 Network detection method and system for container cloud platform
CN117081959A (en) * 2023-10-17 2023-11-17 明阳产业技术研究院(沈阳)有限公司 Network connectivity monitoring and recovering method, system, medium and equipment

Also Published As

Publication number Publication date
CN117376194A (en) 2024-01-09

Similar Documents

Publication Publication Date Title
CN108683516B (en) Application instance upgrading method, device and system
CN111641515B (en) VNF life cycle management method and device
CN107005426B (en) Method and device for managing life cycle of virtual network function
US8984108B2 (en) Dynamic CLI mapping for clustered software entities
KR102419704B1 (en) Security protection methods and devices
CN109558260B (en) Kubernetes fault elimination system, method, equipment and medium
CN109271172A (en) A kind of host behavior extension method and device of swarm cluster
CN112463290A (en) Method, system, apparatus and storage medium for dynamically adjusting the number of computing containers
CN115102877B (en) Virtual network card network detection method, device, equipment and medium
CN112783570A (en) Application migration method, system and medium based on service grid
CN101877655A (en) Network management system, network management server and method
WO2016116013A1 (en) Software upgrade method and system
US20220182851A1 (en) Communication Method and Apparatus for Plurality of Administrative Domains
CN110737670A (en) cluster data consistency guarantee method, device and system
CN111506388B (en) Container performance detection method, container management platform and computer storage medium
CN113608838A (en) Deployment method and device of application image file, computer equipment and storage medium
EP4006725A1 (en) Virtual machine migration processing and strategy generation method, apparatus and device, and storage medium
CN117376194B (en) Network detection method, system, electronic device and computer readable storage medium
CN114640610B (en) Cloud-protogenesis-based service management method and device and storage medium
CN115048187A (en) Operator-based pvc file importing method, device and storage medium
CN109672573B (en) Configuration file deployment method, configuration file determination method, server and storage medium
CN113434283B (en) Service scheduling method and device, server and computer readable storage medium
CN115250269B (en) File distribution method and device, storage medium and electronic equipment
CN113225576B (en) Service migration system and method based on live broadcast platform edge computing scene
CN107766152A (en) Management method, system, device and the readable storage medium storing program for executing of load balancing service

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