Отключение проверок состояния heapster в Kubernetes 1.10 - PullRequest
0 голосов
/ 21 октября 2018

При выполнении 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 устарела, но в любом случае существует)отключите эти проверки, чтобы избежать этих шумных сообщений.

1 Ответ

0 голосов
/ 22 октября 2018

Вы можете найти временную шкалу устаревания Heapster здесь .

Я обнаружил, что в кластере Kubernetes версии 1.10 kubernetes-dashboard Pod генерирует такие сообщения об ошибках:

kubectl --namespace=kube-system log <kubernetes-dashboard-Pod>

2018/10/22 13:04:36 Метрическая проверка работоспособности клиента завершилась неудачно: серверу не удалось найти запрошенный ресурс (получить кэш служб).Повторная попытка через 30 секунд.

Похоже, что kubernetes-dashboard по-прежнему требуется служба Heapster для метрик и графиков.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...