typora/note/K8S/实战笔记/metrics-server 部署x509 error.md

11 lines
300 B
Markdown
Raw Permalink Normal View History

2024-12-11 21:48:55 -05:00
### 1. 部署高可用 metrics-server
```sh
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`