1
votes

I am running Kubernetes cluster 1.5.3 on IBM Bluemix, I would like to get the pod's resources utilization (memory and cpu) as raw data points. Is Kubernetes expose such API?

➜ bluemix git:(master) ✗ k cluster-info Kubernetes master is running at https://x:x

Heapster is running at https://x:x/api/v1/proxy/namespaces/kube-system/services/heapster

KubeDNS is running at https://x:x/api/v1/proxy/namespaces/kube-system/services/kube-dns

kubernetes-dashboard is running at https://x:x/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard

1

1 Answers

1
votes

You can use heapster or kube-state-metrics to achieve this. In many kubernetes deployments heapsteris already installed. Both can be easily deployed in-cluster.