Kubernetes/部署文档/Rancher/Rancher组件公开Metrics访问.md
offends 7a2f41e7d6
All checks were successful
continuous-integration/drone Build is passing
synchronization
2024-08-07 18:54:39 +08:00

365 B

本文作者:丁辉

Rancher组件公开Metrics访问

RKE1添加Arg

vi cluster.yml

修改如下内容(当前只有这俩默认不对外开放)

services:
  etcd:
    image: ""
    extra_args:
      listen-metrics-urls: "http://0.0.0.0:2381"
...
kubeproxy:
    image: ""
    extra_args:
      metrics-bind-address: "0.0.0.0:10249"