Skip to content
ADHDecode
  1. Home
  2. Articles
  3. K3S

K3S Articles

50 articles

K3s Nginx Ingress: Replace Traefik with Nginx

K3s is a lightweight, certified Kubernetes distribution designed for edge computing, IoT, and CI/CD. When you install K3s, it typically comes with Traef.

3 min read

K3s Production Install: Harden and Deploy Securely

K3s is designed to be lightweight, but "lightweight" doesn't mean "insecure. " Here's how to take a fresh K3s install and make it production-ready, focu.

4 min read

K3s Remote Access: Configure kubeconfig for kubectl

K3s is a lightweight Kubernetes distribution that's easy to install and manage, but accessing it remotely with kubectl can be a bit tricky if you're not.

4 min read

K3s ServiceLB: Expose Services Without Cloud Load Balancer

K3s's ServiceLB is a clever way to get your services accessible from outside the cluster without needing a full-blown cloud load balancer.

3 min read

K3s + Longhorn: Distributed Block Storage for K3s

Longhorn's magic is that it makes your Kubernetes nodes act like a giant, resilient hard drive, even if those nodes are scattered across different machi.

3 min read

K3s MetalLB: Load Balancer for Bare-Metal Clusters

MetalLB is the de facto standard for providing load balancing services to bare-metal Kubernetes clusters, and K3s is a popular choice for running Kubern.

3 min read

K3s Multi-Master: Build a Highly Available Control Plane

K3s's multi-master setup isn't about redundant Kubernetes API servers; it's about distributing the state of the cluster across multiple etcd instances.

3 min read

K3s Network Policies: Restrict Pod-to-Pod Traffic

K3s Network Policies let you define granular firewall rules for your Kubernetes pods, but most people think they're just for blocking traffic, when they.

4 min read

K3s Node Labels and Taints: Control Pod Scheduling

K3s nodes are just machines waiting for work, and "labels" and "taints" are how you tell K3s which machines are right for which jobs.

3 min read

Fix K3s Node Not Joining the Cluster

Fix K3s Node Not Joining the Cluster — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

3 min read

K3s Performance Tuning: Optimize for Edge Workloads

K3s Performance Tuning: Optimize for Edge Workloads — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

2 min read

K3s Local Path Storage: Provision PVCs Automatically

K3s can automatically provision PersistentVolumeClaims PVCs for local storage, but it doesn't create the underlying host directories for you.

3 min read

K3s Private Registry: Pull Images from Internal Repos

K3s can't pull images from a private registry by default because it doesn't have any credentials to authenticate with it.

2 min read

K3s Prometheus: Monitor Your Lightweight Cluster

K3s, designed for simplicity and resource efficiency, can still benefit immensely from robust monitoring, and Prometheus is the de facto standard for th.

2 min read

K3s Resource Usage: How Little CPU and Memory It Needs

K3s Resource Usage: How Little CPU and Memory It Needs — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

2 min read

K3s Rootless Mode: Run Kubernetes Without Root Access

K3s in rootless mode is less about running Kubernetes without root, and more about running it as a non-privileged user, which is a fundamentally differe.

2 min read

K3s SELinux: Enable Mandatory Access Control on Nodes

SELinux is preventing K3s components from communicating with each other on your nodes. Here's why it's breaking and how to fix it:

4 min read

K3s Server Token: Rotate and Secure Join Credentials

K3s server tokens are short-lived secrets, and rotating them is a critical security practice to prevent unauthorized cluster access.

3 min read

K3s Single Node: Run All-in-One Kubernetes Cluster

K3s is designed to be a minimalist, single-binary Kubernetes distribution that's easy to install and run, especially for single-node setups.

3 min read

Fix K3s Slow Startup: Diagnose Initialization Delays

The K3s control plane components are failing to become healthy because the embedded etcd datastore is not starting up quickly enough, leading to timeout.

4 min read

K3s Storage Class: Set Default StorageClass for PVCs

K3s's default StorageClass behavior is surprisingly opinionated, often leading to confusion for newcomers expecting a more hands-off approach.

2 min read

K3s TLS: Add Custom SANs to API Server Certificates

K3s doesn't just let you add custom Subject Alternative Names SANs to its API server certificates; it actively tries to prevent you from doing it cleanl.

3 min read

K3s Traefik: Disable or Replace the Default Ingress

K3s Traefik: Disable or Replace the Default Ingress The K3s Traefik Ingress controller is failing to start because it's trying to bind to a port that's .

4 min read

K3s Uninstall: Completely Remove K3s from a Node

K3s uninstall is surprisingly complicated because the installer tries to be helpful by keeping things around, which can lead to lingering files and serv.

3 min read

K3s Upgrade: Automate Node Upgrades Safely

K3s upgrades, especially on production clusters, can feel like threading a needle in a hurricane. You're not just updating software; you're orchestratin.

3 min read

K3s vs Kubernetes: What's Different and What's Not

