无法访问Google容器引擎上的Stackdriver中的Kubernetes指标 [英] Unable to access Kubernetes metrics in Stackdriver on Google container engine

查看:163
本文介绍了无法访问Google容器引擎上的Stackdriver中的Kubernetes指标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google容器引擎上运行Kubernetes群集。默认情况下,我的指标不会被推送到Stackdriver。



我是否需要明确启动Heapster服务或者是否由容器引擎自动管理?

解决方案

如果群集中没有运行Heapster群集,那么您的群集是在我们默认启用群集监控之前创建的。



我们正在为用户添加一种方式来追溯性地启用监控,但是如果您希望今天将度量标准推入堆栈驱动程序,则需要创建一个新群集(启动对自己收集的指标来说,你自己不够)。

I am running a Kubernetes cluster on Google container engine. My metrics are not getting pushed to Stackdriver by default.

Do I need to start Heapster service explicitly or is it automatically managed by container engine itself?

解决方案

If there isn't a Heapster pod running in your cluster, then your cluster was created before we started enabling cluster monitoring by default.

We are working on adding a way for users to retroactively turn on monitoring, but if you want metrics pushed into stack driver today you will need to create a new cluster (launching Heapster yourself isn't sufficient for the metrics to get collected).

这篇关于无法访问Google容器引擎上的Stackdriver中的Kubernetes指标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