Robert Rati
6a3ad93d6c
[scheduling] Moved pod affinity and anti-affinity from annotations to api
...
fields. #25319
2017-01-12 14:54:29 -05:00
Timothy St. Clair
fbc5323dad
Refactor registry to use store vs. etcd
2017-01-12 09:23:38 -06:00
Dr. Stefan Schimanski
57e3a57c10
Split pkg/genericapiserver/api/request from ObjectMeta
2017-01-11 18:26:33 +01:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Seth Jennings
e2402b781b
set qos class field in pod status
2017-01-10 16:31:52 -06:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Dr. Stefan Schimanski
87dd990bb7
Move pkg/api.{Context,RequestContextMapper} into pkg/genericapiserver/api/request
2017-01-03 14:57:33 +01:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Tim Hockin
64f5b050a1
Fix race in service nodeport allocator repair loop
2016-12-26 21:59:28 -08:00
Tim Hockin
103b7c01c1
Add a ForEach() to port allocator
2016-12-26 21:59:28 -08:00
Tim Hockin
0777ecd030
Fix race in service IP allocation repair loop
2016-12-26 21:59:27 -08:00
Tim Hockin
2b5a10f8ff
Add a ForEach() to IP allocator
2016-12-26 21:59:27 -08:00
Tim Hockin
f75bed8682
Add a ForEach() to bitmap allocator
2016-12-26 21:59:27 -08:00
Antoine Pelisse
f74183e138
Update OWNERS approvers and reviewers: pkg/registry
2016-12-19 16:22:40 -08:00
Kubernetes Submit Queue
5b2823adb9
Merge pull request #38191 from sttts/sttts-move-master-options
...
Automatic merge from submit-queue
Move non-generic apiserver code out of the generic packages
2016-12-17 01:25:45 -08:00
Dr. Stefan Schimanski
7adaac79ca
Update bazel
2016-12-16 17:49:23 +01:00
Dr. Stefan Schimanski
aa81e1d51d
pkg/apiserver: move validation.go into pkg/registry
2016-12-16 17:49:22 +01:00
Robert Rati
91931c138e
[scheduling] Moved node affinity from annotations to api fields. #35518
2016-12-16 11:42:43 -05:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Kubernetes Submit Queue
5b5b1e7533
Merge pull request #38371 from wojtek-t/get_options_in_client
...
Automatic merge from submit-queue (batch tested with PRs 38354, 38371)
Add GetOptions parameter to Get() calls in client library
Ref #37473
This PR is super mechanical - the non trivial commits are:
- Update client generator
- Register GetOptions in batch/v2alpha1 group
2016-12-09 04:12:09 -08:00
Wojciech Tyczynski
e8d1cba875
GetOptions in client calls
2016-12-09 09:42:01 +01:00
Monis Khan
a6bafbacbf
Refactor REST storage to use generic defaults
...
Signed-off-by: Monis Khan <mkhan@redhat.com>
2016-12-08 17:24:21 -05:00
Kubernetes Submit Queue
d6b9a7aa60
Merge pull request #37693 from wojtek-t/pipe_get_options_to_storage
...
Automatic merge from submit-queue (batch tested with PRs 37693, 38085)
Pipe get options to storage
Ref #37473
2016-12-07 00:52:26 -08:00
mbohlool
a9cee59f69
Fix pods/log OpenAPI/Swagger spec to return string instead of v1.Pod
2016-12-06 13:59:20 -08:00
Wojciech Tyczynski
c8711f29a5
Update autogenerated files
2016-12-06 12:25:57 +01:00
Wojciech Tyczynski
3432fea8b2
Pipe GetOptions to storage
2016-12-06 11:48:37 +01:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Kubernetes Submit Queue
ad72d1728c
Merge pull request #37547 from sttts/sttts-cut-off-genericapserver-from-registry
...
Automatic merge from submit-queue
Cut genericapserver->registry dependency
Towards moving genericapiserver into staging.
2016-12-03 12:22:20 -08:00
Kubernetes Submit Queue
16a9c0b49c
Merge pull request #37692 from wojtek-t/storage_resource_version_for_get
...
Automatic merge from submit-queue
Handle RV in Get calls to storage interface.
Ref #37473
2016-12-03 11:44:29 -08:00
Dr. Stefan Schimanski
b2b0142b6f
Update bazel
2016-12-03 18:35:18 +01:00
Dr. Stefan Schimanski
1f5511b131
Move RESTStorageProvider interface into pkg/master
2016-12-03 18:35:15 +01:00
Dr. Stefan Schimanski
eeb582e53f
Move DefaultServiceIPRange into pkg/master
2016-12-03 18:34:22 +01:00
Kubernetes Submit Queue
959d386ccf
Merge pull request #36709 from hongchaodeng/e3
...
Automatic merge from submit-queue (batch tested with PRs 35300, 36709, 37643, 37813, 37697)
[etcd] test cleanup: remove unnecessary AddPrefix()
What?
Remove etcdtest.AddPrefix() in tests. They will be automatically prepended in etcd storage.
Why?
ref: #36290 #36374
After the change, it will double prepend.
2016-12-03 08:55:56 -08:00
Wojciech Tyczynski
ec247315be
Handle RV in Get calls to storage interface.
2016-12-03 10:18:43 +01:00
Kubernetes Submit Queue
cd560926bd
Merge pull request #36889 from wojtek-t/reuse_fields_and_labels
...
Automatic merge from submit-queue
Reuse fields and labels
This should significantly reduce memory allocations in apiserver in large cluster.
Explanation:
- every kubelet is refreshing watch every 5-10 minutes (this generally is not causing relist - it just renews watch)
- that means, in 5000-node cluster, we are issuing ~10 watches per second
- since we don't have "watch heartbets", the watch is issued from previously received resourceVersion
- to make some assumption, let's assume pods are evenly spread across pods, and writes for them are evenly spread - that means, that a given kubelet is interested in 1 per 5000 pod changes
- with that assumption, each watch, has to process 2500 (on average) previous watch events
- for each of such even, we are currently computing fields.
This PR is fixing this problem.
2016-12-02 21:49:43 -08:00
Kubernetes Submit Queue
2212c421f6
Merge pull request #37227 from deads2k/api-46-master-client
...
Automatic merge from submit-queue
switch bootstrap controller to use a client where possible
While looking at https://github.com/kubernetes/kubernetes/issues/37040 , I found more places where we can use a normal client instead of a direct to etcd connection.
@wojtek-t you made similar changes in the same controller.
2016-12-02 08:45:07 -08:00
Michail Kargakis
1dbf5504cd
registry: make Eviction REST speak only api errors
2016-12-02 12:27:59 +01:00
ymqytw
ddf624efd6
add retry logic for eviction
2016-12-01 15:10:08 -08:00
deads2k
a111bd7690
switch to clients for bootstrap controller
2016-12-01 09:14:31 -05:00
Kubernetes Submit Queue
985079a82f
Merge pull request #37487 from wojtek-t/kubernetes_service
...
Automatic merge from submit-queue
Fix TestServiceAlloc flakes
Fix #37040
2016-11-29 17:04:04 -08:00
Wojciech Tyczynski
36e6cd19e1
Cache fields for filtering in watchCache.
2016-11-29 09:48:09 +01:00
Kubernetes Submit Queue
0e27a09457
Merge pull request #36978 from tanshanshan/err-fix
...
Automatic merge from submit-queue
fix error description
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
Fix error description.
Thanks
**Special notes for your reviewer**:
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```release-note
```
2016-11-28 11:43:35 -08:00
Wojciech Tyczynski
17606603d2
Fix TestServiceAlloc flakes
2016-11-25 14:50:40 +01:00
Clayton Coleman
35a6bfbcee
generated: refactor
2016-11-23 22:30:47 -06:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
d0a725a522
master, genericapiserver, registry
2016-11-23 15:53:09 -08:00
tanshanshan
995d8d3380
Update strategy.go
2016-11-17 15:20:37 +08:00
Hongchao Deng
408462fc0c
bazel update
2016-11-12 18:33:02 -08:00
Hongchao Deng
3a28b7f848
test cleanup: remove unnecessary AddPrefix()
2016-11-12 16:04:23 -08:00