Update k3s Certificates
This happens every year around May 6th. The connection to the k3s service goes down and Kubectl command won't work. Here is how to fix it:
Make sure that Openstack authentication environment is enabled.
Check if the certificates are one year old in the following folder, also check the status of k3s service if it contains logs like: "x509: certificate has expired or is not yet valid".
For more information, check this issue on k3s repo: https://github.com/k3s-io/k3s/issues/5163
Delete the dynamic certificate and restart k3s (choose EXPECA user and password)
Copy and paste the new kubeconfig generated by k3s for kubectl and zun.
Test that kubectl is back
Reset k3s secrets on kubectl and restart again by running
Now copy the new k3s kubeconfig to zun and blazar config folders and restart them
NOTE: if there are dangling zun containers left on the workers delete them. First check
Last updated