11-25-2020, 08:59 AM
(This post was last modified: 12-10-2020, 03:26 AM by e-minguez.
Edit Reason: added fixes
)
Just for fun!
Using latest mobian:
Profit!
ipset nor vxlan are supported in the Mobian kernel, so I've ended up disabing networkpolicies and using host-gw for flannel configuration by creating a `/etc/rancher/k3s/config.yaml` file with the following content:
disable-network-policy: true
flannel-backend: "host-gw"
Then, restart the k3s service to pick up the changes:
sudo systemctl restart k3s
Using latest mobian:
Code:
sudo apt install curl
curl -sfL https://get.k3s.io | sh -
Profit!
Code:
root@pinephone:~# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system metrics-server-7b4f8b595-svk5l 1/1 Running 0 18m
kube-system local-path-provisioner-7ff9579c6-scgbq 1/1 Running 0 18m
kube-system coredns-66c464876b-lvjb9 1/1 Running 0 18m
kube-system helm-install-traefik-4nlkc 0/1 Completed 0 18m
kube-system svclb-traefik-s8scj 2/2 Running 0 4m44s
kube-system traefik-5dd496474-sd82v 1/1 Running 0 4m44s
root@pinephone:~# kubectl get nodes
NAME STATUS ROLES AGE VERSION
pinephone.minwi.lan Ready master 18m v1.19.3+k3s3
root@pinephone:~# uname -a
Linux pinephone.minwi.lan 5.9-sunxi64 #3 SMP PREEMPT Tue Nov 3 16:24:16 UTC 2020 aarch64 GNU/Linux
Quote:EDIT: After those two issues were fixed (https://gitlab.com/mobian1/devices/sunxi.../issues/14 & https://gitlab.com/mobian1/devices/sunxi.../issues/16) k3s works out of the box in Mobian without any tweak in the /etc/rancher/k3s/config.yaml file \o/
ipset nor vxlan are supported in the Mobian kernel, so I've ended up disabing networkpolicies and using host-gw for flannel configuration by creating a `/etc/rancher/k3s/config.yaml` file with the following content:
disable-network-policy: true
flannel-backend: "host-gw"
Then, restart the k3s service to pick up the changes:
sudo systemctl restart k3s