kubernetes/pkg/kubelet/cm
Kubernetes Submit Queue 321201f672
Merge pull request #63406 from derekwaynecarr/label-pod-cgroups
Automatic merge from submit-queue (batch tested with PRs 60200, 63623, 63406). 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>.

Apply pod name and namespace labels for pod cgroup for cadvisor metrics

**What this PR does / why we need it**:
1. Enable Prometheus users to determine usage by pod name and namespace for pod cgroup sandbox.
1. Label cAdvisor metrics for pod cgroups by pod name and namespace.
1. Aligns with kubelet stats summary endpoint pod cpu and memory stats.

**Special notes for your reviewer**:
This provides parity with the summary API enhancements done here:
https://github.com/kubernetes/kubernetes/pull/55969

**Release note**:
```release-note
Apply pod name and namespace labels to pod cgroup in cAdvisor metrics
```
2018-05-10 08:33:11 -07:00
..
cpumanager avoid dobule RLock() in cpumanager 2018-04-23 10:33:40 +08:00
cpuset Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
devicemanager Merge pull request #63073 from andyxning/refactor_grpc_dial_with_dialcontext 2018-05-03 01:16:34 -07:00
util Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
BUILD Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
cgroup_manager_linux_test.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
cgroup_manager_linux.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
cgroup_manager_test.go Lift embedded structure out of eviction-related KubeletConfiguration fields 2017-11-16 18:35:13 -08:00
cgroup_manager_unsupported.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
container_manager_linux_test.go Add more volume types in e2e and fix part of them. 2018-05-02 10:31:42 +08:00
container_manager_linux.go Merge pull request #63298 from dims/kubelet-remove-unused-code 2018-05-04 04:20:06 -07:00
container_manager_stub.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
container_manager_unsupported.go Remove redundant code in container manager. 2017-11-24 03:15:55 -08:00
container_manager_windows.go Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
container_manager.go kubelet: move QOSReserved from experimental to alpha feature gate 2018-04-16 13:08:40 -05:00
fake_internal_container_lifecycle.go Un-revert "CPU manager wiring and none policy" 2017-09-04 07:24:59 -07:00
helpers_linux_test.go Merge pull request #56525 from tianshapjq/testcase-helpers_linux.go 2018-04-20 18:55:13 -07:00
helpers_linux.go Fix cpu cfs quota flag with pod cgroups 2018-03-16 15:27:11 -04:00
helpers_unsupported.go Fix cpu cfs quota flag with pod cgroups 2018-03-16 15:27:11 -04:00
internal_container_lifecycle.go Fixed nil InternalContainerLifecycle in cm stubs. 2017-09-04 07:24:59 -07:00
node_container_manager_test.go codeClean-merge-logfAndFailnow-to-fatalf 2018-01-31 11:39:31 +08:00
node_container_manager.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
OWNERS Add ConnorDoyle as approver in /pkg/kubelet/cm. 2017-12-06 09:05:59 -06:00
pod_container_manager_linux_test.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
pod_container_manager_linux.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
pod_container_manager_stub.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
pod_container_manager_unsupported.go Remove redundant code in container manager. 2017-11-24 03:15:55 -08:00
qos_container_manager_linux.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
types.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00