k3s/pkg/controller
Kubernetes Submit Queue cbabb03acc Merge pull request #34841 from derekwaynecarr/quota-shared-informer
Automatic merge from submit-queue

quota controller uses informers if available for pod calculation

This PR does the following:
1. plumb informer factory into quota registry and evaluators
2. pod quota evaluator uses informers for determining aggregrate usage instead of making direct calls
3. admission code path does not use informers because
   1. we do not want to add new watches in apiserver
   2. admission code path does not require aggregate usage calculation

As a result, quota controller is much faster in re-calculating quota usage when it observes a pod deletion.

Follow-on PRs will make similar changes for other informer backed resources (pvcs next).

/cc @deads2k @mfojtik @smarterclayton @kubernetes/rh-cluster-infra
2016-10-31 14:34:57 -07:00
..
certificates include multiple versions in clientset 2016-10-29 13:30:47 -07:00
daemon include multiple versions in clientset 2016-10-29 13:30:47 -07:00
deployment Merge pull request #35471 from caesarxuchao/client-gen-multi-versions 2016-10-29 15:40:13 -07:00
disruption include multiple versions in clientset 2016-10-29 13:30:47 -07:00
endpoint Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
garbagecollector Replace negotiation with a new method that can extract info 2016-10-28 11:30:11 -04:00
informers autogenerated 2016-10-21 17:32:32 -07:00
job include multiple versions in clientset 2016-10-29 13:30:47 -07:00
namespace Fix potential panic in namespace controller when rapidly create/delete namespace of same name 2016-10-25 13:51:27 -04:00
node Initialize CIDR allocator before registering handle functions 2016-10-31 16:21:37 +01:00
petset include multiple versions in clientset 2016-10-29 13:30:47 -07:00
podautoscaler include multiple versions in clientset 2016-10-29 13:30:47 -07:00
podgc addressing comments. 2016-10-27 13:30:04 -07:00
replicaset include multiple versions in clientset 2016-10-29 13:30:47 -07:00
replication include multiple versions in clientset 2016-10-29 13:30:47 -07:00
resourcequota quota controller uses informers if available for pod calculation 2016-10-31 11:38:22 -04:00
route autogenerated 2016-10-21 17:32:32 -07:00
scheduledjob Merge pull request #35420 from soltysh/sj_replace_fix 2016-10-30 05:08:43 -07:00
service include multiple versions in clientset 2016-10-29 13:30:47 -07:00
serviceaccount convert SA controller to shared informers 2016-10-27 15:44:46 -04:00
volume include multiple versions in clientset 2016-10-29 13:30:47 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD include multiple versions in clientset 2016-10-29 13:30:47 -07:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00
client_builder.go move watch.ListWatchUntil to its own package to avoid future import cycle 2016-10-30 13:14:20 -07:00
controller_ref_manager.go fix tests; convert IsPodActive to operate on *Pod 2016-08-17 13:05:37 -07:00
controller_utils.go Fix typos 2016-10-15 00:21:00 +03:00
controller_utils_test.go remove testapi.Default.GroupVersion 2016-10-07 10:10:54 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00