apache / hertzbeat

Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
https://hertzbeat.apache.org/
Apache License 2.0
5.7k stars 986 forks source link

[Question] How do I monitor every pod in kubernetes #1694

Open ZachariahHu opened 7 months ago

ZachariahHu commented 7 months ago

Question

How do I monitor every pod in kubernetes?

tomsun28 commented 7 months ago

does the kubernetes monitoring not support now?

ZachariahHu commented 7 months ago

image

I want to see the details of the nn9zt pod, memory, CPU ratio, etc

tomsun28 commented 7 months ago

hi you can update the kubernetes.yml to add custom monitoring metrics, collect them by custom api-server rest-api. https://hertzbeat.dromara.org/docs/advanced/extend-http
https://raw.githubusercontent.com/dromara/hertzbeat/master/manager/src/main/resources/define/app-kubernetes.yml

ZachariahHu commented 7 months ago

hi you can update the kubernetes.yml to add custom monitoring metrics, collect them by custom api-server rest-api. https://hertzbeat.dromara.org/docs/advanced/extend-http https://raw.githubusercontent.com/dromara/hertzbeat/master/manager/src/main/resources/define/app-kubernetes.yml

I hope there is a general template to monitor the pod situation of k8s, but it seems that it is not supported now, can it be regarded as a new requirement?