TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

My First Kubernetes: k3s 'cluster' on 3 Orange Pi Zero 3's

56 pointsby jandeboevrie11 months ago

10 comments

alias_neo11 months ago
I did something similar a few years back and wrote a blog series about it[0].<p>Ultimately, I ripped it apart and stuck to using my x86 servers and now run Talos Linux[1] which is currently my favourite way to do Kubernetes on bare metal.<p>With Pi4, the cluster services just used too much of the available compute and though it was a fun project, want practical for my home lab.<p>Now the Pi5 is available (and I have some), I might look at adding them to my existing clusters for some mixed-architecture fun.<p>[0]<a href="https:&#x2F;&#x2F;2byt.es&#x2F;post&#x2F;bantamcloud&#x2F;01-build&#x2F;" rel="nofollow">https:&#x2F;&#x2F;2byt.es&#x2F;post&#x2F;bantamcloud&#x2F;01-build&#x2F;</a> [1] <a href="https:&#x2F;&#x2F;www.talos.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.talos.dev&#x2F;</a>
评论 #40819160 未加载
birdiesanders11 months ago
The k8s hater squad loves to neglect the fact that k8s can be, just like Linux, fun. The complexity is endearing in a special way. Kubernetes is Linux underneath, and learning how that manifests is a lovely journey to go on.
评论 #40819156 未加载
udev409611 months ago
k3s is a perfect choice for a home lab. The setup is extremely simple and it removes a lot of bloat ware that comes with k8s (for instance, different storage plugins for cloud providers)
评论 #40818526 未加载
hi_hi11 months ago
What is the trait in certain people (most here I would guess) that makes these kinds of projects....fun. No, not fun, thats not the right word. Necessary? Appealing? Rewarding?<p>I went through my own journey to get an understanding with k8s, in a homelab setting. It started with MicroK8s on a VM running on a 2011 macbook pro I had lying around. That was painful, but I eventually had something useful running, until it weirdly self combusted one day and weeks of hard work resulted in ssh failing to connect because the K8s instance seemed to have deleted itself from the VM. I think it was trying to tell me something.<p>I decided to persist, but this time with k3s, and no VM on an outdated Mac. Instead I went with an outdated HP Thinclient. A bargain on ebay, with extra RAM. That worked much better. Now I have a bunch of great self hosted software for home media, development servers, git repos, docker servers, CI&#x2F;CD pipelines. With storage managed by a NAS. All managed via simple helm charts. It&#x27;s really useful. I discovered Tailscale along the way, that opened up a whole new world of self hosting abilities.<p>I get the nerd sniping, I&#x27;ve seen k8s abused in work situations too, but underneath it, people just wanted to learn.<p>I had a similar situation recently trying to bake shokupan for the first time. There was a new bread maker. It made perfect rising normal bread. But trying the Shokupan recipe produced a damp brick. A total failure. I persisted, read a ton of recipes and blogs, watched countless youtube videos. I was convinced it was an equipment or method issue. Eventually, 3 damp bricks later, I realised the yeast was out of date. This was the first thing people recommended to check, but I thought I knew better because &quot;it worked on my machine&quot; with the normal bread. Anyway, the 4th attempt with new yeast produced a perfect loaf. And I learnt a ton of other useful info for baking great bread along the way. The elation when it finally worked, and I had amazing fluffy home made bread, was a very similar sense of reward and accomplishment to finally getting some program or system to work.
globular-toast11 months ago
Is there much to be gained by using physical hardware like this as opposed to a bunch of VMs? I get that plugging in cables and flashing lights is fun and stuff, but let&#x27;s say you already have a homelab and are over that. Are there lessons about k8s you can only learn on &quot;real&quot; hardware and not VMs?<p>I thought about this a while back when there was a global shortage of Raspberry Pis. I&#x27;d see people with like 8 of them in a toy cluster and thought it was a shame because some people might have a real use for one but couldn&#x27;t get one.<p>You can use things like docker-machine or Vagrant to easily spin up a bunch of VMs for things like this. Also you can use Rancher to automatically provision a cluster for you (but I guess you won&#x27;t learn as much that way).
评论 #40819604 未加载
评论 #40819390 未加载
basemi11 months ago
For those interested with the storage details:<p>&gt; I run the Orange Pi Boards without a Micro SD Card, they boot up via PXE with an NFS root file system, so I cannot use overlayfs2. Therefore during installation I provide an extra parameter to use the native shapshotter. Also some etcd timeouts are raised.
ofrzeta11 months ago
It&#x27;s funny that so many people feel the need of running a virtualization technology like Kubernetes on bare metal. I did it myself with a Raspi cluster but in retrospect you are wasting a lot of time with little return while there are great solutions like microk8s or kind available that can be set up in minutes. Anyway, have fun, if you think it&#x27;s worth it :)
评论 #40819215 未加载
评论 #40819584 未加载
hardwaresofton11 months ago
Does anyone know of whether k8s is making inroads in &quot;edge&quot;&#x2F;low resource compute environments? It <i>seems</i> like despite the work of companies like k3s people still think of k8s as too &quot;heavy weight&quot; for the &quot;edge&quot;.
评论 #40843956 未加载
评论 #40819233 未加载
rcarmo11 months ago
I think this is a sort of rite of passage. I just realized that <a href="https:&#x2F;&#x2F;github.com&#x2F;rcarmo&#x2F;raspi-cluster">https:&#x2F;&#x2F;github.com&#x2F;rcarmo&#x2F;raspi-cluster</a> is TEN YEARS OLD now…
评论 #40819124 未加载
shakiXBT11 months ago
I&#x27;ve been using k3s in prod for over 3 years now.<p>Both single-node (yeah, sue me) and multi-node have been working great, required minimal maintenance and have a super straight forward install procedure
评论 #40821513 未加载