HA Kubernetes Cluster with External etcd Topology on a Local Machine

Опубликовано: 28 Май 2026
на канале: Tech & Maps: OSM, DevOps, 3D printing
71
9

Deploying an HA Kubernetes cluster with an external etcd topology on a local machine — https://blog.andygol.co.ua/en/2026/01...
Розгортання HA Kubernetes кластера з зовнішньою топологією etcd на локальній машині — https://blog.andygol.co.ua/uk/2026/01...

Steps for deploying a high-availability (HA) Kubernetes cluster with the etcd configuration database topology configured externally on a local machine running macOS. We will use Multipass to create virtual machines, cloud-init to initialize them, kubeadm to initialize the cluster, HAProxy as a load balancer for control plane nodes, Calico as a Container Network Interface (CNI), and MetalLB to balance traffic to worker nodes.

This guide is intended for both self-study and for taking the first steps in deploying an industrial-grade cluster.

Useful links:

Deploying a Kubernetes Cluster on a Local Machine: A Complete Step-by-Step Guide – https://blog.andygol.co.ua/en/2025/12...
Розгортання Kubernetes-кластера на локальному компʼютері: Повне покрокове керівництво — https://blog.andygol.co.ua/uk/2025/12...
Додавання статичної IP адреси віртуальним машинам Multipass на macOS — https://blog.andygol.co.ua/uk/2025/12...

Adding a static IP address to Multipass virtual machines on macOS — https://blog.andygol.co.ua/en/2025/12...

00:00 - Intro
00:40 - HA Kubernetes – what for?
00:57 - List of tools (Multipass)
01:24 - Cloud-init
02:02 - Kubeadm
02:28 - etcd
03:10 - HAProxy
03:25 - Calico
03:54 - Cluster topology
04:09 - Prerequisites
04:40 - Generating SSH keys
05:06 - Preparing cloud-init files
05:19 - cloud-init-user.yaml
05:41 - cloud-init-config.yaml
06:18 - cloud-init-base.yaml
08:01 - cloud-init-eycd.yaml
08:40 - Choosing a network topology
09:17 - Starting to create an etcd cluster
10:53 - Configuring the first etcd node
12:53 - Checking the etcd node for correct operation
13:09 - Deploying subsequent etcd nodes
13:40 - Command to join a node to the etcd cluster
14:50 - Copying certificates to a new etcd node
16:29 - Checking the etcd node connection
16:43 - Third etcd node
17:23 - Removing/replacing an etcd node in the cluster
18:10 - Preparing parameters for HAProxy + Keepalived
20:27 - Deploying HAProxy nodes
22:20 - Local control panel node balancer
23:03 - Creating the first HA K8s control panel node
23:59 - Copying certificates from etcd
24:26 - kubeadm-config.yaml
24:59 - Initializing the first control panel node
26:27 - Installing Calico CNI
28:00 - Deploying subsequent control panel nodes
29:53 - Deploying worker nodes
31:19 - Installing MetalLB
32:22 - Demo Deployment
33:13 - Outro
34:34 - PS: Kubernetes documentation in Ukrainian

#Kubernetes #HA #etcd #Tutorial #cloudcomputing #cluster