kubernetes (k3s) on the pinephone
#1
Just for fun! Smile

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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  baremetal via Zig on PinePhone - JumpDrive help please WhiteHexagon 1 234 07-07-2025, 10:33 AM
Last Post: WhiteHexagon
  Movuan distribution for PinePhone merom 4 1,017 04-07-2025, 12:32 AM
Last Post: tllim
  Latest firmware for PinePhone modem! Subsentient 105 175,188 02-02-2025, 08:47 PM
Last Post: bacydentir85
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 43,284 12-28-2024, 12:19 AM
Last Post: mara
  Office applications for the Pinephone Peter Gamma 2 1,450 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 47,140 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 2,461 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 9,604 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 1,143 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 1,072 06-13-2024, 03:45 PM
Last Post: PineFone

Forum Jump:


Users browsing this thread: 1 Guest(s)