【发布时间】:2019-03-25 09:31:25
【问题描述】:
在做 kubectl cluster-info dump 时,我看到了很多:
2018/10/18 14:47:47 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
2018/10/18 14:48:17 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
2018/10/18 14:48:47 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
2018/10/18 14:49:17 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
2018/10/18 14:49:47 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
2018/10/18 14:50:17 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
2018/10/18 14:50:47 Metric client health check failed: the server could not find the requested resource (get services heapster). Retrying in 30 seconds.
也许这是一个将在新版本中修复的错误(heapster 在新版本中无论如何都已弃用),但无论如何要禁用这些检查以避免这些嘈杂的消息。
【问题讨论】:
-
我还有一个:
I1022 04:16:08.129640 1 wrap.go:42] GET /api/v1/namespaces/kube-system/services/heapster/proxy/healthz: (20.207558ms) 404,但没有任何与heapster相关的资源
标签: kubernetes heapster