kubernetes/pkg/kubelet/stats
Kubernetes Submit Queue 742c9b158d
Merge pull request #59906 from abhi/log_stats
Automatic merge from submit-queue (batch tested with PRs 54191, 59374, 59824, 55032, 59906). 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>.

Adding per container stats for CRI runtimes

**What this PR does / why we need it**

This commit aims to collect per container log stats. The change was proposed as a part of #55905. The change includes change the log path from /var/pod/<pod uid>/containername_attempt.log to /var/pod/<pod uid>/containername/containername_attempt.log. The logs are collected by reusing volume package to collect metrics from the log path.
Fixes #55905

**Special notes for your reviewer:**
cc @Random-Liu

**Release note:**

```
Adding container log stats for CRI runtimes.
```
2018-02-21 19:40:42 -08:00
..
BUILD Merge pull request #59906 from abhi/log_stats 2018-02-21 19:40:42 -08:00
cadvisor_stats_provider_test.go Fix TestCadvisorListPodStats failure under mac/darwin 2017-12-26 19:59:50 -05:00
cadvisor_stats_provider.go Make eviction manager work with CRI container runtime. 2018-01-30 17:57:46 +00:00
cri_stats_provider_test.go Test cases to verify container log stats 2018-02-21 13:01:49 -08:00
cri_stats_provider.go Adding per container stats for CRI runtimes 2018-02-20 19:50:47 -08:00
helper_test.go Change StatsProvider interface to provide container stats from either cadvisor or CRI and implement this interface using cadvisor 2017-08-25 13:11:26 -07:00
helper.go enable on-demand metrics for eviction 2018-01-08 10:20:02 -08:00
log_metrics_provider_test.go Test cases to verify container log stats 2018-02-21 13:01:49 -08:00
log_metrics_provider.go Adding per container stats for CRI runtimes 2018-02-20 19:50:47 -08:00
stats_provider_linux.go Updated PID pressure node condition. 2018-01-14 18:26:00 +08:00
stats_provider_test.go Make eviction manager work with CRI container runtime. 2018-01-30 17:57:46 +00:00
stats_provider_unsupported.go Updated PID pressure node condition. 2018-01-14 18:26:00 +08:00
stats_provider.go Merge pull request #59906 from abhi/log_stats 2018-02-21 19:40:42 -08:00