Auto Renewing Etcd Certs
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
**What would you like to be added**:
Etcdadm generates a root CA that is valid for 10 years. In addition to the root CA, etcdadm generates the following certs for normal operation of etcd. These are created for external etcd stack, kubeadm handles stacked etcd certificates.
- Peer Client Certs
- Api Server Etcd Client Certs
- Etcdctl Client Certs
- Etcd Server Certs
All these four certs have an expiry of 1 year. If there is no upgrade operation on the cluster that involves rolling out all old machines with new OS/nodes, these certs are not renewed and are at risk of expiry. At expiration, etcd fails to operate and api-server will not serve any requests, followed by workload failures.
EKS-A should
- Build in certs renewal. This could be a new EKS-A cli command, or an automated way that could be set with cluster spec during create/upgrade.
- Provide documentation on how to renew certs manually.
- Provide documentation on how to renew certs that have already expired.
Contributor guide
Assessment
This issue has not been assessed yet.