0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Raspberry Piにk8s+Calicoを導入するときはlinux-modules-extra-raspiを入れろ

Last updated at Posted at 2024-05-24

一生k8sでトラブルマン
うっかりRaspberryPiを吹き飛ばしてしまい、止む無く再構築を迫られたk8s。
せっかくならCalicoで構築しようと思いいたったのがトラブルの始まりでした。

Calicoに関するPodがContainerCreatingのまま立ち上がりません。
いつも通り、describeするとエラーログがちらほら

> kubectl describe pods -n calico-system <立ち上がっていないpod>

~~~ failed to create host netlink handle: protocol not supported

解決方法は表題の通り

apt install linux-modules-extra-raspi

参考:https://github.com/canonical/microk8s/issues/2680

立ち上げの度にトラブルので、kubernetes立ち上げる時はちゃんとドキュメント読もうね(N回目)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?