I have a kubernetes cluster with HypriotOS which I moved to another IP range.
I have updated the /etc/kubernetes/admin.conf in one of the nodes but when I rune kubeadm it fails the certificate:
$ kubeadm config view Get https://10.99.1.10:6443/api/v1/namespaces/kube-system/configmaps/kubeadm-config: x509: certificate is valid for 10.96.0.1, 192.168.88.251, not 10.99.1.10
How I can create a new certificate?
Is a better way of changing clusters IP addresses?