In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to use Heapster to monitor the cluster, I believe that many inexperienced people do not know what to do. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
Heapster is the native cluster monitoring scheme of Kubernetes. Heapster runs in the form of Pod, which automatically discovers cluster nodes and obtains monitoring data from the Kubelet on the nodes. Kubelet collects data from the cAdvisor on the node.
Heapster groups data by Pod, stores them in a pre-configured backend, and displays them visually. The backend supported by Heapster currently includes InfluxDB (displayed through Grafana), Google Cloud Monitoring and so on. The overall architecture of Heapster is shown in the following figure:
Next we will practice a monitoring scheme consisting of Heapster, InfluxDB, and Grafana. Kubelet and cAdvisor are native components of Kubernetes and no additional deployment is required.
Deployment
Heapster itself is a Kubernetes application, and the deployment method is very simple. Run the following command:
Git clone https://github.com/kubernetes/heapster.gitkubectl apply-f heapster/deploy/kube-config/influxdb/kubectl apply-f heapster/deploy/kube-config/rbac/heapster-rbac.yaml
Resources related to Heapster are as follows:
Click the Home menu in the upper left corner to see the two predefined Dashboard Cluster and Pods.
You can switch to view the data of different nodes in the upper left corner.
You can switch to different Namespace's Pod in the upper left corner.
Heapster's predefined Dashboard is intuitive and simple. If necessary, you can define your own Dashboard in Grafana to meet specific business needs.
After reading the above, have you mastered how to monitor the cluster with Heapster? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.