Files
kubernetes/pkg/kubelet
Kubernetes Submit Queue 731eaecfd1 Merge pull request #57527 from mtaufen/kc-metric
Automatic merge from submit-queue (batch tested with PRs 64013, 63896, 64139, 57527, 62102). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

add dynamic config metrics

This PR exports config-releated metrics from the Kubelet.
The Guages for active, assigned, and last-known-good config can be used
to identify config versions and produce aggregate counts across several
nodes. The error-reporting Gauge can be used to determine whether a node
is experiencing a config-related error, and to prodouce an aggregate
count of nodes in an error state.

https://github.com/kubernetes/features/issues/281

```release-note
The Kubelet now exports metrics that report the assigned (node_config_assigned), last-known-good (node_config_last_known_good), and active (node_config_active) config sources, and a metric indicating whether the node is experiencing a config-related error (node_config_error). The config source metrics always report the value 1, and carry the node_config_name, node_config_uid, node_config_resource_version, and node_config_kubelet_key labels, which identify the config version. The error metric reports 1 if there is an error, 0 otherwise.
```
2018-05-23 19:44:21 -07:00
..
2018-05-23 00:19:21 +03:00
2018-03-27 09:29:35 -07:00
2018-05-19 08:14:37 +10:00
2018-05-17 13:36:37 +02:00
2018-05-17 11:37:35 +02:00
2018-01-29 15:07:51 -05:00
2018-05-22 14:08:55 -07:00
2017-10-15 18:18:13 -07:00
2018-04-30 14:57:26 -04:00
2018-05-11 14:39:07 +08:00
2018-05-22 14:08:55 -07:00
2018-04-11 09:26:02 -07:00
2018-02-16 13:43:01 -08:00
2018-05-17 11:37:35 +02:00
2018-04-11 18:35:24 +02:00
2018-05-17 12:18:14 +02:00
2018-04-18 09:55:57 -07:00
2018-02-24 17:39:21 +08:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00
2018-05-16 10:59:32 +02:00
2018-04-18 09:55:57 -07:00
2018-05-17 11:37:35 +02:00
2017-07-10 14:05:46 -07:00
2018-02-20 10:38:41 -05:00
2018-01-29 21:44:54 -08:00