运行kubectl时,我会得到错误信息。
Unable to connect to the server: x509: certificate has expired or is not yet valid: current time 2021-10-05T11:59:14-04:00 is after 2021-09-29T19:21:40Z
所以很明显它说证书过期了。唯一的问题是我不知道它是哪一个。
我查过了
HAProxy (牧场坐在L7 HAProxy后面,拿着LE证书)
从sudo k3s kubectl get secrets -n cattle-system显示的秘密证书
/et