Back to All

Microk8s: Unable to connect to the server: x509: certificate has expired or is not yet valid

When trying to connect Kubernetes cluster I get this error: Unable to connect to the server: x509: certificate has expired or is not yet valid: current time 2024-04-02T11:50:40Z is after 2024-03-26T10:30:10Z. It seems that some cert has expired. What do I need to do?