kubernetes/pkg/kubelet
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
..
apis explicit kubelet config key in Node.Spec.ConfigSource.ConfigMap 2018-05-08 15:37:26 -07:00
cadvisor Remove rktnetes code 2018-03-27 09:29:35 -07:00
certificate fixed golint error on redundant if 2018-05-04 11:58:30 +05:30
checkpoint Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
checkpointmanager Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
client Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cm Merge pull request #63406 from derekwaynecarr/label-pod-cgroups 2018-05-10 08:33:11 -07:00
config simplify api registration 2018-05-08 18:33:50 -04:00
configmap Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
container Merge pull request #63333 from deads2k/api-14-snip 2018-05-04 10:52:10 -07:00
custommetrics Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
dockershim Merge pull request #63298 from dims/kubelet-remove-unused-code 2018-05-04 04:20:06 -07:00
envvars Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
events Improve messaging on resize 2018-01-29 15:07:51 -05:00
eviction Merge pull request #61976 from atlassian/ticker-with-stop 2018-05-09 19:06:56 -07:00
images Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubeletconfig Merge pull request #59847 from mtaufen/dkcfg-explicit-keys 2018-05-09 17:55:13 -07:00
kuberuntime Make kubelet ReadLogs backward compatible. 2018-04-27 16:03:29 -07:00
leaky
lifecycle Remove unused code 2018-04-30 14:57:26 -04:00
logs Generated code 2018-02-23 01:42:35 +00:00
metrics Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
mountpod Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
network Update bazel BUILD files 2018-04-11 09:26:02 -07:00
pleg Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
pod Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
preemption Delete in-tree support for NVIDIA GPUs. 2018-04-02 20:17:01 -07:00
prober reset resultRun to 0 on pod restart 2018-04-19 22:58:19 +08:00
qos Make a few code paths compile cleanly with 32-bit Go. 2018-02-27 13:53:32 -08:00
remote Add level to remote client glog. 2018-04-26 01:21:20 -07:00
secret Rename Add/Delete to *Reference 2018-05-09 18:14:50 +02:00
server Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
stats Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
status Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
sysctl Update generated files. 2018-04-11 18:35:24 +02:00
types Merge pull request #61432 from filbranden/killrkt1 2018-03-29 11:46:19 -07:00
util Detect backsteps correctly in base path detection 2018-03-13 02:23:06 -04:00
volumemanager boring 2018-04-18 09:55:57 -07:00
winstats fix "make test" 2018-02-24 17:39:21 +08:00
active_deadline_test.go
active_deadline.go
BUILD update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
doc.go
kubelet_getters_test.go
kubelet_getters.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
kubelet_network_test.go Move the kubelet network package down to dockershim 2018-04-11 09:25:56 -07:00
kubelet_network.go Move hairpin mode logic to dockershim 2018-04-11 09:21:17 -07:00
kubelet_node_status_test.go Merge pull request #62914 from sjenning/kubelet-unit-flake 2018-05-07 10:44:05 -07:00
kubelet_node_status.go Merge pull request #62543 from ingvagabund/timeout-on-cloud-provider-request 2018-04-23 09:12:42 -07:00
kubelet_pods_test.go update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
kubelet_pods_windows_test.go Lock subPath volumes 2018-03-05 09:14:44 +01:00
kubelet_pods.go Merge pull request #63045 from msau42/fix-subpath-readonly 2018-05-07 23:36:49 -07:00
kubelet_resources_test.go
kubelet_resources.go
kubelet_test.go Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
kubelet_volumes_test.go boring 2018-04-18 09:55:57 -07:00
kubelet_volumes.go Fix issue with race condition during pod deletion 2018-03-15 15:35:37 -07:00
kubelet.go Remove unused code 2018-04-30 14:57:26 -04:00
oom_watcher_test.go
oom_watcher.go
OWNERS
pod_container_deletor_test.go
pod_container_deletor.go kubelet: force filterContainerID to empty string when removeAll is true 2018-04-30 16:29:17 -05:00
pod_workers_test.go
pod_workers.go fixes document grammar 2018-02-20 10:38:41 -05:00
reason_cache_test.go
reason_cache.go
runonce_test.go Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
runonce.go fix todo:add function getFailContainer to report which containers failed the pod 2018-03-15 09:38:02 +08:00
runtime.go Remove setInitError. 2018-01-29 21:44:54 -08:00
util.go
volume_host.go Only count mounts that are from other pods 2018-04-19 15:40:51 -07:00