FAQ KubeOps LIMA

I want to delete the cluster master node and rejoin the cluster. When trying to rejoin the node a problem occurs and rejoining fails. What can be done?

To delete the cluster master, we need to set the cluster master to a different master machine first.

 

  1. On the admin machine: change the IP-Address from the current to new cluster master in:
    1. /var/lima/<name_of_cluster>/clusterStorage.yaml
    2. ~/.kube/config
  1. Delete the node
  2. Delete the images to prevent interference: ctr -n k8s.io i rm $(ctr -n k8s.io i ls -q)
  3. Change IP on new cluster master in /etc/kubernetes/admin.conf
  4. Change IPs in config maps:
    1. kubectl edit cm kubeadm-config -n kube-system
    2. kubectl edit cm kube-proxy -n kube-system
    3. kubectl edit cm kubeadm-config -n kube-system
    4. kubectl edit cm cluster-info -n kube-public
  1. Restart kubelet
  2. Rejoin the node

Any Questions?

Please feel free to contact us for any question that is not answered yet. 

We are looking forward to get in contact with you!

Newsletter

Design Escapes

KubeOps GmbH
Hinter Stöck 17
72406 Bisingen
Germany

  • Telefon:

    +49 7433 93724 00

  • Mail:

    This email address is being protected from spambots. You need JavaScript enabled to view it.

Download Area

Certified as


KubeOps GmbH is the owner of the Union trademark KubeOps with the registration number 018305184. 

© KubeOps GmbH. All rights reserved. Subsidiary of

KubeOps is certified as