kubernetes/pkg/kubelet/kuberuntime
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
..
logs Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
BUILD Merge pull request #59125 from verb/pid-annotation 2018-02-21 18:09:43 -08:00
doc.go cmd/kubelet 2016-11-23 15:53:09 -08:00
fake_kuberuntime_manager.go Fix incorrect localhost seccomp profile path 2017-11-22 02:49:23 +00:00
helpers_test.go kubelet: add support for pod PID namespace sharing 2018-02-08 16:58:07 +01:00
helpers.go Merge pull request #59906 from abhi/log_stats 2018-02-21 19:40:42 -08:00
instrumented_services_test.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
instrumented_services.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kuberuntime_container_test.go Test cases to verify container log stats 2018-02-21 13:01:49 -08:00
kuberuntime_container.go Test cases to verify container log stats 2018-02-21 13:01:49 -08:00
kuberuntime_gc_test.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kuberuntime_gc.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kuberuntime_image_test.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kuberuntime_image.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kuberuntime_logs.go Make CRI logs parsing to a library 2017-11-07 10:07:16 +08:00
kuberuntime_manager_test.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kuberuntime_manager.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
kuberuntime_sandbox_test.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kuberuntime_sandbox.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
labels_test.go Add Annotations from the deviceplugin to the runtime 2018-02-03 19:53:20 +01:00
labels.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
legacy_test.go Move legacy log symlink to kuberuntime 2017-05-05 11:48:08 -07:00
legacy.go Move legacy log symlink to kuberuntime 2017-05-05 11:48:08 -07:00
security_context_test.go security_context_test.go(TestVerifyRunAsNonRoot): add more test cases. 2017-12-20 18:02:52 +01:00
security_context.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00