kubernetes/pkg/controller
Kubernetes Submit Queue 15cd355281
Merge pull request #64213 from dashpole/eviction_event_annotation
Automatic merge from submit-queue. 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 metadata to kubelet eviction event annotations

**What this PR does / why we need it**:
Add annotations to kubelet eviction events.  Annotations include 
"offending_containers" : comma-seperated list of containers.
"offending_containers_usage": comma-seperated list of usage.
"starved_resource": v1.ResourceName of the starved resource

**Special notes for your reviewer**:
Adding annotations to events required changing the `EventRecorder` interface to add a `AnnotatedEventf` function, which can add annotations to an event.

**Release note**:
```release-note
NONE
```
/assign @dchen1107 
cc @mwielgus @schylek @kgrygiel
2018-05-29 23:37:47 -07:00
..
bootstrap should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
certificates Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
cloud fix ut 2018-05-15 17:22:40 +08:00
clusterroleaggregation Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cronjob Merge pull request #62011 from hanxiaoshuai/fixtodo0402 2018-04-05 18:47:07 -07:00
daemon Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
deployment Set explicit labels/selector for apps/v1 Deployment/RS. 2018-05-22 13:43:07 -07:00
disruption Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
endpoint Actually support service publishNotReadyAddresses 2018-05-14 14:19:54 -07:00
garbagecollector remove unused gc code 2018-05-21 20:22:37 +08:00
history remove versioning interface 2018-04-27 07:56:42 -04:00
job Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
namespace fix dynamic client name 2018-05-11 13:12:09 -04:00
nodeipam renable nodeipam in kube-controller-manager 2018-04-23 22:28:37 -04:00
nodelifecycle increase timeout in TestCancelAndReadd 2018-05-17 10:26:17 -04:00
podautoscaler Fixing wrong unit test naming 2018-05-19 08:09:39 +08:00
podgc Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
replicaset update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
replication Use typed events client directly 2018-04-01 18:57:29 +10:00
resourcequota should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
route should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
service Use typed events client directly 2018-04-01 18:57:29 +10:00
serviceaccount Merge pull request #63582 from WanLinghao/sa_var_clean 2018-05-11 20:00:05 -07:00
statefulset should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
testutil add metadata to kubelet eviction event annotations 2018-05-23 16:12:54 -07:00
ttl Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
util/node PR #59323, fix bug and remove one api call, add node util dependency to cloud controller 2018-04-22 20:32:26 +03:00
volume pv_controller change for provisioning 2018-05-24 17:12:38 +08:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
client_builder.go remove duplicated import 2017-11-14 17:18:17 +08:00
controller_ref_manager_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_ref_manager.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
doc.go
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00