Urgent.News

What's breaking now, across thousands of outlets.

Tech

Uptime Kuma on Fedora with Podman Quadlet

Over the weekend, I decided to set up Uptime Kuma on my mini-server. I needed a quick way to monitor some important work services, and Uptime Kuma’s Slack notifications make it easy to get alerts directly in our channel whenever something goes down. While I was at it, I figured it was the perfect time to learn Podman Quadlet . I have recently learned as a neat way to manage containers using…

Over the weekend, the author set up Uptime Kuma on their mini-server for monitoring important work services. They found Uptime Kuma's Slack notifications to be a convenient way to receive alerts when something goes down. The author also wanted to learn Podman Quadlet, a method for managing containers using declarative files that automatically generate systemd services, ensuring the apps start at boot and stay running.

To begin, the author ensured Podman was installed and up-to-date on their Fedora machine using the command: sudo dnf update -y && sudo dnf install podman -y. They then created a directory structure called "infrastructure/uptime-kuma" to organize tools and mount a volume for the Uptime Kuma configuration, ensuring it persists even if the container restarts.

The author addressed SELinux permissions by changing the file type of the data folder to allow the container to write to it. They created a Kubernetes YAML file (uptime-kuma.yaml) to define the pod and container, specifying the container image, port mappings, environment variables, and volume mount points.

Next, the author created a Quadlet .kube file named uptime-kuma.kube in the ~/.config/containers/systemd directory to integrate Podman Quadlet with systemd. This file tells systemd to manage the Kubernetes YAML and enables the service to start automatically when the server boots up. The final step was to enable lingering, which ensures the Uptime Kuma instance stays running 24/7 even without an active SSH session.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Suspend, Background, Disown

I'm currently working on a hobby project, using crawlers to download media files for a dataset. Some of these are large files that also need preprocessing.

  • Press CTRL + Z to suspend a running process.
  • Resume suspended process in background with 'bg'.
  • Disown process using 'disown -h %1' for independence.

Using fstab instead of autofs for a samba share

A few weeks ago, I borrowed a Raspberry Pi 4B from a friend. Since it wasn't going to be used for a while, I decided to set up a network storage for our home network.

  • Author used Samba for network storage on Fedora Server 38
  • Initial autofs and crypttab configuration failed due to race condition
  • Fstab permanently mounted drive, solved Samba access issue

When Redis goes down, does your app die?

The Problem: The App Dies There was an incident that caused our application to fail because our Redis cache went down. It was in the middle of moving to a larger compute instance to handle a higher…

  • Redis cache failure significantly impacted application experience
  • Resilient Cache-Aside approach implemented to handle exceptions
  • Circuit Breaker pattern improved app performance and user experience

Robot-use agents

  • LLMs like Claude and Fable can direct robot actions.
  • Emerging models may soon master general-purpose robot use.
  • Cloud-based LLMs could transform robots into AI-enabled devices.

More from Sunday 27 September →