qikqiak.com icon indicating copy to clipboard operation
qikqiak.com copied to clipboard

Metrics Server 安装

Open cnych opened this issue 5 years ago • 3 comments

https://www.qikqiak.com/post/install-metrics-server/

kubernetes 集群资源监控之前可以通过 heapster 来获取数据,在 1.11 开始开始逐渐废弃 heapster 了,采用 metrics-server 来代替,metrics-server 是集群的核心监控数据的聚合器,它从 kubelet 公开的 Summary API 中采集指标信息,metrics-server 是扩展的 APIServer,依赖于kube-aggregator,因为我们需要在 APIServer 中开启相关参数。

cnych avatar May 23 '19 01:05 cnych

原来如此,很清晰简明。

aruruka avatar Jan 21 '20 12:01 aruruka

請問要怎麼確認APIServer啟動參數有--enable-aggregator-routing=true這個項目?如果沒有要怎麼做?我是K8S的新手,再請教您說明一下,謝謝!

yunghanlu avatar Jul 07 '20 08:07 yunghanlu

到control-plane的主机上ps -ef | grep一下或者看apiserver的static pod的manifest。

From mobile

yunghanlu [email protected] 于 2020年7月7日周二 下午4:50写道:

請問要怎麼確認APIServer啟動參數有--enable-aggregator-routing=true這個項目?如果沒有要怎麼做?我是K8S的新手,再請教您說明一下,謝謝!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cnych/qikqiak.com/issues/107#issuecomment-654700223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJDMI67ZW3CEJOW3BGR64DR2LOTVANCNFSM4HOZDZKQ .

aruruka avatar Jul 07 '20 12:07 aruruka