I need to know how to properly clean-up after uninstalling HA k3s so I don’t get this error: x509: certificate signed by unknown authority
Steps to reproduce:
Clear the DB
drop table kine;
Reinstall the first master node.
Try to check status:
$ sudo k3s kubectl get nodes
Unable to connect to the server: x509: certificate signed by unknown authority
I did not set a tls-san, is that required? Should it equal one of the master host names, or can it be arbitrary, like master-lan. I wasn’t sure how to use it.
Here is how I ran in the install:
curl -sfL [get k3s link] | sh -s - server --datastore-endpoint="mysql://k3s-admin:""redacted""@tcp(k3s-db-server:3306)/k3sdb" export NODE_TOKEN=REDACTED::node::REDACTED curl -sfL [get k3s link] agent | INSTALL_K3S_EXEC="agent --server https://192.168.1.10:6443 --token $NODE_TOKEN" sh -
What am I missing?