CN111130925B - Resource monitoring method and device, computer equipment and storage medium - Google Patents

Resource monitoring method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111130925B
CN111130925B CN201911219942.8A CN201911219942A CN111130925B CN 111130925 B CN111130925 B CN 111130925B CN 201911219942 A CN201911219942 A CN 201911219942A CN 111130925 B CN111130925 B CN 111130925B
Authority
CN
China
Prior art keywords
container
monitoring object
target monitoring
target
resource consumption
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
CN201911219942.8A
Other languages
Chinese (zh)
Other versions
CN111130925A (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.)
Guangzhou Weride Technology Co Ltd
Original Assignee
Guangzhou Weride 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 Guangzhou Weride Technology Co Ltd filed Critical Guangzhou Weride Technology Co Ltd
Priority to CN201911219942.8A priority Critical patent/CN111130925B/en
Publication of CN111130925A publication Critical patent/CN111130925A/en
Application granted granted Critical
Publication of CN111130925B publication Critical patent/CN111130925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a resource monitoring method, a resource monitoring device, computer equipment and a storage medium. The method comprises the following steps: and receiving a monitoring instruction, acquiring a preset container label set in the container cluster system corresponding to the identifier according to the monitoring instruction, and determining resource consumption information of a container corresponding to the target monitoring object according to the container label set. The method realizes real-time monitoring of resource consumption of the target monitoring object in the container cluster system, and because each container in the container cluster system is preset with a container label which contains the identification of the target monitoring object corresponding to the container, the resource monitoring server can easily determine the container corresponding to the target monitoring object according to the identification of the target monitoring object, so that the resource monitoring server can easily acquire the resource consumption information of the target monitoring object in the container cluster system according to the container corresponding to the target monitoring object.

Description

