k8s 集群 metrics-server 组件报错 authentication.go:65] Unable to authenticate the request due to an error: x509: certificate has expired or is not yet valid
原因 :k8s集群证书更新后没有自动重启对呀的组件执行如下命令后解决
docker ps |grep -E 'k8s_kube-apiserver|k8s_kube-controller-manager|k8s_kube-scheduler|k8s_etcd_etcd' | awk -F ' ' '{print $1}' |xargs docker restart
metrics-server