Tim Usner
cc0b86fa3c
Add more tests for LRU cache lookup
2020-09-04 15:09:03 +02:00
Tim Usner
70d440bc7e
Move ResourceQuota admission to k8s.io/apiserver
2020-09-04 14:53:52 +02:00
Kubernetes Prow Robot
8296643fad
Merge pull request #94371 from bbyrne5/bmb-resourcequota-staticcheck-errorfix
...
fix staticcheck errors in resourcequota
2020-09-03 03:41:41 -07:00
Brian Byrne
a820a82785
fix staticcheck errors in resourcequota
2020-08-31 12:27:23 -04:00
Alexander Zimmermann
86dc0364f4
Refactored pkg/controllers/resourcequota
...
* Fixed golint issues
* Removed redundant package import names
* Improved some variables and names
Co-authored-by: Mike Danese <mikedanese@gmail.com>
2020-08-20 14:37:27 +02:00
Yassine TIJANI
7e4c3096fe
move WaitForCacheSync to the sharedInformer package
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-08-22 16:13:41 +01:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
...
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Shintaro Murakami
f8e81337da
Do not generate unnecessary goroutine
2019-04-23 16:22:14 +09:00
Jordan Liggitt
27cd2be49f
Update quota status with limits even when calculating errors
2019-03-26 23:15:40 -04:00
Jordan Liggitt
739df5452a
Avoid deadlock in resource quota resync
2019-03-26 23:15:40 -04:00
Jordan Liggitt
713a10d276
Fix race in quota sync test
2019-03-26 23:15:39 -04:00
yue9944882
d11ee913a1
prune flipping int/ext conversion for quota controller
2018-08-27 21:49:26 +08:00
vikaschoudhary16
c83f18a897
Fix 'Exists' scope selector operator
2018-08-03 01:36:22 -04:00
lichuqiang
fde4f6f9b0
resourceQuota support for extended resources
2018-01-30 09:29:22 +08:00
supereagle
032416c75d
use core client with explicit version
...
fix more usage of deprecated core client
2017-11-25 08:14:10 +08:00
Derek Carr
7f88e91892
Update quota controller to monitor all types
2017-10-27 11:07:53 -04:00
deads2k
62157572cf
tighten quota controller interface
2017-07-19 15:36:45 -04:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Andy Goldstein
d820e3928c
Switch resourcequota controller to shared informers
2017-02-14 12:20:27 -05:00
Dr. Stefan Schimanski
bc6fdd925d
pkg/api/resource: move to apimachinery
2017-01-29 21:41:44 +01:00
deads2k
9488e2ba30
move testing/core to client-go
2017-01-26 13:54:40 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Clayton Coleman
35a6bfbcee
generated: refactor
2016-11-23 22:30:47 -06:00
Chao Xu
7eeb71f698
cmd/kube-controller-manager
2016-11-23 15:53:09 -08:00
derekwaynecarr
1bcb057636
quota controller uses informers if available for pod calculation
2016-10-31 11:38:22 -04:00
Ke Zhang
d9c9cafbf3
the observed used should match those that have hard constraint
2016-08-11 22:35:38 +08:00
k8s-merge-robot
f4543250a8
Merge pull request #29133 from deads2k/priority-queue
...
Automatic merge from submit-queue
use a separate queue for initial quota calculation
When the quota controller gets backed up on resyncs, it can take a long time to observe the first usage stats which are needed by the admission plugin. This creates a second queue to prioritize the initial calculation.
2016-07-21 04:46:59 -07:00
deads2k
2ea342289e
use a separate queue for initial quota calculation
2016-07-19 13:38:39 -04:00
derekwaynecarr
f2f65fe9c4
Improve quota controller performance by eliminating unneeded list calls
2016-07-18 17:21:24 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Oleg Shaldybin
3b15d5be19
Use correct namespace in unit tests that use fake clientset
...
Fake clientset no longer needs to be prepopulated with records: keeping
them in leads to the name conflict on creates. Also, since fake
clientset now respects namespaces, we need to correctly populate them.
2016-06-28 11:26:34 -07:00
k8s-merge-robot
ea15d792a1
Merge pull request #24470 from deads2k/shared-cache-02
...
Automatic merge from submit-queue
update controllers watching all pods to share an informer
This plumbs the shared pod informer through the various controllers to avoid duplicated watches.
2016-04-23 17:18:47 -07:00
deads2k
60fe17d338
update resource quota controller for shared informers
2016-04-21 08:20:39 -04:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
Wojciech Tyczynski
e2ebc50648
Don't sync all objects for replenishment as often as ResourceQuota.
2016-03-07 08:31:09 +01:00
derekwaynecarr
af85fb57c3
Make ResourceQuota admission and controller work generically
2016-02-26 20:34:15 -05:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
Chao Xu
fe7887f1ec
replace the client with clientset in controllers
2016-02-02 20:28:45 -08:00
derekwaynecarr
55d4f70f8e
Resource quota observes deletes faster
2015-12-03 17:35:05 -05:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
derekwaynecarr
2e76842eb7
Update resource quota for requests
2015-09-03 14:24:59 -04:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
deads2k
182885e897
make testclient more precise
2015-08-04 13:35:59 -04:00
gmarek
d27ad5b714
Controller codebase refactoring
2015-08-03 17:06:25 +02:00