this post was submitted on 26 Aug 2023
179 points (91.2% liked)

Selfhosted

40717 readers
402 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Many of the posts I read here are about Docker. Is anybody using Kubernetes to manage their self hosted stuff? For those who've tried it and went back to Docker, why?

I'm doing my 3rd rebuild of a K8s cluster after learning things that I've done wrong and wanted to start fresh, but when enhancing my Docker setup and deciding between K8s and Docker Swarm, I decided on K8s for the learning opportunities and how it could help me at work.

What's your story?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 1 year ago (3 children)

I run k3s and all my stuff runs in it no need to deal with docker anymore.

[–] [email protected] 4 points 1 year ago (3 children)

I'm not very familiar with kubernetes or k3s but I thought it was a way to manage docker containers. Is that not the case? I'm considering deploying a k3s cluster in my proxmox environment to test it out.

[–] [email protected] 5 points 1 year ago

You can use kubernetes on any OCI container deployment.

So if you don't want/need to install the docker program, you can go with containerd.

[–] [email protected] 4 points 1 year ago

Kubernetes is abbreviated K8s (because there's 8 letters between the "k" and the "s". K3s is a "lite" version. Generally speaking, kubernetes manages your containers. You basicaly tell K8s what the state should be and it does what it needs to do to get the environment as you've declared. It'll check and start or restart services, start containers on a node that can run them (like ensuring enough RAM is available). There's a lot more, but that's the general idea.

[–] [email protected] 1 points 1 year ago (1 children)

Could you list some of your "stuffs" that you run on your k3s? I'm curious.

[–] [email protected] 2 points 1 year ago (1 children)

Oh it is not that much, I run adguard DNS with adblocking, searxng as my search engine, vaultwarden as my password manager. All combined with Argo CD as GitOps engine, nginx ingress with cert-manager for lets encrypt certificates, longhorn as storage layer and metallb as loadbalancer solution. I am planning to completely replace my current setup (which is an old sandy bridge powered HP microserver) with a turing pi 2 clusterboard with 4 RPi4 CMs as soon as they get cheaper.

[–] [email protected] 1 points 1 year ago

Wow you're self-hosting a password manager! Don't you feel scared if something went wrong?

I'm also running Adguard as my DNS-level adblocker on my Pi 3. Feels way more content than Pihole.

[–] [email protected] 1 points 1 year ago

How did you write your templates? Did you use Kompose to translate from Docker compose files, or did you write them from scratch?