K3s vs Kubernetes: What's Different and What's Not — K3s is Kubernetes, but it's also not. Let's see K3s in action. Imagine you're setting up a small clu.

2 min read

K3s Auto-Deploy Addons with Manifest Directory

K3s Auto-Deploy Addons with Manifest Directory — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

3 min read

K3s Air-Gap Install: Deploy Without Internet Access

K3s Air-Gap Install: Deploy Without Internet Access — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

2 min read

K3s API Server: Configure Custom Flags and Options

K3s's API server can be configured with custom flags, but it's a bit of a hidden gem. Let's say you're running K3s and you want to enable some specific .

2 min read

K3s + ArgoCD: GitOps Deployments on Lightweight K8s

K3s, a stripped-down Kubernetes distribution, and Argo CD, a declarative GitOps continuous delivery tool, form a surprisingly powerful combination for m.

3 min read

K3s on Raspberry Pi: Run Kubernetes on ARM64

K3s on Raspberry Pi: Run Kubernetes on ARM64 — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

2 min read

K3s Calico CNI: Replace Flannel with Calico Networking

Calico is actually a network policy enforcer first and a CNI second, which fundamentally changes how you think about Kubernetes networking.

4 min read

K3s Cert-Manager: Automate TLS Certificate Provisioning

Cert-Manager in K3s isn't just about getting TLS certificates; it fundamentally changes how your cluster handles identity and trust for all its internal.

2 min read

K3s Cilium CNI: eBPF-Powered Networking on K3s

Cilium's eBPF-powered networking on K3s is so efficient because it bypasses the kernel's traditional networking stack, executing networking logic direct.

3 min read

K3s Cloud-Init: Automate Node Provisioning at Boot

K3s cloud-init is surprisingly powerful because it lets you bootstrap entirely new nodes into your K3s cluster before they even know they're supposed to.

3 min read

K3s Cluster Token: Secure Node Join Authentication

K3s uses tokens to authenticate nodes joining the cluster, but there's a surprisingly simple way to make them much more secure than just a random string.

2 min read

K3s Agent Nodes: Join Workers to Your Cluster

K3s worker nodes can join your cluster through a surprisingly simple mechanism that relies on a pre-shared secret and a persistent connection.

3 min read

K3s Cluster Reset: Wipe and Restart from Scratch

Resetting a K3s cluster from scratch is surprisingly straightforward, but the one thing most people miss is that K3s doesn't actually delete its state f.

2 min read

K3s Container Runtime: Configure containerd Options

containerd, the runtime K3s uses, is surprisingly flexible, and you can tweak its behavior without rebuilding K3s itself.

7 min read

K3s containerd: Customize Container Runtime Settings

K3s lets you customize containerd's settings, but it doesn't use the standard config. toml file you'd find in a standalone containerd installation

2 min read

K3s Dashboard: Deploy Kubernetes UI on Lightweight K8s

K3s, the super-lightweight Kubernetes distribution, packs a surprising punch, and its built-in dashboard is a prime example of how much utility you can .

3 min read

K3s Debug: Read Logs and Diagnose Node Issues

K3s nodes are failing to join the cluster and kubectl get nodes shows them as NotReady. The k3s-agent process on the worker nodes is failing to establis.

3 min read

K3s eBPF: Enable Kernel-Level Networking Features

K3s's eBPF integration unlocks powerful kernel-level networking features, but it's surprisingly easy to misconfigure the underlying kernel modules.

2 min read

K3s Edge Deployment: Run Kubernetes on IoT Devices

K3s can run Kubernetes on devices with as little as 512MB RAM, making it ideal for edge computing. Imagine you've got a fleet of Raspberry Pis out in a .

3 min read

K3s etcd Backup: Automate Snapshots to S3

K3s's etcd, the distributed key-value store powering your cluster's state, can be backed up to S3 using a simple, built-in mechanism.

3 min read

K3s External DB: Use PostgreSQL Instead of Embedded etcd

K3s External DB: Use PostgreSQL Instead of Embedded etcd — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

3 min read

K3s Flannel Alternatives: Replace Default CNI Plugin

K3s Flannel Alternatives: Replace Default CNI Plugin — practical guide covering k3s setup, configuration, and troubleshooting with real-world examples.

2 min read

K3s + Rancher Fleet: Manage Multi-Cluster GitOps

K3s + Rancher Fleet: Manage Multi-Cluster GitOps. Fleet is Rancher's way of doing GitOps across multiple Kubernetes clusters. Let's see Fleet in action

3 min read

K3s HA Mode: High Availability with Embedded etcd

K3s in HA mode with embedded etcd is not a distributed database that magically synchronizes state; it's a single etcd cluster that must remain perfectly.

3 min read

K3s Helm Controller: Deploy Helm Charts Automatically

K3s's Helm Controller is a surprisingly powerful tool that lets you manage Helm chart deployments directly from Kubernetes manifests, bypassing the need.

2 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close