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
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 32 23,342 03-21-2024, 04:27 PM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 280 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,157 12-20-2023, 07:20 AM
Last Post: nickolas
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 22,940 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 1,711 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 99,939 11-17-2023, 08:37 AM
Last Post: Uturn
  Using Signal on PinePhone in mid-2023? dante404 45 11,759 11-17-2023, 04:23 AM
Last Post: Kevin Kofler
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 815 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 1,838 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,113 10-18-2023, 08:37 AM
Last Post: luppivega

Forum Jump:


Users browsing this thread: 1 Guest(s)