Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
joe2far
5ead89b5bb
Fixed several typos
2016-07-13 15:06:24 +01:00
deads2k
ada37c2163
allow lock acquisition injection for quota admission
2016-07-06 09:39:42 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
deads2k
a28cf3963b
refactor quota evaluation to cleanly abstract the quota access
2016-06-28 11:38:18 -04:00
derekwaynecarr
ce44b3b98a
Quota can look for a previous object from admission rather than do a lookup
2016-06-13 09:50:53 -04:00
k8s-merge-robot
e5cb165ecc
Merge pull request #25091 from deads2k/reduce-conflicts
...
Automatic merge from submit-queue
reduce conflict retries
Eliminates quota admission conflicts due to latent caches on the same API server.
@derekwaynecarr
2016-05-25 05:33:23 -07:00
Jordan Liggitt
29252acd1a
Change rest storage Update interface to retrieve updated object
...
Add OldObject to admission attributes
Update resthandler Patch/Update admission plumbing
2016-05-23 21:09:26 -04:00
deads2k
02c0181f26
reduce conflict retries
2016-05-23 13:09:37 -04:00
derekwaynecarr
8b8a22b143
pod constraints func for quota validates resources
2016-05-11 14:30:46 -04:00
derekwaynecarr
fc3e71894d
Improve quota integration test to not use events, reduce number of pods provisioned
2016-05-10 19:50:36 -04:00
derekwaynecarr
ca7a8b50e6
Sort resources in quota errors to avoid duplicate events
2016-05-06 17:44:28 -04:00
deads2k
0061479890
fully qualify admission resources and kinds
2016-04-26 07:55:33 -04:00
deads2k
d3c6363093
use single writer to improve quota performance
2016-04-25 10:42:26 -04:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
Salvatore Dario Minonne
15b7577454
Adding nodeports services to quota
2016-04-12 11:09:16 +02:00
Wojciech Tyczynski
2699be2e7e
Switch api.ObjetaMetaFor to meta.Accessor
2016-03-31 17:52:31 +02:00
Michal Minar
2601ee56ab
Set a missing namespace on object to admit
...
Custom quota evaluators may need to query a target namespace of an input
object during quota admission check. For this, namespace needs to be
known.
Signed-off-by: Michal Minar <miminar@redhat.com>
2016-03-15 17:03:55 +01:00
Wojciech Tyczynski
2f6d034cea
Workaround long latency of POST pods
2016-03-03 10:45:43 +01:00
derekwaynecarr
95df07aa9d
Improve overlapping quota behavior when there is a resource conflict
2016-02-26 20:34:15 -05: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
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
Wojciech Tyczynski
a915b8b29a
Merge pull request #18080 from wojtek-t/list_options_in_listwatch
...
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
deads2k
3f045cf168
udpate admission for API groups
2015-12-07 08:55:01 -05:00
Wojciech Tyczynski
b0fcb5adef
Pass ListOptions to List in ListWatch.
2015-12-07 11:53:53 +01:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00
k8s-merge-robot
8a8639d7af
Merge pull request #17863 from wojtek-t/only_list_options_in_watch
...
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
Wojciech Tyczynski
8343c8ce6c
Pass ListOptions to List() methods.
2015-12-01 15:00:36 +01:00
Wojciech Tyczynski
d2dfc912e6
Simplify Watch() signature in clients.
2015-12-01 14:19:26 +01:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
k8s-merge-robot
04ca4a9690
Merge pull request #16941 from derekwaynecarr/fix_16733
...
Auto commit by PR queue bot
2015-11-19 12:12:34 -08:00
derekwaynecarr
9ce6ef87ac
Unnecessary updates to ResourceQuota when doing UPDATE to non-pod resources
2015-11-10 12:01:08 -05:00
derekwaynecarr
bd17fa002c
Improve quota error messages
2015-11-06 15:14:33 -05:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
hurf
5cc909afe7
Remove type validation in resource.Quantity.Add
...
The type validation is unnecessary for add and will cause problem.
Type will always keep unchanged after new amount is added.
2015-09-22 21:07:31 +08:00
hurf
00f96e8a91
Aggregate errors in resourceQuota admission controller
...
Return all errors at a time to give users a better experience.
2015-09-18 11:19:26 +08:00
hurf
ee4c473647
Fix nits in resourceQuota admission
...
Fix small typo in comments and error message.
2015-09-16 11:48:02 +08:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -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