sometimes when i tried to communicate with the cluster by using kubectl then i got a error that said “Unable to connect to the server: tls: failed to verify certificate: x509: certificate has expired or is not yet valid” , but when i wait for a couple of min. then i works fine.
- how to avoid these kind of error and
- how does the time is related to tls certification error ()