摘要: 1、编写prometheus-additional配置,prometheus-additional.yaml - job_name: 'kubernetes-service-endpoints' kubernetes_sd_configs: - role: endpoints relabel_con 阅读全文
posted @ 2021-12-16 14:19 wanghongwei-dev 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 1、查看etcd指标监听端口 cat /etc/kubernetes/manifests/etcd.yaml ... - --listen-metrics-urls=http://0.0.0.0:2381 2、创建secret资源,其中包含以https访问etcd集群的证书和私钥 kubectl c 阅读全文
posted @ 2021-12-16 13:54 wanghongwei-dev 阅读(250) 评论(0) 推荐(0) 编辑