> kubectl top pod W0309 18:40:25.910477 53595 top_pod.go:274] Metrics not available for pod default/xxxx, age: 536h37m25.91045s error: Metrics not available for pod default/xxxx, age: 536h37m25.91045s
I found out my certificate is expired this morning and it’s not renewed automatically. Here’s how I debug it step by step.
Get certificate status
$ kubectl describe cert -n slack slack-tls Status: Conditions: Last Transition Time: 2020-01-21T04:15:16Z Message: Certificate is up to date and has not expired Reason: Ready Status: True Type: Ready Not After: 2020-08-18T01:20:11Z