p0lyn0mial
6b1f1d1414
removes Authorizer and ExternalClientSet from kubeapiserver's admission initializer.
2017-10-03 18:08:30 +02:00
NickrenREN
934087a6dc
Add test cases to test local ephemeral storage for limitrange
2017-08-26 22:26:00 +08:00
Kubernetes Submit Queue
cd4f6edf33
Merge pull request #47017 from zhangxiaoyu-zidif/fix-name-print-type
...
Automatic merge from submit-queue
Fix print type of podname
**What this PR does / why we need it**:
It is better to change it to %s. According to context and other prints of this file, pod name's print type are all %s, except this one.
Although it does not affect the result.
**Release note**:
```release-note
NONE
```
2017-08-11 15:52:35 -07:00
zhangxiaoyu-zidif
52b546eea1
Fix print type of podname
2017-06-06 11:11:58 +08:00
Clayton Coleman
772ab8e1b4
Load initializers from dynamic config
...
Handle failure cases on startup gracefully to avoid causing cascading
errors and poor initialization in other components. Initial errors from
config load cause the initializer to pause and hold requests. Return
typed errors to better communicate failures to clients.
Add code to handle two specific cases - admin wants to bypass
initialization defaulting, and mirror pods (which want to bypass
initialization because the kubelet owns their lifecycle).
2017-06-05 19:12:41 -04:00
Derek Carr
a71bea312a
ResourceQuota admission control injects registry
2017-05-18 23:17:13 -04:00
Chao Xu
9d7a8df5ee
add gc admission plugin that prevents user who doesn't have delete permission of the owner from setting blockOwnerDeletion
2017-04-13 11:55:22 -07:00
Hemant Kumar
b0581d688d
Fix Multizone pv creation on GCE
...
When Multizone is enabled static PV creation on GCE
fails because Cloud provider configuration is not
available in admission plugins.
2017-02-28 12:24:14 -05:00
Andy Goldstein
022bff7fbe
Switch admission to use shared informers
2017-02-23 11:16:09 -05:00
Dr. Stefan Schimanski
79adb99a13
pkg/api: move Semantic equality to k8s.io/apimachinery/pkg/api/equality
2017-01-29 21:41:45 +01: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
deads2k
01b3b2b461
move admission to genericapiserver
2017-01-18 08:15:19 -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
deads2k
2861509b6d
refactored admission to avoid internal client references
2017-01-03 15:50:12 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Chao Xu
1044aa4500
plugin/admission; including resourcequota admission
2016-11-23 15:53:09 -08:00
derekwaynecarr
3c0b35d6b1
Add LimitRange informer
2016-10-17 16:00:26 -04:00
markturansky
0d40104c1d
add pvc storage to LimitRange
2016-10-05 17:31:15 -04:00
Mike Danese
a765d59932
move informer and controller to pkg/client/cache
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-09-15 12:50:08 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -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
Clayton Coleman
f2008152f4
Update limit ranging to handle init containers
2016-05-17 00:29:54 -04:00
deads2k
0061479890
fully qualify admission resources and kinds
2016-04-26 07:55:33 -04:00
Paul Weil
14620447c1
allow supported resource overrides in the limitranger plugin
2016-03-21 13:03:18 -04:00
deads2k
24d5329130
fix limitranger to handle latent caches without live lookups every time
2016-02-19 13:47:43 -05:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
deads2k
3f045cf168
udpate admission for API groups
2015-12-07 08:55:01 -05:00
derekwaynecarr
8c3bea7e79
LimitRanger plugin annotates the pods it modifies
2015-09-24 14:31:15 -04:00
hurf
c2bb81c338
Fix ratio caculation error in admission controller for LimitRange
...
Use float number to caculate ratio, and use same unit to compare
ratios.
2015-09-11 15:19:30 +08: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
Prashanth B
52f7833cd3
Revert "Revert "LimitRange updates for Resource Requirements Requests""
2015-08-28 09:26:36 -07:00
Piotr Szczesniak
6e05b9e3a3
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 10:50:50 +02:00
derekwaynecarr
dde158085a
Update admission control logic for LimitRange
2015-08-24 15:20:10 -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
derekwaynecarr
f6fb72ec51
Admission control attributes has access to resource name
2015-06-23 13:54:55 -04:00
derekwaynecarr
9a747cde38
LimitRanger should ignore subresources
2015-06-18 15:43:48 -04:00
derekwaynecarr
05f099211f
Do not set container.requests for v1
2015-05-27 14:27:01 -04:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
derekwaynecarr
c2b670513c
Introduce concept of a default limit
2015-04-01 16:31:25 -04:00
Vishnu Kannan
d0524d4778
Rename ResourceRequirementSpec to ResourceRequirements.
2015-02-09 23:19:38 +00:00
Vishnu Kannan
5e36f63f8b
Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource
...
quantities 'CPU' and 'Memory' will be preserved until support for v1beta1 and v1beta2 APIs are
dropped.
Improved resource validation in the process.
2015-02-01 02:19:55 +00:00
derekwaynecarr
74f368f50e
Modified LimitRangeItem.Kind to LimitRangeItem.Type, added example files
2015-01-27 16:41:28 -05:00
derekwaynecarr
31a1145abd
Implement LimitRanger plugin
2015-01-27 16:41:27 -05:00