ingress-nginx-helm/vendor/k8s.io/kubernetes/cluster/images/etcd-version-monitor
Manuel de Brito Fontes bf5616c65b Replace godep with dep
2017-10-06 17:26:14 -03:00
..
BUILD Replace godep with dep 2017-10-06 17:26:14 -03:00
Dockerfile Replace godep with dep 2017-10-06 17:26:14 -03:00
etcd-version-monitor.go Replace godep with dep 2017-10-06 17:26:14 -03:00
etcd-version-monitor.yaml Replace godep with dep 2017-10-06 17:26:14 -03:00
Makefile Replace godep with dep 2017-10-06 17:26:14 -03:00
README.md Replace godep with dep 2017-10-06 17:26:14 -03:00

etcd-version-monitor

This is a tool for exporting metrics related to etcd version, like etcd server's binary version, cluster version, and counts of different kinds of gRPC calls (which is a characteristic of v3), etc. These metrics are in prometheus format and can be scraped by a prometheus server. The metrics are exposed at the http://localhost:9101/metrics endpoint.

RUNNING THE TOOL

To run this tool as a docker container:

  • make build
  • docker run --net=host -i -t gcr.io/google_containers/etcd-version-monitor:test /etcd-version-monitor --logtostderr

To run this as a pod on the kubernetes cluster:

  • Place the 'etcd-version-monitor.yaml' in the manifests directory of kubelet on the master machine.

Note: This tool has to run on the same machine as etcd, as communication with etcd is over localhost.

VERIFYING THE TOOL