k3s/pkg
Kubernetes Submit Queue 49e80116b7 Merge pull request #42108 from wojtek-t/reduce_kube_proxy_cpu_usage
Automatic merge from submit-queue (batch tested with PRs 40746, 41699, 42108, 42174, 42093)

Switch kube-proxy to informers & save 2/3 of cpu & memory of non-iptables related code.

Fix #42000

This PR should be no-op from the behavior perspective.
It is changing KubeProxy to use standard "informer" framework instead of combination of reflector + undelta store.

This is significantly reducing CPU usage of kube-proxy and number of memory allocations.
Previously, on every endpoints/service update, we were copying __all__ endpoints/services at least 3 times, now it is once (which should also be removed in the future).

In Kubemark-500, hollow-proxies were processing backlog from load test for an hour after the test was finishing. With this change, it is keeping up with the load.

@thockin @ncdc @derekwaynecarr
2017-02-28 07:51:28 -08:00
..
api Merge pull request #41837 from liggitt/storageclass-param-validation 2017-02-28 02:41:03 -08:00
apimachinery/tests
apis Merge pull request #41788 from sttts/sttts-scheme-registration-idem-potent 2017-02-28 00:34:11 -08:00
auth
bootstrap/api kubeadm: Implement the kubeadm token command fully and move it out of the experimental subsection 2017-02-27 12:56:03 +02:00
capabilities
client Remove legacy listers and informers 2017-02-27 06:48:13 -05:00
cloudprovider Merge pull request #41992 from colemickens/cmpr-azure-config-doc 2017-02-26 18:07:57 -08:00
controller Merge pull request #41788 from sttts/sttts-scheme-registration-idem-potent 2017-02-28 00:34:11 -08:00
conversion
credentialprovider
features
fieldpath
fields
generated adding kubelet flags for node allocatable phase 2 2017-02-27 21:24:44 -08:00
hyperkube
kubeapiserver tweak defaults for recommended apiserver options 2017-02-27 07:47:19 -05:00
kubectl Merge pull request #41699 from liggitt/apply-output-result 2017-02-28 07:51:22 -08:00
kubelet fix eviction helper function description 2017-02-27 21:24:45 -08:00
kubemark Switch kube-proxy to informers 2017-02-27 16:16:26 +01:00
labels
master Merge pull request #41165 from nikhiljindal/del202 2017-02-26 14:54:54 -08:00
metrics
printers generated: bazel 2017-02-23 00:28:32 -05:00
probe Add support for attacher/detacher interface in Flex volume 2017-02-24 20:18:06 -05:00
proxy Switch kube-proxy to informers 2017-02-27 16:16:26 +01:00
quota fix typo:evaluator 2017-02-27 09:28:40 +08:00
registry Merge pull request #42186 from liggitt/wait-for-etcd 2017-02-28 00:34:03 -08:00
routes
runtime
security
securitycontext
serviceaccount
ssh
types
util teach kubenet to use annotation instead of pod object for traffic shaper 2017-02-27 10:11:09 -08:00
version
volume Merge pull request #41804 from chakri-nelluri/flex 2017-02-27 04:10:25 -08:00
watch
BUILD Update bazel 2017-02-27 06:48:13 -05:00
OWNERS