Getting informations from my Kubernetes

20 views
Skip to first unread message
Assigned to alinam...@gmail.com by me

Matheus Tramontini

unread,
Nov 9, 2017, 1:30:29 PM11/9/17
to Kubernetes user discussion and Q&A
Hello.
I would like to know how  I could get my server informations as like CPU, Memory, etc as a JSON using a R script to plot these informations with graphic and etc. If it's not possible, would be possible to get these informations with another language and convert to R after this?
The goal is to be possible for all the DEV team to see the status of our kubernete server. Is there a way to distribute this information without everyone acessing the kubernetes dashboard?
THanks for the help

Brandon Philips

unread,
Nov 9, 2017, 4:20:23 PM11/9/17
to kubernet...@googlegroups.com
Hello Matheus-

I would suggest you run kube-state-metrics and the Prometheus Node Exporter. For example, we run these as Daemon Sets on CoreOS Tectonic and then scrape the metrics using Prometheus to get a time series, the end result is the data you are looking for. Then using the Prometheus API you can get a JSON timeseries.

Brandon

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
--
CTO, CoreOS, Inc
Tectonic is enterprise Kubernetes
Reply all
Reply to author
Forward
0 new messages