Setting Up HAProxy Load Balancer for Kubernetes and Talos API

When running a highly available Kubernetes cluster with multiple control plane nodes, you need a load balancer to distribute API traffic across all control plane endpoints. This guide walks through setting up HAProxy 3.2 on Debian to load balance both the Kubernetes API (port 6443) and Talos API (port 50000). Architecture Overview Component Address Port Purpose HAProxy LB 192.168.66.160 6443 Kubernetes API HAProxy LB 192.168.66.160 50000 Talos API HAProxy LB 192.168.66.160 9600 Stats Dashboard Control Plane 1 192.168.66.161 6443/50000 talos-lon-cp01 Control Plane 2 192.168.66.162 6443/50000 talos-lon-cp02 Control Plane 3 192.168.66.163 6443/50000 talos-lon-cp03 Prerequisites Debian Trixie (or compatible) server for the load balancer Network connectivity to all control plane nodes Root or sudo access on the load balancer server Install HAProxy 3.2 HAProxy 3.2 is available from the official HAProxy Debian repository. First, add the repository signing key and apt source: ...

2025-12-15 · 5 min · Junaid Saeed Uppal

Building a Talos Kubernetes Cluster with KubeSpan and Tailscale

This guide walks through setting up a highly available Talos Linux Kubernetes cluster with 3 control plane nodes and 2 workers, featuring KubeSpan for encrypted node-to-node communication and Tailscale integration for secure remote access. Cluster Overview Node Hostname IP Address Control Plane 1 talos-cp01 172.16.18.231 Control Plane 2 talos-cp02 172.16.18.232 Control Plane 3 talos-cp03 172.16.18.233 Worker 1 talos-worker01 172.16.18.241 Worker 2 talos-worker02 172.16.18.242 VIP Endpoint - 172.16.18.222 Prerequisites Talos Linux installed on all nodes (using nocloud image) talosctl CLI installed on your workstation Tailscale account with an auth key Network connectivity to all nodes Environment Setup Set up the environment variables for your cluster: ...

2025-12-12 · 5 min · Junaid Saeed Uppal

Setting Up a Talos Kubernetes Cluster on Proxmox Using OpenTofu

Introduction Talos Linux is a modern, minimal, and secure operating system designed specifically for running Kubernetes. Unlike traditional Linux distributions, Talos is immutable, API-driven, and removes SSH access entirely—making it ideal for production Kubernetes clusters. In this article, I’ll walk through how to provision a complete Talos Kubernetes cluster on Proxmox using OpenTofu (an open-source Terraform alternative). This approach leverages infrastructure as code to create reproducible, version-controlled cluster deployments. Architecture Overview Our cluster will consist of: ...

2025-12-10 · 13 min · Junaid Saeed Uppal