techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Add linux-modules-extra-raspi package for Ubuntu 22.x on Raspberry. #50

Closed labrown closed 2 years ago

labrown commented 2 years ago

Ubuntu 22.x on Raspberry Pi needs the linux-modules-extra-raspi package for the vxlans kernel module.

Proposed Changes

K3S on Ubuntu 22.x requires the linux-modules-extra-raspi package for the vxlan kernel module.

NOTE: Not sure if we want to force removal of the linux-modules-extra-raspi package during reset, but included it anyway.

Checklist

timothystewart6 commented 2 years ago

Thank you! Do you have a reference to this for k3s? A link to the docs or supporting issue I can reference?

labrown commented 2 years ago

This is the github issue where I found the clue I needed: https://github.com/k3s-io/k3s/issues/4188#issuecomment-982503626

labrown commented 2 years ago

Also this Rancher K3S entry: https://rancher.com/docs/k3s/latest/en/advanced/#enabling-vxlan-on-ubuntu-21.10+-on-raspberry-pi

timothystewart6 commented 2 years ago

Thanks for the links!

dc995 commented 2 years ago

Still failing as far as I can tell

Steps to reproduce - 1) Run all rpi items https://rancher.com/docs/k3s/latest/en/advanced/#enabling-vxlan-on-ubuntu-21.10+-on-raspberry-pi

2) install k3s using the default script curl -sfL https://get.k3s.io | sh -

3) Get cut off the network

As soon as the cluster comes up ssh terminal freezes. Go to console directly ping/dns no longer resolves Uninstall /usr/local/bin/k3s-uninstall.sh Everything works and can remotely connect again. Repeatable. Any flag on install or something else issed that I should be taken?

Linux km00 5.15.0-1014-raspi #16-Ubuntu SMP PREEMPT Thu Aug 25 09:50:55 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux OS: Ubuntu 22.04 jammy Kernel: aarch64 Linux 5.15.0-1014-raspi Uptime: 16m Packages: 637 Shell: bash 5.1.16 Disk: 4.1G / 59G (8%) CPU: BCM2835 @ 4x 1.2GHz RAM: 274MiB / 905MiB