Skip to content

Commit

Permalink
Add detailed instruction for KubeletServerCertificateExpiration
Browse files Browse the repository at this point in the history
And the reference document uri
  • Loading branch information
LeoQuote authored Feb 13, 2024
1 parent f8061f3 commit 1a85720
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ Server certificate for Kubelet on node expires soon or already expired.

Check when certificate was issued and when it expires.

## Mitigation

Update certificates in the cluster control nodes and the worker nodes.
Refer to the documentation of the tool used to create cluster.
Check the pending csr with `kubectl get csr`

Another option is to delete node if it affects only one,
## Mitigation
If there's any csr regarding to the node, verify the csr manually, approve the csr with command `kubectl certificate approve <csr-id>`

In extreme situations recreate cluster.
Please notice that server certificate is not automatically approved for security reason, see [document](https://kubernetes.io/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/#certificate-rotation) for detail.

0 comments on commit 1a85720

Please sign in to comment.