Get https://127.0.0.1:4001/health: x509: certificate has expired or is not yet valid

6/10/2020

When I check the status of etcd-0, its showing that the status is unhealthy.

[devops@devops kubernetes]$ kubectl get cs
NAME                 STATUS      MESSAGE   ERROR                                                                         
controller-manager   Healthy     ok
scheduler            Healthy     ok
etcd-0               Unhealthy   Get https://127.0.0.1:4001/health: x509: certificate has expired or is not yet valid
etcd-1               Unhealthy   Get https://127.0.0.1:4002/health: x509: certificate has expired or is not yet valid

Any idea, how to fix this,

Thanks,

-- user13722611
amazon-ec2
amazon-web-services
kubernetes

0 Answers