Resource monitoring method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of container technologies, and in particular, to a resource monitoring method and apparatus, a computer device, and a storage medium.
Background
With the development and application of container technology, more and more clients use the container technology to realize the transfer and reuse of computing environments, and the problem of reliable operation of application programs in different hardware environments and operating systems is solved.
Generally, when a container cluster in a container cluster system executes a complete workflow, the complete workflow includes multiple steps, each step needs to be implemented by using multiple containers, for example, a deep learning workflow generally includes steps of data preprocessing, model training, model prediction, model evaluation, and the like, and each step needs to use a corresponding number of containers to complete the deep learning workflow. For convenience of management, in practical applications, it is necessary to monitor, in real time, the usage of resources such as CPUs, GPUs, and memories in a container cluster by each container in a container cluster system.
However, current container cluster systems are unable to monitor the resource usage of workflows in a container cluster.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a resource monitoring method, apparatus, computer device and storage medium capable of effectively monitoring resource consumption status including workflow objects, user objects and team objects.
In a first aspect, a method for resource monitoring, the method comprising:
receiving a monitoring instruction; the monitoring instruction carries an identifier of a target monitoring object;
acquiring a container label set preset in a container cluster system corresponding to the identifier according to the monitoring instruction; the container label comprises an identifier of a target monitoring object corresponding to the container;
and determining resource consumption information corresponding to the target monitoring object according to the container label set.
In one embodiment, a container label set preset in a container cluster system corresponding to an identifier is obtained according to a monitoring instruction, including;
extracting the identification of the target monitoring object from the monitoring instruction;
and determining a container label containing the identifier in the container cluster system according to the identifier of the target monitoring object to obtain a container label set.
In one embodiment, determining container resource consumption information corresponding to a target monitoring object according to a container label set includes: the method comprises the following steps:
determining a list of containers associated with the set of container labels;
acquiring real-time resource consumption information of each container in a container list from a preset database; the real-time resource consumption information of each container in the container cluster system and the container label of each container are stored in a preset database;
and determining resource consumption information corresponding to the target monitoring object according to the real-time resource consumption information of each container in the container list.
In one embodiment, determining a list of containers associated with a set of container labels includes:
and determining the container corresponding to each container label in the container label set as the container in the container list associated with the container label set.
In one embodiment, the creating process of the preset database includes:
receiving a task instruction sent by a user side; the task instruction comprises a definition file of the target monitoring object, and the definition file of the target monitoring object comprises a definition file of a container corresponding to the target monitoring object;
creating a target monitoring object according to the definition file of the target monitoring object, and creating a container corresponding to the target monitoring object according to the definition file of the container corresponding to the target monitoring object; the container carries a container label;
acquiring real-time resource consumption information of a container corresponding to a target monitoring object and a container label of the container corresponding to the target monitoring object;
and storing the real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object into a preset database.
In one embodiment, creating the target monitoring object according to the definition file of the target monitoring object includes:
receiving an identifier of a target monitoring object input by a user side, and adding the identifier of the target monitoring object to a definition file of the target monitoring object;
and creating the target monitoring object according to the definition file of the added target monitoring object.
In one embodiment, creating a container corresponding to a target monitoring object according to a definition file of the container corresponding to the target monitoring object includes:
adding the identification of the target monitoring object to a definition file of a container corresponding to the target monitoring object;
and creating a container corresponding to the target monitoring object according to the definition file of the added container.
In one embodiment, the task instructions further include user authentication information,
after receiving the task instruction sent by the user side, the method further includes:
verifying the identity of the user side according to the user authentication information;
and if the authentication is passed, executing the step of creating the target monitoring object according to the definition file of the target monitoring object.
In one embodiment, the obtaining real-time resource consumption information of a container corresponding to a target monitoring object and a container label of the container corresponding to the target monitoring object includes:
acquiring real-time resource consumption information of a container corresponding to a target monitoring object acquired by a collector and a container label of the container corresponding to the target monitoring object; the collector comprises a collector provided by a container cluster management program or a collector provided by a custom network service program.
In a second aspect, an apparatus for monitoring a resource, the apparatus comprising:
the receiving module is used for receiving a monitoring instruction; the monitoring instruction carries an identifier of a target monitoring object;
the acquisition module is used for acquiring a container label set preset in the container cluster system corresponding to the identifier according to the monitoring instruction; the container label comprises an identifier of a target monitoring object corresponding to the container;
and the determining module is used for determining the resource consumption information corresponding to the target monitoring object according to the container label set.
In a third aspect, a computer device includes a memory and a processor, where the memory stores a computer program, and the processor implements the resource monitoring method described in any embodiment of the first aspect when executing the computer program.
In a fourth aspect, a computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the resource monitoring method of any of the embodiments of the first aspect.
The application provides a resource monitoring method, a resource monitoring device, a computer device and a storage medium, which comprise the following steps: and receiving a monitoring instruction, acquiring a preset container label set in the container cluster system corresponding to the identifier according to the monitoring instruction, and determining resource consumption information corresponding to the target monitoring object according to the container label set. The method realizes real-time monitoring of resource consumption of the target monitoring object in the container cluster system, and because each container in the container cluster system is preset with a container label which contains the identification of the target monitoring object corresponding to the container, the resource monitoring server can easily determine the container corresponding to the target monitoring object according to the identification of the target monitoring object, so that the resource monitoring server can easily acquire the resource consumption information of the target monitoring object in the container cluster system according to the container corresponding to the target monitoring object. The method is simple and practical, and resources consumed by the target monitoring object can be monitored in real time according to the identification of the target monitoring object only by adding the identification containing the target monitoring object when the container is created.
Drawings
Fig. 1 is a schematic structural diagram of a container cluster system according to an embodiment;
FIG. 2 is a flow diagram of a method for resource monitoring according to an embodiment;
FIG. 3 is a flow chart of another implementation of S102 in the embodiment of FIG. 2;
FIG. 4 is a flowchart of another implementation of S103 in the embodiment of FIG. 2;
FIG. 5 is a flowchart of a resource monitoring method according to an embodiment;
FIG. 6 is a flow diagram of a method for resource monitoring according to an embodiment;
FIG. 7 is a flowchart of one implementation of S402 in the embodiment of FIG. 5;
FIG. 8 is a flow chart of another implementation of S402 in the embodiment of FIG. 5;
FIG. 9 is a flow diagram of a method for creating a container, according to an embodiment;
FIG. 10 is a schematic diagram of a resource monitoring system according to an embodiment;
FIG. 11 is a flowchart of a resource monitoring method according to an embodiment;
fig. 12 is a schematic structural diagram of a resource monitoring apparatus according to an embodiment;
fig. 13 is a schematic structural diagram of a resource monitoring apparatus according to an embodiment;
fig. 14 is a schematic structural diagram of a resource monitoring apparatus according to an embodiment;
fig. 15 is a schematic structural diagram of a resource monitoring apparatus according to an embodiment;
fig. 16 is a schematic structural diagram of a resource monitoring apparatus according to an embodiment;
fig. 17 is a schematic internal structural diagram of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The resource monitoring method provided by the application can be applied to a container cluster system as shown in fig. 1, wherein the container cluster system comprises a plurality of node terminals, a resource monitoring server and a user side, the user side is connected with the resource monitoring server through a network, and the resource monitoring server is connected with the plurality of node terminals through a network. The node terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices; the user side can be but is not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices; the resource monitoring server may be implemented by a single server or a server cluster composed of a plurality of servers.
The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a flowchart of a resource monitoring method according to an embodiment, where an execution subject of the method is the resource monitoring server in fig. 1, and the method relates to a specific process of the resource monitoring server monitoring resource consumption of a target monitoring object in a container cluster system. As shown in fig. 2, the method specifically includes the following steps:
s101, receiving a monitoring instruction; the monitoring instruction carries the identification of the target monitoring object.
The target monitoring object may be an object that needs to be monitored by a user in the container cluster system, for example, the target monitoring object may be a monitored container, a monitored workflow, a monitored user group, a monitored team, and the like in the container cluster system. Optionally, the target monitoring object in this implementation includes: the system comprises at least one of a workflow monitoring object, a user monitoring object and a team monitoring object, wherein the workflow monitoring object is a workflow monitored in a container cluster system, the user monitoring object is a workflow or a container under a user monitored in the container cluster system, and the team monitoring object is a user, a workflow or a container under a team monitored in the container cluster system. The identifier of the target monitoring object is used to uniquely characterize the monitored object, and may be, for example, an identifier of a workflow, an identifier of a user, an identifier of a team, and the like, which may be specifically represented by a number, a letter, a serial number, a character, and the like, which is not limited in this embodiment. The container cluster system may be a system as shown in fig. 1. The monitoring instruction is used for monitoring resource consumption of the target monitoring object in the container cluster system, and the resource consumption may specifically refer to consumption of resources such as a memory, a disk, a network, and the like of the container cluster system.
In this embodiment, when the user needs to monitor resource consumption of the target monitoring object in the container cluster system in real time, periodically, or triggered by an event, the user may send a monitoring instruction to the resource monitoring server, and after receiving the monitoring instruction, the resource monitoring server may execute a corresponding monitoring operation to obtain resource consumption of the target monitoring object in the container cluster system, so as to send the obtained resource consumption to the user, so that the user can check or adjust the resource consumption of the target monitoring object in the container cluster system in time.
S102, acquiring a preset container label set in a container cluster system corresponding to the identifier according to the monitoring instruction; the container label includes an identification of a target monitoring object corresponding to the container.
Each node terminal in the container cluster system comprises a plurality of containers, and each container carries a container label. A container label set is a set of container labels carried by certain containers in a container cluster system. In practical application, one target monitoring object may correspond to one container, and may also correspond to multiple containers, and when multiple containers correspond to one target monitoring object, container labels of the multiple containers all contain an identifier of the same target monitoring object.
In this embodiment, when the resource monitoring server receives the monitoring instruction sent by the user and executes the corresponding monitoring operation, the resource monitoring server may further obtain, according to the identifier of the target monitoring object in the monitoring instruction, a container label set corresponding to the identifier in the container cluster system, so that a container corresponding to the target monitoring object can be determined according to the container label set, and thus the resource monitoring server can monitor resource consumption of the container corresponding to the target monitoring object in a targeted manner in a later period.
S103, determining resource consumption information corresponding to the target monitoring object according to the container label set.
In this embodiment, when the resource monitoring server obtains the container label set, the container corresponding to the target monitoring object may be further determined according to the container label set, and then resource consumption information of the container corresponding to the target monitoring object, that is, resource consumption information corresponding to the target monitoring object, is obtained by collecting resource consumption of the corresponding container in the container cluster system.
The resource monitoring method provided by the embodiment comprises the following steps: and receiving a monitoring instruction, acquiring a preset container label set in the container cluster system corresponding to the identifier according to the monitoring instruction, and determining resource consumption information of a container corresponding to the target monitoring object according to the container label set. The method realizes real-time monitoring of resource consumption of the target monitoring object in the container cluster system, and because each container in the container cluster system is preset with a container label which contains the identification of the target monitoring object corresponding to the container, the resource monitoring server can easily determine the container corresponding to the target monitoring object according to the identification of the target monitoring object, so that the resource monitoring server can easily acquire the resource consumption information of the target monitoring object in the container cluster system according to the container corresponding to the target monitoring object. The method is simple and practical, and resources consumed by the target monitoring object can be monitored in real time according to the identification of the target monitoring object only by adding the identification containing the target monitoring object when the container is created.
In practical applications, after the resource monitoring server completes the step S103, the method may further include the steps of: and sending the resource consumption information of the container corresponding to the target monitoring object to the user side. In this embodiment, when the resource monitoring server obtains the resource consumption information corresponding to the target monitoring object, the resource consumption information may be directly sent to the user side, so that the user side can obtain the resource consumption information, or display the resource consumption information, and the user can check or adjust the resource consumption condition of the target monitoring object in the container cluster system according to the actual application requirement, thereby reasonably utilizing various types of resources in the container cluster system.
Fig. 3 is a flowchart of another implementation manner of S102 in the embodiment of fig. 2, and as shown in fig. 3, the step S102 "obtaining, according to the monitoring instruction, a preset container label set in the container cluster system corresponding to the identifier" includes:
s201, extracting the identification of the target monitoring object from the monitoring instruction.
When the resource monitoring server receives the monitoring instruction, the identifier of the target monitoring object can be extracted from the monitoring instruction, so that the identifier can be used when the container label is inquired later.
S202, determining a container label containing the identifier in the container cluster system according to the identifier of the target monitoring object to obtain a container label set.
When the resource monitoring server obtains the identifier of the target monitoring object, a container label including the identifier of the target monitoring object may be determined in container labels of containers in the container cluster system, and if there are multiple container labels, a container label set may be obtained.
Fig. 4 is a flowchart of another implementation manner of S103 in the embodiment of fig. 2, and as shown in fig. 4, the step S103 "determining container resource consumption information corresponding to a target monitoring object according to a container label set" includes:
s301, determining a container list associated with the container label set.
In this embodiment, when the resource monitoring server obtains the container label set, it may directly determine, according to each container label in the container label set, a container corresponding to each container label, and then enter the container corresponding to each container label into one list, so as to generate a container list, where the container list is associated with both the container label set and the identifier of the target monitoring object.
S302, acquiring real-time resource consumption information of each container in the container list from a preset database, wherein the real-time resource consumption information of each container in the container cluster system and a container label of each container are stored in the preset database.
The preset database may be a database on the resource monitoring server, an independent cloud database, or a database on other devices, and this embodiment is not limited. The real-time resource consumption information of each container in the container cluster system and the container label of each container are pre-stored in the preset database, wherein the real-time resource consumption information of each container is obtained by acquiring the resource consumption information of the container of each node terminal in the container cluster system in real time, or the resource consumption information of the container on each node terminal is acquired by an acquisition device independently arranged in the container cluster system in real time. The container label of each container is obtained in advance when each node terminal in the container cluster system collects the label information of the container, or the label information of the container on each node terminal is collected in real time by a collecting device independently arranged in the container cluster system, and the container label is determined by each node terminal when each container is created.
In this embodiment, after the resource monitoring server obtains the container list associated with the container label set, each container associated with the container label set may be obtained from the container information recorded in the container list, and then the real-time resource consumption information of each container is obtained from the preset database according to the identifier of each container, so as to be used later.
S303, determining resource consumption information corresponding to the identification of the target monitoring object according to the real-time resource consumption information of each container in the container list.
When the resource monitoring server obtains the real-time resource consumption information of each container in the container list, the resource monitoring server may further add or merge the real-time resource consumption information of each container in the container list, so as to obtain the resource consumption information corresponding to the target monitoring object.
Optionally, in an embodiment, another implementation manner of the foregoing S201 is provided, where the foregoing S201 "determining a container list associated with a container label set" specifically includes the steps of: and determining the container corresponding to each container label in the container label set as the container in the container list associated with the container label set.
The embodiment relates to a specific process for collecting a container list according to a container label, which comprises the following steps: the method comprises the steps of determining a container corresponding to each container label according to a container identifier carried by each container label in a container label set or information for identifying the container, and further inputting the corresponding container into a list to generate a container list. It should be noted that different container label sets correspond to different container lists, which is equivalent to that different target monitoring objects correspond to different container lists.
In practical application, the preset database may be created by the resource monitoring server in advance, may also be created by other devices in the container cluster system, or may be created by the cloud server, which is not limited in this embodiment. Based on the application environment, the creation process of the preset database, as shown in fig. 5, includes:
s401, receiving a task instruction sent by a user side; the task instruction comprises a definition file of the target monitoring object, and the definition file of the target monitoring object comprises a definition file of a container corresponding to the target monitoring object.
The definition file of the target monitoring object may include a definition file of a workflow or a definition file of a plurality of workflows, when the target monitoring object is a workflow monitoring object, the definition file of the target monitoring object includes a definition file of a workflow, when the target monitoring object is a user monitoring object, the definition file of the target monitoring object may include a definition file of at least one workflow associated with the user object, and when the target monitoring object is a team monitoring object, the definition file of the target monitoring object may include a definition file of at least one workflow associated with the team object. The definition file of the container is the container definition file of each container associated with the target monitoring object.
In this embodiment, when the user needs to store the real-time resource consumption information of each container and the container label of each container in the container cluster system to the preset database to create the preset database, the user may send a task instruction to the resource monitoring server, and after the resource monitoring server receives the task instruction, the resource monitoring server may extract a definition file of the target monitoring object from the task instruction and a definition file of a container corresponding to the target monitoring object, which are included in the definition file of the target monitoring object, so as to be used when the target monitoring object and the container are created later.
S402, creating a target monitoring object according to the definition file of the target monitoring object, and creating a container corresponding to the target monitoring object according to the definition file of the container corresponding to the target monitoring object; the container carries a container label.
In this embodiment, after the resource monitoring server extracts the definition file of the target monitored object from the task instruction, the target monitored object may be created according to the definition file of the target monitored object, and the target monitored object carries a tag including an identifier of the target monitored object. When the resource monitoring server extracts the definition file of the target monitoring object from the task instruction and extracts the definition file of the container corresponding to the target monitoring object from the task instruction, the container corresponding to the target monitoring object can be created according to the definition file of the container corresponding to the target monitoring object, and the container carries a container label containing the identifier of the target monitoring object.
S403, acquiring real-time resource consumption information of the container corresponding to the target monitoring object and a container label of the container corresponding to the target monitoring object.
In this embodiment, when the resource monitoring server determines each container corresponding to the target monitoring object, the real-time resource consumption information of each container and the container label of each container may be obtained from information collected on the node terminal to which each container belongs. Optionally, a collecting device may also be independently arranged in the container cluster system, the real-time resource consumption information and the container labels of the containers on the node terminal to which the container belongs are collected, and then the resource monitoring server obtains the real-time resource consumption information of the container corresponding to the target monitoring object and the container labels of the containers corresponding to the target monitoring object from the collecting device.
S404, storing the real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object in a preset database.
After the resource monitoring server obtains the real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object from the node terminal or the acquisition device to which the container belongs, the real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object can be stored in a preset database so as to be used for later monitoring of each container in the container cluster system or monitoring of the target monitoring object in the container cluster system. Optionally, after the resource monitoring server obtains the real-time resource consumption information of the container corresponding to the target monitored object and the container label of the container corresponding to the target monitored object from the node terminal or the acquisition device to which the container belongs, the information may be sorted first, that is, the data format of the data is transformed, so that the data may be normally stored in the preset database and may be normally read.
The above embodiment completes the creation of the preset database, and it should be noted that, in the creation process, the resource monitoring server may execute the creation operation according to various task instructions input by the user side, where different task instructions may include definition files of different target monitoring objects, that is, different target monitoring objects are created, and containers corresponding to different target monitoring objects, and therefore, the finally created preset database may store real-time resource consumption information of containers corresponding to multiple types of target monitoring objects, and container labels of containers corresponding to multiple types of target monitoring objects.
In an application scenario, as long as all containers in the container cluster system are labeled with container labels in advance, the finally created preset database stores the container labels of all containers in the container cluster system and the real-time resource consumption information of all containers. All containers may include containers belonging to a target monitoring object, or may include independent containers. When the container is a container of a certain target monitoring object, the container corresponding to the target monitoring object may be directly created according to the method described in the above embodiment, and when the container is an independent container, the resource monitoring server may directly receive a task instruction sent by the user side, where the task instruction includes a definition file of the container, and then, the resource monitoring server adds an identifier of the container in the definition file of the container, and creates the container according to the added definition file of the container, where the container carries a container tag including the identifier of the container.
In an application scenario, the task instruction may further include user authentication information, and after receiving the task instruction sent by the user side, as shown in fig. 6, the resource monitoring method provided in the present application further includes:
and S501, verifying the identity of the user side according to the user authentication information.
The user authentication information may include a user name, a password, and the like. When the resource monitoring server receives a task instruction which is sent by the user side and contains user authentication information, the user authentication information can be extracted from the task instruction, and the identity of the user side is verified. The specific verification process comprises the following steps: and querying in a database for storing the user information, if a user consistent with the user authentication information is queried, the verification is passed, and if the user consistent with the user authentication information is not queried, the verification is failed. It should be noted that the database storing the user information may be the preset database, or may be another database, which is not limited in this embodiment.
And S502, if the verification is passed, executing the step of creating the target monitoring object according to the definition file of the target monitoring object.
In this scenario, it is described that the user has a right to create the target monitoring object or container, and when the user passes the user authentication, the step of S302 may be directly returned to be executed to create the target monitoring object according to the definition file of the target monitoring object, and create the container corresponding to the target monitoring object according to the definition file of the container corresponding to the target monitoring object, so as to be used when the target monitoring object is monitored later.
Fig. 7 is a flowchart of an implementation manner of S402 in the embodiment of fig. 5, and as shown in fig. 7, the "creating a target monitoring object according to a definition file of the target monitoring object" in S402 includes:
s601, receiving the identification of the target monitoring object input by the user side, and adding the identification of the target monitoring object to a definition file of the target monitoring object.
In this embodiment, when the user needs to monitor resource consumption of the target monitoring object in the container cluster system, the user may first send the identifier of the target monitoring object to the resource monitoring server, and when the resource monitoring server receives the identifier of the target monitoring object and receives the definition file of the target monitoring object sent by the user, the resource monitoring server may read the definition file of the target monitoring object and add the identifier of the target monitoring object to the definition file of the target monitoring object.
S602, creating the target monitoring object according to the definition file of the added target monitoring object.
After the resource monitoring server adds the identifier of the target monitoring object to the definition file of the target monitoring object, a corresponding container cluster management program can be further called to create the target monitoring object. Optionally, the resource monitoring server may also transmit the added definition file of the target monitoring object to a corresponding target monitoring object engine, and drive the target monitoring object engine to call a corresponding container cluster management program, so as to create the target monitoring object. For example, if the target monitoring object is a workflow monitoring object, the resource monitoring server may automatically invoke a container cluster management program in different workflow steps, create a container carrying a container label corresponding to the workflow, and use the container to execute a workflow task. If the target monitoring object is a user monitoring object, the resource monitoring server may automatically invoke a container cluster management program in different workflow steps of each workflow managed by the user, create each workflow corresponding to the user and a container carrying a container label in each workflow, and use the container to execute each workflow task of the user.
Fig. 8 is a flowchart of another implementation manner of S402 in the embodiment of fig. 5, and as shown in fig. 7, the "creating a container corresponding to a target monitoring object according to a definition file of the container corresponding to the target monitoring object" in S402 includes:
s701, adding the identification of the target monitoring object to a definition file of a container corresponding to the target monitoring object.
In this embodiment, when the resource monitoring server receives the definition file of the target monitored object, the definition file of the container corresponding to the target monitored object may be further obtained therefrom, and at this time, the resource monitoring server may read the definition file of the container corresponding to the target monitored object and add the identifier of the target monitored object to the definition file of the container corresponding to the target monitored object.
S702, creating a container corresponding to the target monitoring object according to the definition file of the added container.
After the resource monitoring server adds the identifier of the target monitoring object to the definition file of the container corresponding to the target monitoring object, a corresponding container cluster management program can be further called to create the container corresponding to the target monitoring object carrying the container label. Optionally, the resource monitoring server may also transmit the definition file of the added container corresponding to the target monitoring object to a corresponding container cluster management server, drive the container cluster management server to call a corresponding container cluster management program, and create a container corresponding to the target monitoring object carrying a container label on each node terminal in the container cluster system.
In combination with the methods described in the embodiments of fig. 6 to 8, the present application further provides a method for creating a container carrying a container label, as shown in fig. 9, where the method includes:
s801, receiving a task instruction sent by a user side, wherein the task instruction comprises user authentication information and a definition file of a target monitoring object, and the definition file of the target monitoring object comprises a definition file of a container corresponding to the target monitoring object.
S802, the identity of the user side is verified according to the user authentication information, if the identity is verified, the step S804 is executed, and if the identity is not verified, the step S803 is executed.
S803, return to S801, and re-receive the task command sent by the user side.
S804, receiving the identification of the target monitoring object input by the user terminal, and adding the identification of the target monitoring object to the definition file of the target monitoring object.
And S805, calling a target monitoring object engine to create a target monitoring object according to the definition file of the added target monitoring object.
And S806, adding the identification of the target monitoring object to the definition file of the container corresponding to the target monitoring object.
And S807, calling the container cluster management program to create a container corresponding to the target monitoring object according to the definition file of the added container.
In the process, each container carrying a container label is created in advance, and the label carried by each container comprises the identifier of the target monitoring object corresponding to the container, so that the target monitoring object can be easily monitored according to the container label in the later period when the target monitoring object is monitored, and the target monitoring object can comprise any type of monitoring object, thereby expanding the application field of monitoring in the container cluster system by the monitoring method provided by the application.
Optionally, the acquiring real-time resource consumption information of a container corresponding to the target monitoring object and a container label of the container corresponding to the target monitoring object in S403 specifically includes: acquiring real-time resource consumption information of a container corresponding to a target monitoring object acquired by a collector and a container label of the container corresponding to the target monitoring object; the collector comprises a collector provided by a container cluster management program or a collector provided by a custom network service program.
In this embodiment, after the resource monitoring server marks the target monitoring object in the container cluster system and marks the container label on the container corresponding to the target monitoring object based on the steps in the embodiments of fig. 6 to 9, the collectors on the node terminals in the container cluster system or the independent collecting devices in the container cluster system may collect the real-time resource consumption information of each container and the container label of each container in the container cluster system in real time. The collectors on the node terminals may be collectors provided by a container cluster management program, and the collectors of this type are distributed in processes in the node terminals and may acquire real-time resource consumption information of the containers through commands of some computer systems. For example, a component of the container clustering system kubberenets, kubbelette, apiserver, etc. may provide container information. Optionally, the collector on each node terminal may be a collector provided by a user-defined network service program, and the collector may specifically be a network service program written by a user, and the program may be run on each node terminal in the container cluster system. For example, when information such as the GPU utilization rate of each node terminal needs to be collected, a user can customize a network service program and obtain the information such as the GPU utilization rate through an nvidia-smi command.
When the collector on each node terminal in the container cluster system or the collecting device in the container cluster system collects the real-time resource consumption information of the container corresponding to the target monitoring object in the container cluster system and the container label of the container corresponding to the target monitoring object in real time, the resource monitoring server may obtain the real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object from the collector or the collecting device.
Optionally, in an application scenario, a central total collector may be preset on the resource monitoring server, where the central total collector may be a process running on the resource monitoring server, and accesses the collector on each node terminal or an independently arranged collection device at intervals to obtain real-time resource consumption information of a container corresponding to the target monitored object and a container label of the container corresponding to the target monitored object. In this application scenario, it should be noted that, when the collector or the independently disposed collecting device on each node terminal collects the real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object, the information needs to be collated into a data format that can be recognized by the central collector, and then the central collector waits for capturing the data or actively sends the data to the central collector.
In summary, the present application provides a resource monitoring system, as shown in fig. 10, the resource monitoring system includes: the system comprises a plurality of node terminals, a resource monitoring server, a user side, a preset database and a container cluster management server, wherein the node terminals are provided with collectors and comprise a plurality of containers with preset container labels, and the resource monitoring server is provided with a central total collector. The node terminal is used for calling a container cluster management program on the container cluster management server to create a container carrying the container label of the identification of the target monitoring object; the resource monitoring server is used for calling a container cluster management program on the container cluster management server to create a target monitoring object according to a task instruction sent by the user side, and is also used for acquiring container labels acquired by the collectors on the node terminals and real-time resource consumption information of the containers in the resource monitoring system and storing the information or data into a preset database. In addition, the resource monitoring server is also used for monitoring the resource consumption of the target monitoring object in the resource monitoring system according to the monitoring instruction sent by the user side, and sending the monitored resource consumption information of the target monitoring object to the user side. The user side is used for sending a monitoring instruction for packaging the identification of the target monitoring object and a task instruction for packaging the definition file of the target monitoring object to the resource monitoring server. The preset database is used for storing real-time resource consumption information of each container in the resource monitoring system and container labels of each container. The container cluster management server is used for providing the container cluster management program for other servers or equipment in the resource monitoring system to use.
Based on the schematic structural diagram of the resource monitoring system described in the embodiment of fig. 10, the present application provides a resource monitoring method, as shown in fig. 11, the method includes:
s901, a resource monitoring server receives a task instruction sent by a user side; the task instruction comprises a definition file of the target monitoring object, and the definition file of the target monitoring object comprises a definition file of a container corresponding to the target monitoring object.
S902, the resource monitoring server receives the identification of the target monitoring object input by the user side, adds the identification of the target monitoring object to the definition file of the target monitoring object, and adds the identification of the target monitoring object to the definition file of the container corresponding to the target monitoring object.
S903, the resource monitoring server calls a container cluster management program on the container cluster management server, creates a target monitoring object according to the definition file of the target monitoring object, and creates a container corresponding to the target monitoring object on each node terminal according to the definition file of the container corresponding to the target monitoring object; the container carries a container label.
S904, the resource monitoring server obtains real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object, wherein the real-time resource consumption information is collected by the collector on the node terminal.
S905, the resource monitoring server stores the collected real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object into a preset database.
S906, receiving a monitoring instruction sent by a user side; the monitoring instruction carries an identifier of a target monitoring object; the monitoring instruction is used for monitoring resource consumption of the target monitoring object in the container cluster system.
And S907, acquiring a container label set corresponding to the identifier of the target monitoring object in the container cluster system according to the monitoring instruction.
S908, determining a container list associated with the container label set according to the container label set; and the identifiers of the target monitoring objects contained in the container labels of the containers in the container list are the same.
And S909, acquiring real-time resource consumption information of each container in the container list from a preset database.
S910, merging the real-time resource consumption information of each container to obtain the resource consumption information corresponding to the target monitoring object.
And S911, sending the resource consumption information of the container corresponding to the target monitoring object to a user side.
The description of the steps in the above embodiment is the same as that of the embodiments in the above embodiments, and the detailed description is referred to the above description, and the redundant description is not repeated here.
It should be understood that although the various steps in the flow charts of fig. 2-11 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-11 may include multiple sub-steps or phases that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or phases is not necessarily sequential.
In one embodiment, as shown in fig. 12, there is provided a resource monitoring apparatus including: a receiving module 11, an obtaining module 12 and a determining module 13, wherein:
a receiving module 11, configured to receive a monitoring instruction; the monitoring instruction carries an identifier of a target monitoring object;
the obtaining module 12 is configured to obtain, according to the monitoring instruction, a container label set preset in the container cluster system corresponding to the identifier; the container label comprises an identifier of a target monitoring object corresponding to the container;
and the determining module 13 is configured to determine resource consumption information of a container corresponding to the target monitoring object according to the container label set.
In one embodiment, as shown in fig. 13, the obtaining module 12 includes:
an extracting unit 121 configured to extract an identifier of a target monitoring object from the monitoring instruction;
a tag set determining unit 122, configured to determine, according to the identifier of the target monitored object, a container tag that includes the identifier in the container cluster system, to obtain a container tag set.
In one embodiment, as shown in fig. 14, the determining module 13 includes:
a first determining unit 131, configured to determine a container list associated with a container label set;
a first obtaining unit 132, configured to obtain real-time resource consumption information of each container in the container list from a preset database; real-time resource consumption information of each container in the container cluster system and a container label of each container are stored in a preset database;
the second determining unit 133 is configured to determine resource consumption information corresponding to the target monitoring object according to the real-time resource consumption information of each container in the container list.
In an embodiment, the first determining unit 131 is specifically configured to determine the container corresponding to each container label in the container label set as a container in a container list associated with the container label set.
In an embodiment, as shown in fig. 15, the resource monitoring apparatus further includes: a creation module 15, the creation module 15 comprising:
a receiving unit 151, configured to receive a task instruction sent by a user end; the task instruction comprises a definition file of the target monitoring object, and the definition file of the target monitoring object comprises a definition file of a container corresponding to the target monitoring object;
a creating unit 152, configured to create a target monitoring object according to the definition file of the target monitoring object, and create a container corresponding to the target monitoring object according to the definition file of the container corresponding to the target monitoring object; the container carries a container label;
a second obtaining unit 153, configured to obtain real-time resource consumption information of a container corresponding to the target monitoring object and a container label of the container corresponding to the target monitoring object;
the storage unit 154 is configured to store the real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object in a preset database.
In an embodiment, the creating unit 152 is specifically configured to receive an identifier of a target monitoring object input by a user, and add the identifier of the target monitoring object to a definition file of the target monitoring object; and creating the target monitoring object according to the definition file of the added target monitoring object.
In an embodiment, the creating unit 152 is further specifically configured to add the identifier of the target monitoring object to the definition file of the container corresponding to the target monitoring object; and creating a container corresponding to the target monitoring object according to the definition file of the added container.
In an embodiment, if the task instruction further includes user authentication information, before the receiving unit 151, as shown in fig. 16, the creating module 15 further includes:
a verifying unit 155 for verifying the identity of the user terminal according to the user authentication information;
an executing unit 156, configured to execute the step of creating the target monitoring object according to the definition file of the target monitoring object when the authentication passes.
In an embodiment, the second obtaining unit 153 is specifically configured to obtain real-time resource consumption information of a container corresponding to the target monitoring object, which is acquired by the collector, and a container label of the container corresponding to the target monitoring object; the collector comprises a collector provided by a container cluster management program or a collector provided by a user-defined network service program.
For the specific limitation of the resource monitoring device, reference may be made to the above limitation on a resource monitoring method, which is not described herein again. The modules in the resource monitoring device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 17. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a resource monitoring method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 17 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a monitoring instruction; the monitoring instruction carries an identifier of a target monitoring object;
acquiring a container label set preset in a container cluster system corresponding to the identifier according to the monitoring instruction; the container label comprises an identifier of a target monitoring object corresponding to the container;
and determining the resource consumption information of the container corresponding to the target monitoring object according to the container label set.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, the computer program, when executed by a processor, further implementing the steps of:
receiving a monitoring instruction; the monitoring instruction carries an identifier of a target monitoring object;
acquiring a container label set preset in a container cluster system corresponding to the identifier according to the monitoring instruction; the container label comprises an identifier of a target monitoring object corresponding to the container;
and determining the resource consumption information of the container corresponding to the target monitoring object according to the container label set.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for resource monitoring, the method comprising:
receiving an identifier of a target monitoring object input by a user side, and adding the identifier of the target monitoring object to a definition file of the target monitoring object;
creating a container corresponding to the target monitoring object according to the added definition file; the container carries a container label; the container label comprises the identification of the target monitoring object;
receiving a monitoring instruction; the monitoring instruction carries the identification of the target monitoring object; the target monitoring object comprises a workflow monitoring object or a team monitoring object; the workflow monitoring object or the team monitoring object comprises a plurality of containers;
acquiring a container label set corresponding to the identifier from a container cluster system according to the monitoring instruction;
determining resource consumption information corresponding to the target monitoring object according to the container label set; the method specifically comprises the following steps: and accessing the collector on each node terminal every a preset time period through a preset central total collector to acquire real-time resource consumption information corresponding to the target monitoring object.
2. The method according to claim 1, wherein the obtaining a container label set corresponding to the identifier from a container cluster system according to the monitoring instruction comprises;
extracting the identification of the target monitoring object from the monitoring instruction;
and determining the container label containing the identifier in the container cluster system according to the identifier of the target monitoring object to obtain the container label set.
3. The method according to claim 1, wherein the determining, according to the container label set, container resource consumption information corresponding to the target monitoring object includes:
determining a list of containers associated with the set of container labels;
acquiring real-time resource consumption information of each container in the container list from a preset database; the preset database stores real-time resource consumption information of each container in the container cluster system and a container label of each container;
and determining the resource consumption information corresponding to the target monitoring object according to the real-time resource consumption information of each container in the container list.
4. The method of claim 3, wherein determining the list of containers associated with the set of container labels comprises:
and determining the container corresponding to each container label in the container label set as the container in the container list associated with the container label set.
5. The method of claim 3, wherein the creation of the predetermined database comprises:
receiving a task instruction sent by a user side; the task instruction comprises a definition file of the target monitoring object, and the definition file of the target monitoring object comprises a definition file of a container corresponding to the target monitoring object;
creating the target monitoring object according to the definition file of the target monitoring object, and creating a container corresponding to the target monitoring object according to the definition file of the container corresponding to the target monitoring object; the container carries the container label;
acquiring real-time resource consumption information of a container corresponding to the target monitoring object and a container label of the container corresponding to the target monitoring object;
and storing the resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object in the preset database.
6. The method of claim 5, wherein creating the target monitoring object according to the definition file of the target monitoring object comprises:
receiving an identifier of a target monitoring object input by the user side, and adding the identifier of the target monitoring object to a definition file of the target monitoring object;
and creating the target monitoring object according to the added definition file of the target monitoring object.
7. The method of claim 6, wherein the task instructions further include user authentication information,
after receiving the task instruction sent by the user side, the method further includes:
verifying the identity of the user side according to the user authentication information;
and if the verification is passed, executing the step of creating the target monitoring object according to the definition file of the target monitoring object.
8. The method according to claim 5, wherein the obtaining real-time resource consumption information of the container corresponding to the target monitoring object and the container label of the container corresponding to the target monitoring object includes:
acquiring real-time resource consumption information of a container corresponding to the target monitoring object and a container label of the container corresponding to the target monitoring object, wherein the real-time resource consumption information is acquired by a collector; the collector comprises a collector provided by a container cluster management program or a collector provided by a user-defined network service program.
9. An apparatus for resource monitoring, the apparatus comprising:
the system comprises a creating unit, a monitoring unit and a monitoring unit, wherein the creating unit is used for receiving the identification of a target monitoring object input by a user end and adding the identification of the target monitoring object to a definition file of the target monitoring object; creating a container corresponding to the target monitoring object according to the added definition file; the container carries a container label; the container label comprises the identification of the target monitoring object;
the receiving module is used for receiving a monitoring instruction; the monitoring instruction carries an identifier of a target monitoring object; the target monitoring object comprises a workflow monitoring object or a team monitoring object; the workflow monitoring object or the team monitoring object comprises a plurality of containers;
the acquisition module is used for acquiring a container label set corresponding to the identifier from a container cluster system according to the monitoring instruction;
a determining module, configured to determine, according to the container label set, resource consumption information corresponding to the target monitoring object; the method specifically comprises the following steps: and accessing the collector on each node terminal every a preset time period through a preset central total collector to acquire real-time resource consumption information corresponding to the target monitoring object.
10. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN201911219942.8A 2019-11-29 2019-11-29 Resource monitoring method and device, computer equipment and storage medium Active CN111130925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911219942.8A CN111130925B (en) 2019-11-29 2019-11-29 Resource monitoring method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911219942.8A CN111130925B (en) 2019-11-29 2019-11-29 Resource monitoring method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111130925A CN111130925A (en) 2020-05-08
CN111130925B true CN111130925B (en) 2022-08-26

