kubectl.nvim is a Neovim plugin that lets you browse and manage Kubernetes clusters directly from your editor — without leaving your coding environment. This guide covers a complete setup from scratch on Ubuntu 24, including Neovim, lazy.nvim as the plugin manager, and kubectl.nvim itself with true color support.
Posts for: #Devops
Git-Crypt: Secure Secrets in Git Repos
Git-crypt provides transparent encryption for sensitive files within Git repositories, allowing teams to store secrets like API keys alongside public code without exposing them.
Resetting asciinema with Scroll Stacking
Your asciinema recording looks broken: newlines don’t work, old text gets overwritten, or the screen fills with garbage. This simple tutorial shows how to reset the terminal screen mid-recording using scroll stacking. Fix messy casts without starting over - just edit the file!
LVM2 Setup Tutorial for Ubuntu on Raspberry Pi
This tutorial details enabling LVM2 on Ubuntu for Raspberry Pi. Ubuntu kernels for Raspberry Pi include LVM2 drivers natively, so no kernel recompilation or creation of initrd initramfs needed.
Disabling Auto Leveling on Creality Ender 3 S1 Pro with PrusaSlicer and OctoPrint
This tutorial provides step-by-step instructions to disable auto bed leveling (G29 commands) on the Creality Ender 3 S1 Pro when using PrusaSlicer with OctoPrint integration. Newer versions of PrusaSlicer automatically insert G29 commands into the start G-code for printers with bed leveling capabilities, which can cause unwanted auto leveling cycles during prints. By switching to Expert mode and editing the Custom G-code in printer settings, you can remove these commands entirely while maintaining compatibility with OctoPrint for seamless print uploads and monitoring.
How to Forward MySQL Port 3306 from Ubuntu Host to LXD/LXC Container
Learn step-by-step how to expose your MySQL server running inside an LXD/LXC container on Ubuntu by creating a dedicated profile with a proxy device. This setup forwards traffic from the host’s port 3306 to the container’s MySQL instance, making it accessible externally without direct network bridging. Ideal for secure, isolated database hosting on any Ubuntu system.
Running OctoPrint in Docker on Raspberry Pi with auto‑start via udev
Use Docker and Docker Compose on Raspberry Pi to run OctoPrint in a container and automatically start it when your Creality Ender 3 Pro USB serial adapter appears.
5V UPS Solutions for Raspberry Pi in 2025: Beyond UPS HATs to Power Stations
As Raspberry Pi projects grow more complex and critical, reliable backup power solutions are essential. While UPS HATs have been popular for seamless power backup, their limited capacity often falls short for demanding or long-duration setups. In 2025, new trends favor compact power stations, 12V mini-UPS systems, and advanced DIY battery solutions — providing longer runtimes, better efficiency, and enhanced monitoring for your Raspberry Pi ecosystem.
5V UPS Solutions for Raspberry Pi: New Trends and Recommendations in 2025
AD Converter PCF8591 for Raspberry Pi
Have you ever wondered how to measure battery voltage with a Raspberry Pi? The PCF8591 ADC (Analog-to-Digital Converter) module, which can be purchased for as little as 2 USD, provides a simple solution for measuring analog voltages via I2C on your Raspberry Pi. This tutorial explains how it works, how to deal with higher voltages like those from a lead-acid battery, and how to calibrate the setup to get accurate readings.
Enabling Low-Range NodePorts Below 1024 in MicroK8s for Traefik Ingress
Discover how to configure MicroK8s to use NodePorts below 1024, a key step for setting up efficient ingress controllers like Traefik. This guide simplifies the process, ensuring a seamless integration of lower NodePorts in your Kubernetes environment.