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

Unregistration from Redhat Satellite or Spacewalk Server

Ideally use 1 # subscription-manager unregister Otherwise: 1 # rm /etc/sysconfig/rhn/systemid should do the trick.

2018-06-05 · 1 min · uppal

CGRateS Tutorial Series: Installation - Mongo DB Server Install - Debian 8 - Part 1

Below are the steps to prepare a stand alone mongodb server for cgrates on Debian 8 jessie Install sudo 1 # apt-get install sudo Import key 1 # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 Add repository URL 1 # echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list Update and Install 1 2 3 # apt-get update # apt-get install -y mongodb-org Enable and Start ...

2017-11-02 · 1 min · Junaid Saeed Uppal

Poor Man's GSM BTS :: Nuand's BladeRF & OpenBTS 5 Setup Instructions

!!!! THIS IS FOR EDUCATIONAL PURPOSES ONLY !!!! These instructions are for setting up and running OpenBTS with Nuand’s BladeRF x40 Board. These are a work in progress and should be taken as is. This was possible with the help of @mambrus on #bladerf and @rwr on #bladerf, and is a collection of different how-tos linked at the end of the post. OS Used: Ubuntu 12.04 LTS Server 32 bit, The ISO can be downloaded from here ...

2015-01-16 · 5 min · Junaid Saeed Uppal

2014 In Review

Unlike last year, I am not particularly enthusiastic about 2015. Part of this has to do with the way things are at the moment. If I were, I would have a hard time cheering people up. Professionally, Telecom business is not expanding finally and is more focused on consolidating and cost reductions, with unexpected twists and turns that one has to navigate through. I left my job in 2014 partly due to the extreme stress, which was driving me nuts and was hurting me both physically and mentally, and partly because I wanted to give starting and running my own shop a try. ...

2015-01-01 · 2 min · Junaid Saeed Uppal

What’s the point of having Business / Sky Priority?

Writing this post while sitting at Jinnah International Karachi. Had an awful time checking in for my flight as the sky priority line was completely taken up by economy passengers who wouldn’t budge, which got me to thinking about the benefits of the airlines loyalty / frequent flyer program. I am an elite on Al Fursan, platinum on Emirates and Gold on Gulf, but rarely have I seen any grades or actual benefits coming my way. ...

2014-10-07 · 1 min · uppal

Mistakes of the Programmers of Current and Previous Generation!

A good video by Joe Armstrong, the inventor of Erlang! Link below The mess we are in!

2014-10-07 · 1 min · Junaid Saeed Uppal

New York Times: Better Ways To Learn!

NY Times: Better ways to learn!

2014-10-07 · 1 min · Junaid Saeed Uppal