this post was submitted on 02 Jul 2023
64 points (93.2% liked)

Selfhosted

40415 readers
500 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
 

I hope this post is not too off topic. I thought that it would be nice to see the address of all the small self-hosted instances of Lemmy (1~5 users).

you are viewing a single comment's thread
view the rest of the comments
[–] lemmy@endlesstalk.org 8 points 1 year ago* (last edited 1 year ago) (2 children)

My instance has 2 users. The domain name is endlesstalk.org

I host it on a k3s cluster with 2 nodes.

[–] tyfi@wirebase.org 3 points 1 year ago (2 children)

Is there a way to host with high availability? Or is that a kubernetes feature?

[–] kelvie@lemmy.ca 3 points 1 year ago (1 children)

K8s is just a huge abstraction over your clusters, the real question is if the software/containers support HA.

[–] tyfi@wirebase.org 1 points 1 year ago

I’ve been meaning to test it for a while now, but have just been running VMs/Docker. Will check it out.

[–] lemmy@endlesstalk.org 1 points 1 year ago (1 children)

You can definitely have high availibillity without kubernetes, but its easier(For me atleast) with kubernetes.

[–] tyfi@wirebase.org 1 points 1 year ago (1 children)

What HA options exist outside of k8s?

[–] lemmy@endlesstalk.org 1 points 1 year ago (1 children)

For container orchestration, which is mostly what k8s provides, then you could use docker swarm or nomad. You could use docker-compose with multiple replicas of the wanted container + a load balancer to divide the load.

In general I don't think k8s/k3s is needed for hosting lemmy yet, but since I have a setup for k3s, it is easier for me to use it.

[–] tyfi@wirebase.org 1 points 1 year ago

Nice, thanks for the info.

[–] blazarious@mylem.me 1 points 1 year ago (1 children)

how do you handle the sled state for pictrs with 2 nodes? I've been having some trouble with it.

[–] lemmy@endlesstalk.org 2 points 1 year ago (1 children)

I have only 1 container of pictrs running(with no scaling) and are using longhorn for storage, so if the pictrs container switches node, then longhorn handles it for me.

[–] blazarious@mylem.me 1 points 1 year ago (1 children)

I see, thanks. What volume(s) are you persisting that way exactly? I mean the internal path that pictrs is using.

[–] lemmy@endlesstalk.org 2 points 1 year ago (1 children)

The internal path, I'm persisting is /mnt, but I also use an older version of pictrs(0.3.1). Think the newer version uses a different path.

I also needed to add the following for the pictrs container to work correctly.

  securityContext:
    runAsUser: 991
    runAsGroup: 991
    fsGroup: 991
[–] blazarious@mylem.me 2 points 1 year ago