deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Kubernetes Submit Queue
f76fba0da0
Merge pull request #39435 from sttts/sttts-cloudprovider-to-master
...
Automatic merge from submit-queue
Move apiserver cloudprovider dep into kubeapiserver
2017-01-05 02:29:11 -08:00
Dr. Stefan Schimanski
f96fa748d8
Move apiserver cloudprovider dep into kubeapiserver
2017-01-05 09:40:03 +01: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
deads2k
ab1b77673f
decouple genericapiserver from non-generic authenticator
2016-12-22 07:48:08 -05:00
Dr. Stefan Schimanski
7adaac79ca
Update bazel
2016-12-16 17:49:23 +01:00
Dr. Stefan Schimanski
5e8ca29a76
Clean up apiserver and federation defaulting and validation
2016-12-16 17:23:43 +01:00
Dr. Stefan Schimanski
7267299c3c
genericapiserver: move MasterCount and service options into master
2016-12-16 17:23:43 +01:00
Dr. Stefan Schimanski
cab89a67df
genericapiserver: unify swagger and openapi in config
2016-12-14 18:41:04 +01:00
Mike Danese
82d9ed770c
fix examples/ compilation so that test/ also compiles
...
fix network-tester cauldron serve_hostnames
2016-12-12 15:14:49 -08: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
deads2k
6ea1d5d53d
join client CA bundles into the accept path for genericapiserver
2016-12-06 09:56:13 -05:00
deads2k
fbb35b72ed
update delegating auth to include front-proxy
2016-12-06 09:40:07 -05:00
Dr. Stefan Schimanski
5b1d45bc15
Stratify certificate loading and self-sign cert generation
...
This removes all dependencies on Config during cert generation, only operating
on ServerRunOptions. This way we get rid of the repeated call of Config.Complete
and cleanly stratify the GenericApiServer bootstrapping.
2016-12-05 14:58:15 +01:00
Dr. Stefan Schimanski
1f5511b131
Move RESTStorageProvider interface into pkg/master
2016-12-03 18:35:15 +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
deads2k
7c0e48f544
split out authentication options
2016-11-29 10:59:43 -05:00
deads2k
56b7a8b02b
remove some options from mega-struct
2016-11-29 10:59:43 -05:00
deads2k
18074d7606
split insecure serving options
2016-11-29 10:59:42 -05:00
deads2k
a08f3ba521
split secure serving options
2016-11-29 10:59:42 -05:00
deads2k
a9af8206cb
split generic etcdoption out of main struct
2016-11-29 10:59:42 -05:00
Wojciech Tyczynski
36e6cd19e1
Cache fields for filtering in watchCache.
2016-11-29 09:48:09 +01:00
Clayton Coleman
a43960da3b
Move GroupVersion* to pkg/runtime/schema
2016-11-23 21:03:36 -06:00
Dr. Stefan Schimanski
d0b3981f07
Make GenericApiServer.Run interruptable and fail on first listen
2016-11-01 09:50:56 +01:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Tim Hockin
b0fa2056a6
Remove 'this is HEAD' warning on docs
2016-10-26 00:06:59 +02:00
Dr. Stefan Schimanski
cca05af615
Move swagger+openapi setup to routes and decouple from run
2016-10-22 13:42:22 +02:00
deads2k
7412be4465
default serializer
2016-10-14 11:27:32 -04:00
deads2k
fbd5032da2
split genericapiserver configuration apart so that you can run without flag options
2016-10-13 13:09:53 -04:00
deads2k
8eddc7158b
stop plumbing options to start
2016-10-03 13:35:00 -04:00
Dr. Stefan Schimanski
8391a19b57
Decouple defaulting from genericapiserver and master
2016-09-28 23:16:09 +02:00
Hongchao Deng
6f3ac807fd
pass SelectionPredicate instead of Filter to storage layer
2016-09-26 09:47:19 -07:00
Kubernetes Submit Queue
1063903d01
Merge pull request #33266 from sttts/sttts-one-installapigroups
...
Automatic merge from submit-queue
Reduce genericapiserver api surface
2016-09-23 02:32:07 -07:00
deads2k
f6882e8465
remove storage related fields from genericapiserver
2016-09-22 09:21:34 -04:00
Dr. Stefan Schimanski
c727e27602
Reduce genericapiserver api surface
2016-09-22 13:43:32 +02:00
Davanum Srinivas
25d4a70827
Allow secure access to apiserver from Admission Controllers
...
* Allow options.InsecurePort to be set to 0 to switch off insecure access
* In NewSelfClient, Set the TLSClientConfig to the cert and key files
if InsecurePort is switched off
* Mint a bearer token that allows the client(s) created in NewSelfClient
to talk to the api server
* Add a new authenticator that checks for this specific bearer token
Fixes #13598
2016-09-20 10:42:21 -04:00
deads2k
b0d770ad7b
refactor genericapiserver new to combine initialization
2016-09-08 08:57:10 -04:00
David McMahon
385fb81407
Update the latestReleaseBranch to release-1.4 in the munger.
2016-09-01 14:40:55 -07:00
Hongchao Deng
9fc0e1e98d
return destroy func to clean up internal resources of storage
2016-08-25 08:32:21 -07:00
Kubernetes Submit Queue
5caf74c517
Merge pull request #30529 from hongchaodeng/r1
...
Automatic merge from submit-queue
change all PredicateFunc to use SelectionPredicate
What?
- This PR changes all PredicateFunc in registry to return SelectionPredicate instead of Matcher interface.
Why?
- We want to pass SelectionPredicate to storage layer. Matcher interface did not expose enough information for indexing.
2016-08-20 00:24:40 -07:00
Timothy St. Clair
d6606a6aa9
etcd3 validation showed that several unit tests that depend on apiserver being fully
...
stood up should be integration tests, not unit tests.
2016-08-18 14:12:24 -05:00
Timothy St. Clair
730fc70107
Update etcd default ports for v3, and validate tests
2016-08-17 07:49:19 -05:00
Hongchao Deng
75fe25e717
generic.Matcher -> *generic.SelectionPredicate
2016-08-13 21:52:11 -07:00
Hongchao Deng
d4afb781c3
change all PredicateFunc to use SelectionPredicate
2016-08-13 10:11:35 -07:00
Hongchao Deng
d0938094d9
move new etcd storage into cacher
2016-08-12 18:40:20 -07:00
mksalawa
a806351cc3
Extract etcd options from genericapiserver.
2016-08-09 13:35:53 +02:00
joe2far
88b6d4ad36
Fix broken warning image link in docs
2016-07-15 10:44:58 +01:00