misterbngo

joined 1 year ago
[–] misterbngo@awful.systems 7 points 3 weeks ago (1 children)

I assume ppl still run bzflag servers

[–] misterbngo@awful.systems 3 points 1 month ago* (last edited 1 month ago)

The way I've been using it for a few years is that most of my machines can see each other and I have a shared folder and versioning setup. As I add things they move between the different machines and once an additional machine has it it is available to the others until everything is in sync

You can definitely do chain topologies which are useful for certain things with a single source of truth

[–] misterbngo@awful.systems 6 points 1 month ago (2 children)

As a note, I believe that syncthing will actually scale up with more nodes as they will all share with each other if they know each other. If you're doing this 1 to many then this is not the case of course.

[–] misterbngo@awful.systems 19 points 2 months ago* (last edited 2 months ago) (1 children)

Ive actually been personally moving away from kubernetes for this kind of deployment and I am a big fan of using ansible to deploy containers using podman systemd units, you have a series of systemd .container files like the one below

[Unit]
Description=Loki

[Container]
Image=docker.io/grafana/loki:3.4.1

# Use volume and network defined below
Volume=/mnt/loki-config:/mnt/config
Volume=loki-tmp:/tmp/loki
PublishPort=3100:3100
AutoUpdate=registry

[Service]
Restart=always
TimeoutStartSec=900

[Install]
# Start by default on boot
WantedBy=multi-user.target default.target

You use ansible to write these into your /etc/containers/systemd/ folder. Example the file above gets written as /etc/containers/systemd/loki.container.

Your ansible script will then call systemctl daemon-reload and then you can systemctl start loki to finish the example

[–] misterbngo@awful.systems 10 points 11 months ago* (last edited 11 months ago) (2 children)

I think the gap you have is in understanding that Podman Compose was meant to line up with the limitations of docker's compose, but technically is more capable.

Quadlet files let you do more complex workflows like deploying multiple copies of a service in your deployment that regular compose doesn't, while not running full kube.

The use I have is that I have something deployed in compose right now that I'd like to scale up on the box since i have the capacity for it, but dont want to deal with a full kube setup or the politic

Personally I've converted most of my single node k3s to using quadlet files instead as its less fragile. I absolutely deploy single containers in the quadlet. They show up in journalctl and the ergonomics are great.

[–] misterbngo@awful.systems 4 points 1 year ago

Ah good to know, shame it's been left by the wayside a bit. Was super useful in the early days

[–] misterbngo@awful.systems 8 points 1 year ago (2 children)

Seems similar to the work done by https://sub.rehab