0

When I run kubectl command getting error is certificate expired

How to debug minikube errors?

kubectl get pods

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

Paul
  • 15
  • 4

1 Answers1

1

It seems issue is related to an expired certificate

A Temporary workaround is to removes several files from the /var/lib/minikube/ directory, then reset the Kubernetes cluster and replace keys on the host. Refer to this gitlink which can be helpful to resolve your issue

If the issue is not yet resolved try running the command minikube delete and then delete the local Kubernetes cluster.

Srividya
  • 260
  • 1
  • 8