this post was submitted on 13 Nov 2023
6 points (100.0% liked)

Self-Hosted Main

21 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hi all, I've been venturing for months in this amazing self-hosted hobby and for the last couple of days I'm reading and trying to understand kubernetes a bit more, I've followed this article :

https://theselfhostingblog.com/posts/setting-up-a-kubernetes-cluster-using-raspberry-pis-k3s-and-portainer/

that helps you set up the lightweight Kubernetes version (K3s) and use Portainer as your management dashboard, and it works flawlessly, as you guys can see I'm just using two nodes at the moment.

And I'm using "helm" to install packages and the site ArtifactHUB to get ready to use repository to add into portainer Helm section (still in beta) but works flawlessly, I've installed some packages and the apps works just as I expected, but there's seem to be a shortage of ready to use repository as it's the case with docker alone, like with Plex the only way I got plex running in K3s is with KubeSail with offers an unofficial apps section that includes plex and tons of other well known apps, but strangely enough there are labeled unofficial but still works perfect when installed, but portainer would label all apps installed from KubeSail as external.

Now I think I get the use of kubernetes, it's to have several nodes to use as recourses for your apps and also like a load balance if one node fails your services/apps can keep on running? (like raid for harddisks?)

All tough it was fun learning atleast the basic of Kubernetes with my two nodes, is it really necessary to go full blown out with only kubernetes? Or is Docker just fine for the majority of us homelad self hosted folks?

And is what I'm learning here the same in enterprise environments? Atleast the basics?

you are viewing a single comment's thread
view the rest of the comments
[–] borg286@alien.top 1 points 11 months ago

As an SRE I rarely touch customer-facing stuff, but from what I've seen of the devs they are often several layers removed from the public docs. Most are simply focused on their own cog. For this reason I am gravitating towards the projects they've open-sourced (k8s, grpc, bazel) and building from more of a clean slate. I'd much prefer open-source components that I can fit into a k8s cluster than rely have lock-in on some cloud service. They solve some nice things, but I'd like to run it locally if I want. For example I'd much prefer to have my pubsub stack rely on Redis Streams rather than GCP PubSub. Redis has such a small footprint, scales to 16k nodes and given how fast it is that is way more of a ceiling than I need. GCP's UI is nice, but at the end of the day I'm going to be editing some config file and letting my CICD pipeline roll it out than going to the GCP console and clicking some buttons. But that's just me.