typora/note/K8S/实战笔记/metrics-server 部署x509 error.md
2024-12-12 10:48:55 +08:00

300 B

1. 部署高可用 metrics-server

wget https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/high-availability-1.21+.yaml

2. 报错及修复

2.1 x509: cannot validate certificate

  • metrics-server deployment 添加启动参数 - --kubelet-insecure-tls