尽管启用了 Cloud 监控,但我的GKE集群不受Stackdriver监控 . 特别是https://app.google.stackdriver.com/gke只报告"You do not have any resources of this type being monitored by Stackdriver" .
-
集群运行Kubernetes 1.2.4,于2016年5月中旬创建 .
-
有些人在创建时启用了 Cloud 监控,有些通过
gcloud container clusters update serve --monitoring-service=monitoring.googleapis.com
启用了 Cloud 监控 . -
所有群集都在运行
heapster
pod,其中2/2就绪,状态为Running,无重启,例如asheapster-v1.0.2-594732231-76sdj
. -
所有群集都运行
heapster
服务,其中包含群集IP,没有外部IP和端口80 / TCP . -
heapster
pod的日志,heapster
容器看起来像:
I0609 09:15:05.000189 1 manager.go:79]刮痧指标开始:2016-06-09 09:14:00 0000 UTC,结束时间:2016-06-09 09:15:00 0000 UTC I0609 09:15: 05.023729 1 manager.go:152] ScrapeMetrics:时间:23.435264ms大小:25
heapster
pod的日志,heapster-nanny
容器看起来像:
I0609 09:18:03.968201 1 nanny_lib.go:90]节点数是1 I0609 09:18:03.971459 1 nanny_lib.go:98]容器资源是&{map [memory:{213909504.000000000 BinarySI} cpu:{ 0.100000000 DecimalSI}] map [cpu:{0.100000000 DecimalSI}内存:{213909504.000000000 BinarySI}]} I0609 09:18:03.971522 1 nanny_lib.go:102]预期的资源是&{map [cpu:{0.100000000 DecimalSI} memory:{ 218103808.000000000 BinarySI}] map [cpu:{0.100000000 DecimalSI}内存:{218103808.000000000 BinarySI}]} I0609 09:18:03.971634 1 nanny_lib.go:106]资源在预期的限制范围内 .
- https://status.cloud.google.com显示所有服务为绿色 .
1 回答
事实证明Stackdriver有一个问题,就是在UI中没有正确显示新的聚类 . 度量标准正在被正确收集,并且可以通过_1343740整个时间获得 . 问题现在应该得到解决,但是团队非常抱歉这会造成任何麻烦,并且会更快地解决这样的问题 .