k3s/cluster/images/etcd-version-monitor
Kubernetes Submit Queue a91cf1ed94 Merge pull request #41771 from cblecker/go-1.7.5
Automatic merge from submit-queue (batch tested with PRs 41812, 41665, 40007, 41281, 41771)

Bump golang versions to 1.7.5

**What this PR does / why we need it**: While #41636 might not make it in until 1.7, this would bump current golang versions from 1.7.4 to 1.7.5 to integrate the fixes from that patch version. This would include, among other things, a fix to ensure cross-built binaries for darwin don't have certificate validation errors (golang/go#18688)

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: none

**Special notes for your reviewer**:

**Release note**:

```release-note
Upgrade golang versions to 1.7.5
```
2017-02-23 00:11:41 -08:00
..
Dockerfile Added a basic monitor for watching etcd version and size related info 2017-02-17 12:52:54 +01:00
Makefile Bump golang versions to 1.7.5 2017-02-21 13:02:16 -08:00
README.md Added a basic monitor for watching etcd version and size related info 2017-02-17 12:52:54 +01:00
etcd-version-monitor.go Remove unnecessary metrics (http/process/go) from being exposed by etcd-version-monitor 2017-02-22 13:11:00 +01:00
etcd-version-monitor.yaml Added a basic monitor for watching etcd version and size related info 2017-02-17 12:52:54 +01:00

README.md

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