2019年4月1日月曜日

kubeadm init 失敗の対策について

◻️kubeadm init を実施すると、コネクション拒否のエラーが出て失敗に終わる。


root@rasp-master:~# kubeadm init --pod-network-cidr=10.0.0.0/16
==========================================
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused
===========================================


◻️対策とは、言えないが以下のコマンドを投入して回避することしか出来ていない。
リブートをしないと回避できないのは微妙ではあるが。。

swapoff -a
kubeadm reset

reboot

0 件のコメント:

コメントを投稿

Roo Code + LM Studio 最強ローカルAI開発環境

 AIによるコード生成が当たり前になった今、エンジニアが次に求めるのは「自分のコードベースをすべて把握した上での提案」です。VS Code拡張の  Roo Code(旧Cline)  は、プロジェクト全体をスキャンして記憶する「セマンティック検索(RAG)」機能を備えています。 ...