Setting Up Lxd Lxc and K3s With a Basic Nginx Test Service

This guide details how to set up a lightweight Kubernetes (K3s) cluster using LXD and LXC containers on an Ubuntu 24.04 server, followed by deploying a basic NGINX test service with NGINX Ingress. These steps were tested on an Oracle Cloud Free Tier instance named maata-paarvati with 4 CPUs and 24 GB RAM. Prerequisites An Ubuntu 24.04 server (e.g., Oracle Cloud Free Tier instance). Root or sudo access. Network configured to allow TCP ports 80, 443, and 6443. 1. Install LXD Install LXD via Snap: ...

April 21, 2025 · 5 min · Shashank Rawlani

LXC vs. LXD: Understanding the Differences and Choosing the Right Tool

LXC vs. LXD: Understanding the Differences and Choosing the Right Tool Introduction Linux containers have revolutionized how we deploy and manage applications, offering a lightweight alternative to virtual machines. But with tools like LXC (Linux Containers) and LXD (Linux Container Daemon), choosing the right one can be confusing. Did you know that while both are based on Linux kernel features, LXD builds on LXC for a more user-friendly experience? In this post, we’ll explore what LXC and LXD are, how they differ, and when to use each. By the end, you’ll have a clear understanding to make an informed decision for your projects. ...

April 10, 2025 · 2 min · Shashank Rawlani

Yourls K8s Installation Guide

Installing YOURLS on Kubernetes This guide walks through the process of deploying YOURLS (Your Own URL Shortener) on a Kubernetes cluster using Helm. Prerequisites A working Kubernetes cluster Helm installed on your machine Basic knowledge of Kubernetes concepts A domain name pointed to your cluster’s ingress controller (we’ll use go.example.com in this guide) Installation Steps 1. Create a Namespace for YOURLS First, create a dedicated namespace for YOURLS: kubectl create namespace yourls 2. Configure Values for YOURLS Create a values.yaml file with the following configuration: ...

April 5, 2025 · 3 min · Shashank Rawlani