首页 文章

导出Kubernetes pod cpu /内存信息

提问于
浏览
1

我在IBM Bluemix上运行Kubernetes集群1.5.3,我想将pod的资源利用率(内存和CPU)作为原始数据点 . Kubernetes是否暴露了这样的API?

➜bluemixgit :( master)✗k cluster-info Kubernetes master运行在https:// x:x Heapster运行在https:// x:x / api / v1 / proxy / namespaces / kube-system / services / heapster KubeDNS运行于https:// x:x / api / v1 / proxy / namespaces / kube-system / services / kube-dns kubernetes-dashboard运行于https:// x:x / api / v1 / proxy /命名空间/ KUBE-系统/服务/ kubernetes的仪表板

1 回答

  • 1

    您可以使用heapsterkube-state-metrics来实现此目的 . 在许多kubernetes部署中已经安装了 heapster . 两者都可以轻松部署在集群中 .

相关问题