Family

ID=70497221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911219942.8A Active CN111130925B (en) 2019-11-29 2019-11-29 Resource monitoring method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111130925B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737082A (en) * 2020-06-19 2020-10-02 中国建设银行股份有限公司 Container and monitoring method, device, equipment and medium for container application
CN111737089B (en) * 2020-07-23 2021-04-23 北京升鑫网络科技有限公司 Real-time counting method and device for information assets in container and computing equipment
CN112162518A (en) * 2020-10-14 2021-01-01 河北中兴冀能电力发展有限公司 Single-board multi-operation chip calculation force monitoring system applied to power instrument equipment
CN112667473A (en) * 2020-12-28 2021-04-16 联想(北京)有限公司 Method, device and computer readable medium for edge terminal resource assessment
CN114500246B (en) * 2022-02-15 2023-09-01 平安证券股份有限公司 Network connection state monitoring method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020930A (en) * 2016-05-13 2016-10-12 深圳市中润四方信息技术有限公司 Application container based application management method and system
WO2017181876A1 (en) * 2016-04-19 2017-10-26 华为技术有限公司 Device state and resource information monitoring method, related device, and system
CN109992354A (en) * 2019-04-09 2019-07-09 腾讯科技(深圳)有限公司 Container-treatment, device, principal server, system and storage medium
CN110290189A (en) * 2019-06-17 2019-09-27 深圳前海微众银行股份有限公司 A kind of container cluster management method, apparatus and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389243B (en) * 2015-10-26 2018-06-05 华为技术有限公司 A kind of container monitors method and apparatus
US10432638B2 (en) * 2016-08-29 2019-10-01 Cisco Technology, Inc. Infrastructure aware adaptive resource allocation
CN108958882A (en) * 2018-06-06 2018-12-07 麒麟合盛网络技术股份有限公司 A kind of container method of adjustment, device and system
CN109783533B (en) * 2018-12-13 2023-06-02 平安科技(深圳)有限公司 Data acquisition method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181876A1 (en) * 2016-04-19 2017-10-26 华为技术有限公司 Device state and resource information monitoring method, related device, and system
CN106020930A (en) * 2016-05-13 2016-10-12 深圳市中润四方信息技术有限公司 Application container based application management method and system
CN109992354A (en) * 2019-04-09 2019-07-09 腾讯科技(深圳)有限公司 Container-treatment, device, principal server, system and storage medium
CN110290189A (en) * 2019-06-17 2019-09-27 深圳前海微众银行股份有限公司 A kind of container cluster management method, apparatus and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《高校数据中心Docker容器应用的安全体系设计》;谢超群;《计算机与数字工程》;20190514;第53-55页 *

