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
  Office applications for the Pinephone Peter Gamma 2 514 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 34,805 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 965 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 5,210 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 629 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 436 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 22,146 05-03-2024, 02:19 AM
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 32,397 04-23-2024, 10:29 AM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 1,186 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 6,467 12-20-2023, 07:20 AM
Last Post: nickolas

Forum Jump:


Users browsing this thread: 1 Guest(s)