techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

Adding new node to the cluster #512

Closed luispla22 closed 5 months ago

luispla22 commented 5 months ago

Hi!! I'm trying to add a new node to the cluster. I've just done it manually, and when I do a sudo kubectl get nodes it is at the list.

My problem is... how could I do the LoadBalancer to know I've just introduced a new node? Because if I switch off the nodes in where I'm deploying any service, it does not use this new node (it does not include it in the balance)

luispla22 commented 5 months ago

https://www.maquinasvirtuales.eu/kubernetes-agregar-nodo-a-cluster-existente/?unapproved=118899&moderation-hash=a12540ba9e8999278789a00dde50fc3f#comment-118899

This is gold for solving it.