k3s/pkg/controller
Kubernetes Submit Queue 52603a78ab
Merge pull request #64969 from mfojtik/volume-01-fix-allocations
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>.

volume: decrease memory allocations for debugging messages

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

<img width="1769" alt="screen shot 2018-06-11 at 13 15 31" src="https://user-images.githubusercontent.com/44136/41230128-ebf7233c-6d7e-11e8-899d-6251a5fde236.png">

On large clusters, where the glog is not running on V(5) using the format as: `glog.V(5).Infof(fmt.Sprintf(....))` will cause the code inside `Infof()` to be ran and generate a tons of memory allocations even if the output of those messages are not returned to the console...

This patch should reduce those calls and also the string allocations done by message generation.

**Release note**:
```release-note
NONE
```
2018-06-11 22:05:42 -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 Merge pull request #64368 from justinsb/ccm_instanceid_fix 2018-06-02 04:48:38 -07: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 #64916 from mfojtik/ds-01-improve-mem-usage 2018-06-11 08:56:20 -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 Merge pull request #63386 from roycaihw/gc-json-patch 2018-06-06 19:56:20 -07:00
history remove versioning interface 2018-04-27 07:56:42 -04:00
job Rate limit only when an actual error happens, not on update conflicts 2018-06-05 22:53:09 +02: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 Parallelize taint manager 2018-05-30 14:46:48 +02: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 Fix quota sync 2018-06-05 04:50:37 -04: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 fix unit tests using Patch in fake client 2018-05-30 11:33:55 -07: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 volume: decrease memory allocations for debugging messages 2018-06-11 13:52:38 +02:00
.import-restrictions
BUILD Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
client_builder.go remove duplicated import 2017-11-14 17:18:17 +08:00
controller_ref_manager.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_ref_manager_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
controller_utils_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
doc.go
lookup_cache.go