33 lines
538 B
YAML
33 lines
538 B
YAML
|
# 配置 RKE1 Kubernetes 组件监控
|
||
|
kubeControllerManager:
|
||
|
endpoints:
|
||
|
- 192.168.1.10
|
||
|
- 192.168.1.20
|
||
|
- 192.168.1.30
|
||
|
service:
|
||
|
port: 10257
|
||
|
targetPort: 10257
|
||
|
|
||
|
kubeScheduler:
|
||
|
endpoints:
|
||
|
- 192.168.1.10
|
||
|
- 192.168.1.20
|
||
|
- 192.168.1.30
|
||
|
service:
|
||
|
port: 10257
|
||
|
targetPort: 10257
|
||
|
|
||
|
kubeProxy:
|
||
|
endpoints:
|
||
|
- 192.168.1.10
|
||
|
- 192.168.1.20
|
||
|
- 192.168.1.30
|
||
|
service:
|
||
|
port: 10249
|
||
|
targetPort: 10249
|
||
|
|
||
|
kubeEtcd:
|
||
|
endpoints:
|
||
|
- 192.168.1.10
|
||
|
- 192.168.1.20
|
||
|
- 192.168.1.30
|