Also Published As

Publication number Publication date
CN111130925A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111130925B (en) Resource monitoring method and device, computer equipment and storage medium
CN109672741B (en) Micro-service monitoring method and device, computer equipment and storage medium
CN110290212B (en) Service call recording method, device, computer equipment and storage medium
CN102754075B (en) Effective administration configuration drift
CN110620812B (en) Interactive information pushing method and device, computer equipment and storage medium
CN105556475A (en) Request processing techniques
CN108446172B (en) Data calling method and device, computer equipment and storage medium
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
US9519537B2 (en) Apparatus, system and method for application log data processing
Pereira et al. Analytical models for availability evaluation of edge and fog computing nodes
CN104205099A (en) A method and system for centralized issue tracking
CN109325010B (en) Log checking method, device, computer equipment and storage medium
CN111026725A (en) Data processing method and device for consumption data, computer equipment and storage medium
CN109828809B (en) Information visualization method and device for billboard, computer equipment and storage medium
CN112017007A (en) User behavior data processing method and device, computer equipment and storage medium
CN112069384A (en) Buried point data processing method, server and readable storage medium
CN109542764B (en) Webpage automatic testing method and device, computer equipment and storage medium
CN111538754A (en) Data collection management system, method, device, equipment and storage medium
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN110598124B (en) Numerical attribute mining method, device, computer equipment and storage medium
CN111460256A (en) Webpage data crawling method and device, computer equipment and storage medium
CN116560863A (en) Task management method and device based on block chain and computer equipment
CN114944942A (en) Data reporting method and device based on effective buried points, computer equipment and medium
CN111078984B (en) Network model issuing method, device, computer equipment and storage medium
CN114428704A (en) Method and device for full-link distributed monitoring, computer equipment and storage medium

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