Method and device for monitoring Kubernetes resource data
A resource data and monitoring device technology, applied in program control devices, electrical digital data processing, hardware monitoring, etc., can solve problems such as incomplete collection of resource data attribute information, and achieve the effects of reducing difficulty, expanding monitoring scope, and improving integrity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Such as figure 1 As shown, the embodiment of the present invention provides a kind of monitoring method of Kubernetes resource data, comprises the following steps:
[0050] Deploy the Prometheus monitoring component in the Kubernetes cluster environment, call the API interface of the Prometheus monitoring component, and obtain the performance data of the Kubernetes cluster resources;
[0051] Define the Kubernetes client KubernetesClient, call the API interface of the client KubernetesClient, and obtain the static information and running status information of the Kubernetes cluster resources;
[0052] Store the performance data of Kubernetes cluster resources and the static information and running status information of Kubernetes cluster resources in the monitoring component, and monitor the resource data of Kubernetes cluster through the monitoring component.
[0053] Such as figure 2 As shown, the schematic diagram of the framework of the monitoring method for Kube...
Embodiment 2
[0072] The present invention provides a kind of monitoring device of Kubernetes resource data, and described device comprises following components:
[0073] Prometheus monitoring component, used to obtain performance data of Kubernetes cluster resources;
[0074] The Kubernetes client component is used to obtain static information and running status information of Kubernetes cluster resources;
[0075] The monitoring component is used to store and display the performance data of Kubernetes cluster resources, as well as the static information and running status information of Kubernetes cluster resources.
[0076] Specifically, the Prometheus monitoring component includes the following components:
[0077] Node-exporter component, said node-exporter component includes CPU, memory, network and file system, can be directly installed on each master node of Kubernetes cluster, collects the performance data of node level;
[0078] Prometheus component, described Prometheus compone...
Embodiment 3
[0082]The embodiment of the present invention also provides a monitoring device for Kubernetes resource data, including a processor and a storage medium;
[0083] The storage medium is used to store instructions;
[0084] The processor is configured to operate according to the instructions to perform the steps of any one of the methods of the first aspect.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com