Skip to content

Commit 23e9f63

Browse files
authoredMar 1, 2024
Merge pull request #42 from FootprintAI/fix---41
hack: add renew certificate script
2 parents e630de5 + 7cae7d2 commit 23e9f63

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
 

‎hack/renew-certificates.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
### renew certificates inside cluster###
2+
3+
running on master node
4+
5+
```
6+
kubeadm certs renew all
7+
```
8+
9+
then restart kubelet running on the master node (or container if in kind env) with
10+
11+
```
12+
systemctm restart kubelet
13+
```
14+
15+
16+
run this command to verify cluster certificates
17+
18+
```
19+
20+
kubeadm certs check-expiration
21+
22+
CERTIFICATE EXPIRES RESIDUAL TIME CERTIFICATE AUTHORITY EXTERNALLY MANAGED
23+
admin.conf Mar 01, 2025 02:27 UTC 364d ca no
24+
apiserver Mar 01, 2025 02:27 UTC 364d ca no
25+
apiserver-etcd-client Mar 01, 2025 02:27 UTC 364d etcd-ca no
26+
apiserver-kubelet-client Mar 01, 2025 02:27 UTC 364d ca no
27+
controller-manager.conf Mar 01, 2025 02:27 UTC 364d ca no
28+
etcd-healthcheck-client Mar 01, 2025 02:27 UTC 364d etcd-ca no
29+
etcd-peer Mar 01, 2025 02:27 UTC 364d etcd-ca no
30+
etcd-server Mar 01, 2025 02:27 UTC 364d etcd-ca no
31+
front-proxy-client Mar 01, 2025 02:27 UTC 364d front-proxy-ca no
32+
scheduler.conf Mar 01, 2025 02:27 UTC 364d ca no
33+
34+
CERTIFICATE AUTHORITY EXPIRES RESIDUAL TIME EXTERNALLY MANAGED
35+
ca Feb 15, 2033 17:36 UTC 8y no
36+
etcd-ca Feb 15, 2033 17:36 UTC 8y no
37+
front-proxy-ca Feb 15, 2033 17:36 UTC 8y no
38+
```
39+
40+

0 commit comments

Comments
 (0)
Please sign in to comment.