k3s/test/e2e_node
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
..
builder Move path management from e2e_node to common test/utils directory 2018-04-27 11:12:10 -04:00
conformance Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
environment Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
jenkins Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
perftype update BUILD files 2017-10-15 18:18:13 -07:00
remote Move path management from e2e_node to common test/utils directory 2018-04-27 11:12:10 -04:00
runner Move path management from e2e_node to common test/utils directory 2018-04-27 11:12:10 -04:00
services Merge pull request #62101 from bart0sh/PR0010-e2e_node-kubelet-command-line-fix 2018-04-30 13:24:12 -07:00
system Replace "golang.org/x/net/context" with "context" 2018-03-22 20:57:14 +08:00
BUILD add dynamic config metrics 2018-05-22 14:08:55 -07:00
OWNERS Add balajismaniam, ConnorDoyle node-e2e approvers 2017-11-22 10:01:14 -08:00
README.md
apparmor_test.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
benchmark_util.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
container.go remove a todo which is out of date 2018-02-07 09:31:15 +08:00
container_log_rotation_test.go Add node e2e test for log rotation. 2018-02-23 01:42:35 +00:00
container_manager_test.go Removed newlines from e2e log statements. 2018-02-17 22:25:38 -05:00
cpu_manager_test.go Remove rkt references in the codebase 2018-04-06 12:02:11 -07:00
critical_pod_test.go Use pause manifest image 2018-04-06 11:00:50 +05:30
density_test.go Use pause manifest image 2018-04-06 11:00:50 +05:30
device_plugin.go [Device-Plugin]: Extend e2e test to cover node allocatables 2018-05-03 14:19:29 -04:00
doc.go
docker_test.go Add node-e2e test for ShareProcessNamespace 2018-02-28 09:15:56 +01:00
docker_util.go Skip log path tests when they are expected to fail. 2018-01-19 10:51:13 -08:00
dockershim_checkpoint_test.go Use pause manifest image 2018-04-06 11:00:50 +05:30
dynamic_kubelet_config_test.go add dynamic config metrics 2018-05-22 14:08:55 -07:00
e2e_node_suite_test.go Add a few "+build linux" tags where appropriate. 2018-02-27 13:53:32 -08:00
eviction_test.go Merge pull request #63896 from mtaufen/refactor-test-metrics 2018-05-23 19:44:15 -07:00
framework.go Add [sig-node] to some unowned e2e_node tests 2017-11-27 11:35:44 -05:00
garbage_collector_test.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
gke_environment_test.go Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
gpu_device_plugin.go [Device-Plugin]: Extend e2e test to cover node allocatables 2018-05-03 14:19:29 -04:00
gubernator.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
hugepages_test.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
image_id_test.go Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
image_list.go Use pause manifest image 2018-04-06 11:00:50 +05:30
kubelet_test.go Use framework.ConformanceIt for node e2e conformance tests 2017-11-17 17:28:20 +08:00
lifecycle_hook_test.go Use pause manifest image 2018-04-06 11:00:50 +05:30
log_path_test.go Skip log path tests when they are expected to fail. 2018-01-19 10:51:13 -08:00
mirror_pod_test.go Use pause manifest image 2018-04-06 11:00:50 +05:30
node_container_manager_test.go Fix cgroup names in node_container_manager_test. 2018-05-08 16:15:26 -07:00
node_problem_detector_linux.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
pods_container_manager_test.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
resource_collector.go more concise to merge the array 2018-02-11 21:27:11 +08:00
resource_usage_test.go Use pause manifest image 2018-04-06 11:00:50 +05:30
restart_test.go Use pause manifest image 2018-04-06 11:00:50 +05:30
runtime_conformance_test.go Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
security_context_test.go Add node-e2e test for ShareProcessNamespace 2018-02-28 09:15:56 +01:00
summary_test.go Lower UsageNanoCores boundary in summary api test. 2018-04-17 18:37:51 -07:00
util.go Merge pull request #57527 from mtaufen/kc-metric 2018-05-23 19:44:21 -07:00
volume_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30

README.md