The image “quay.io/coreos/kube-state-metrics:v1.1.0” is used to collect kubernetes metrics. What I want is to get each pod’s info and status displayed on a grafana table, the format of which is as below,
I can get (pod, node, host_ip, pod_id) from the metrics kube_pod_info, and get (pod, phase) from kube_pod_status_phase. Currently I created two grafana tables to display them separately. But I really want to get them displayed in one table. How can I achieve this?
The other question is how to remove the metrics value column from the table, because I only care about the labels.
The grafana version is v4.6.2, prometheus version is v2.0.0.