поговорка "куб01" не найдена - PullRequest
0 голосов
/ 23 января 2019

Я пытаюсь собрать свой кластер kubeadm с тремя мастерами. Я получаю эту проблему от моей init команды ...

[kubelet-check] Initial timeout of 40s passed.

Unfortunately, an error has occurred:
    timed out waiting for the condition

This error is likely caused by:
    - The kubelet is not running
    - The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)

If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
    - 'systemctl status kubelet'
    - 'journalctl -xeu kubelet'

Additionally, a control plane component may have crashed or exited when started by the container runtime.
To troubleshoot, list all containers using your preferred container runtimes CLI, e.g. docker.
Here is one example how you may list all Kubernetes containers running in docker:
    - 'docker ps -a | grep kube | grep -v pause'
    Once you have found the failing container, you can inspect its logs with:
    - 'docker logs CONTAINERID'
error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster

Но я не использую никакие cgroupfs, а systemd И мой кубелец жалуется на то, что не знает его имя.

Jan 23 14:54:12 master01 kubelet[5620]: E0123 14:54:12.251885    5620 kubelet.go:2266] node "master01" not found
Jan 23 14:54:12 master01 kubelet[5620]: E0123 14:54:12.352932    5620 kubelet.go:2266] node "master01" not found
Jan 23 14:54:12 master01 kubelet[5620]: E0123 14:54:12.453895    5620 kubelet.go:2266] node "master01" not found

Пожалуйста, дайте мне знать, в чем проблема.

1 Ответ

0 голосов
/ 23 января 2019

Проблема может быть связана с версией докера, поскольку версия докера <18.6 поддерживается в последней версии kubernetes, т.е. v1.13.xx.</p>

На самом деле у меня тоже возникла та же проблема, но она была устранена после понижения версии докера с 18,9 до 18,6.

...