Posts for: #Devops

HyperV VM Backup Workflow: Automated Disaster Recovery to AWS S3

Recently, I ran into challenges backing up my MicroK8S cluster hosted on HyperV (essentially, my desktop workstation). While searching for backup tools for Windows, I found that most consumer-grade solutions—including Ashampoo Backup—are lacking, particularly for robust S3 support.

Read More

OpenVPN Config Generator: Simplify Your VPN Setup with Static IPs and Automated Key Management

Configuring OpenVPN can often be a tedious task, especially when managing multiple clients with varying network settings. The OpenVPN Config Generator project offers a streamlined solution that automates key generation, static IP assignments, and configuration management to create your own private VPN LAN effortlessly.

Simple configuration generator for OpenVPN which supports static IPs, udp/tcp

GitHub Project

About project

This config generator is type of a tool I was always looking for. Actually you do not have to type some command to generate every simple config and you have all clients configurations in one config file - YAML. Every time you run a config generator it looks to YAML for a new config entries and generates only them. It automatically generates all certificates, not just client, but also CA authority, server keys, etc.

Read More

SOPS Git Hooks for Kubernetes Secrets Management

I decided to build a Git-based tool to manage Kubernetes secrets more efficiently. The whole idea was to automatically encrypt password and value fields in my Kubernetes YAML and Helm files before committing them into Git, and decrypt them effortlessly when checking out.

Read More

Setting Up Custom SSL Authority for HTTPS on Nexus Sonatype

Configuring Nexus Sonatype to serve HTTPS traffic using a custom SSL certificate involves replacing the default Jetty configuration and keystore with your own. This allows you to use a certificate signed by your internal Certificate Authority (CA), improving security and trust within your network environment.

Read More

Configuring Sonatype Nexus as a DockerHub Proxy for MicroK8s: Safeguard Your Container Workflow

In the rapidly shifting landscape of container images, relying solely on DockerHub for your Kubernetes workflows exposes you to supply chain interruptions and image unavailability. Notably, the unpublishing of Bitnami images by Broadcom left many DevOps teams scrambling for alternatives and showcased the risks of relying on external registries. This guide walks you through configuring Sonatype Nexus as a DockerHub proxy for MicroK8s, ensuring your critical images remain available and under your own control.

Read More

Troubleshooting Random Vim Help Pop-ups Caused by Nosleep Utilities

When using Vim inside a terminal emulator like PuTTY, users sometimes encounter the issue where the Vim help window randomly opens without user input. This problem is commonly caused by utilities designed to prevent the computer from sleeping or going idle—often called nosleep applications. These utilities send keystrokes such as Scroll Lock or Shift at intervals, which PuTTY configured with the terminal type “xterm” interprets incorrectly as the F1 key. Since F1 triggers the Vim help, the help window appears unexpectedly.

Read More

Running Raspberry Pi OS on QEMU x64: Emulating a Pi on Your Ubuntu PC

Running Raspberry Pi OS inside QEMU is a convenient way to test configurations or perform lightweight development without real hardware. However, the process can appear stalled during boot, especially when emulating ARM on x86_64. Here’s a step-by-step guide based on what worked for me when running Raspberry Pi OS under QEMU on an Ubuntu 24 system inside Hyper-V.

Read More

Installing RJ45 Wall Sockets into a Kopos 110 mm Cable Duct

When you want to integrate data outlets neatly into a trunking system, the combination of Kopos ducts and ABB Zoni components offers a professional and visually clean solution. This guide explains how to mount an RJ45 outlet into a 110 mm Kopos cable duct using specific parts from K&V Elektro and provides practical installation tips.

Read More

Monitoring and Automatic Restart of Services with systemd: Liveness and Readiness Probes

Maintaining the reliability of critical services often requires continuous monitoring of their health and automatic recovery in case of failures. While Kubernetes offers built-in liveness and readiness probes for containerized applications, Linux system administrators can implement similar health checks and automated restarts for services managed by systemd. This article explores practical ways to perform health monitoring using systemd, focusing on DNS availability checks as an example, and how to configure systemd to automatically restart services that become unhealthy.

Read More