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
  openSUSE for Pinephone Alefnode 52 16,117 01-13-2021, 08:59 PM
Last Post: andresbs
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 6 1,174 01-11-2021, 12:12 PM
Last Post: JayByrd
  Fedora + Phosh for PinePhone njha 47 20,056 01-11-2021, 11:48 AM
Last Post: Alho
  Windows 95 on the PinePhone? Peter Gamma 4 492 01-07-2021, 06:13 AM
Last Post: KC9UDX
  Latest firmware for PinePhone modem! Subsentient 49 17,931 01-03-2021, 07:03 PM
Last Post: dcinoz
  Easiest way to use Android applications on Pinephone esud 2 466 12-24-2020, 12:43 AM
Last Post: ryo
  Android and Google Play Store on a PinePhone? Solra Bizna 19 12,050 12-18-2020, 01:24 PM
Last Post: garrettt033
  5G and Tethering on PinePhone? gourou76 9 757 12-17-2020, 10:26 PM
Last Post: evilbunny
  theoretical battery life on Pinephone hiimtye 6 1,018 12-12-2020, 01:48 AM
Last Post: jmorris
  Scaling Issues With Various Programs on Pinephone publiclewdness 3 531 11-22-2020, 07:29 PM
Last Post: publiclewdness

Forum Jump:


Users browsing this thread: 1 Guest(s)