kube-state
在安装全家桶之前,可以先一个一个组件的突破。上次试了一下node exporter用来导出服务器数据metrics。
而用于导出k8s集群数据的组件就是kube-state-metrics。它寄生于k8s,作为service存在。
项目地址:https://github.com/kubernetes/kube-state-metrics
最新docker tag:gcr.io/google_containers/kube-state-metrics:v0.5.0.
进阶需要了解kube-state-metrics 和 Heapster 的不同之处。
部署就简单了。。
kubectl apply -f kubernetes
https://images2017.cnblogs.com/blog/465438/201707/465438-20170727135025305-266515087.png
https://images2017.cnblogs.com/blog/465438/201707/465438-20170727135031946-662264614.png
页:
[1]