Kubectl申请返回证书已过期或尚未生效

我使用docker和kubernetes进行部署。 当我尝试通过运行kubectl部署project.yaml文件应用-f project.yaml我得到一个错误Unable to connect to the server: x509: certificate has expired or is not yet valid 。 我发现在这里https://github.com/kubernetes/kubernetes/wiki/Debugging-FAQ这是时钟问题,但我不知道如何同步本地时钟与服务器之一。 我试着手动设置本地时钟到英国时间(服务器在哪里),但它没有工作。