Clayton Coleman
716bac3bbb
All REST that set DeleteCollectionWorkers should set EnableGC
2016-09-15 00:09:34 -04:00
Timothy St. Clair
5b11b5984e
Fixes to cleanup storage clients during UT.
...
During etcd3.clientv3 integration we had discovered we were leaking connections
2016-09-14 07:27:21 -05:00
Girish Kalele
02754547fb
Fix service health check node port leaks
2016-09-08 11:36:06 -07:00
Kubernetes Submit Queue
45f96fa89d
Merge pull request #31495 from hongchaodeng/fix2
...
Automatic merge from submit-queue
refactor destroy func in unit testing
Continued on https://github.com/kubernetes/kubernetes/pull/31390#issuecomment-242572312
2016-08-26 23:28:52 -07:00
Kubernetes Submit Queue
8705a41c56
Merge pull request #30253 from AdoHe/fix_nodeport
...
Automatic merge from submit-queue
Allow services which use same port, different protocol to use the same nodePort for both
fix #20092
@thockin @smarterclayton ptal.
2016-08-25 23:16:03 -07:00
Hongchao Deng
9131fbd446
refactor destroy func in unit testing
2016-08-25 22:57:28 -07:00
Kubernetes Submit Queue
40efde7e0a
Merge pull request #31390 from hongchaodeng/fix
...
Automatic merge from submit-queue
return destroy func to clean up internal resources of storage
What?
Provide a destroy func to clean up internal resources of storage.
It changes **unit tests** to clean up resources. (Maybe fix integration test in another PR.)
Why?
Although apiserver is designed to be long running, there are some cases that it's not.
See https://github.com/kubernetes/kubernetes/issues/31262#issuecomment-242208771
We need to gracefully shutdown and clean up resources.
2016-08-25 16:44:10 -07:00
AdoHe
10440ed47d
fix same node port different protocols conflict issue
2016-08-26 07:36:45 +08:00
Kubernetes Submit Queue
b44b716965
Merge pull request #31248 from wojtek-t/better_selectable_fields
...
Automatic merge from submit-queue
Avoid unnecessary copies & allocations in field selectors
2016-08-25 09:01:44 -07:00
Hongchao Deng
9fc0e1e98d
return destroy func to clean up internal resources of storage
2016-08-25 08:32:21 -07:00
Wojciech Tyczynski
d5a596bca1
More efficient field selectors
2016-08-24 09:08:38 +02:00
Girish Kalele
b82c028f77
GCE Cloud provider changes for ESIPP
...
Add feature gate (ExternalTrafficLocalOnly) for alpha feature
2016-08-23 16:16:39 -07: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
Kubernetes Submit Queue
e39d7f71e6
Merge pull request #30251 from hongchaodeng/r2
...
Automatic merge from submit-queue
Move new etcd storage (low level storage) into cacher
In an effort for #29888 , we are pushing forward this:
What?
- It changes creating etcd storage.Interface impl into creating config
- In creating cacher storage (StorageWithCacher), it passes config created above and new etcd storage inside.
Why?
- We want to expose the information of (etcd) kv client to cacher. Cacher storage uses this information to talk to remote storage.
2016-08-13 10:09:49 -07:00
Kubernetes Submit Queue
df1abb40ec
Merge pull request #30246 from liggitt/certificates
...
Automatic merge from submit-queue
Set user info in CertificateSigningRequest.Spec on create
Fixes #30239
2016-08-12 23:03:18 -07:00
Hongchao Deng
d0938094d9
move new etcd storage into cacher
2016-08-12 18:40:20 -07:00
AdoHe
a6539f846a
move RangeRegistry to a separate package for generic usage
2016-08-09 13:10:48 +08:00
Jordan Liggitt
4db004972a
Plumb context to strategy methods
2016-08-08 22:33:25 -04:00
deads2k
aa3db4d995
make the resource prefix in etcd configurable for cohabitation
2016-07-27 07:51:40 -04:00
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
Wojciech Tyczynski
1d9bc58328
Extend Filter interface with Trigger() and use it for pods and nodes
2016-07-13 08:45:18 +02:00
Hongchao Deng
8582ebb4be
allocator ETCD: remove unused Refresh()
2016-07-05 12:46:53 -07:00
Wojciech Tyczynski
3f288e365d
Simplify registries initialization
2016-07-04 14:20:29 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Chao Xu
5a9e5be4c6
expose GET and PATCH for status subresource
2016-05-26 14:33:54 -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
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Timothy St. Clair
24b4286960
In preparation for new storage backends renaming generic registry store
2016-04-26 08:32:13 -05:00
Wojciech Tyczynski
53f433f019
Remove Set() from storage.Interface.
2016-04-04 17:54:18 +02:00
k8s-merge-robot
95e09e303f
Merge pull request #22965 from caesarxuchao/delete-UID-precondition
...
Auto commit by PR queue bot
2016-03-26 09:36:28 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Chao Xu
31b425b3a1
add delete precondition
2016-03-25 11:21:39 -07:00
Timothy St. Clair
d3da93c174
Renaming api/errors/etcd to api/errors/storage as it no longer
...
has any etcd specific dependencies. Reference issue #17546
2016-03-15 20:23:47 -05:00
AdoHe
5fdfc4bde3
fix can not export service bug
2016-03-05 11:23:50 -05:00
Wojciech Tyczynski
506899008f
Parallelization of namespace deletion
2016-02-25 16:33:25 +01:00
Wojciech Tyczynski
4eadc5e97b
Introduce RESTOptions to configure per-resource storage
2016-02-22 16:28:28 +01:00
feihujiang
ac9f890238
Support the subresource of service proxy
2016-02-18 15:16:05 +08:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
k8s-merge-robot
266d7aa5b3
Merge pull request #19783 from magicwang-cn/master
...
Auto commit by PR queue bot
2016-02-05 08:53:30 -08:00
Wojciech Tyczynski
31a6f90da1
Don't mix RVs from different resources
2016-02-05 09:23:34 +01:00
magicwang-cn
d2cf858560
make watch cache sizes configuratable of kube-apiserver
2016-02-05 15:47:27 +08:00
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Daniel Smith
5d713bb6aa
don't cross-pollinate RVs
2016-02-01 15:36:15 -08:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
Chao Xu
90b4662d8d
Add services/status path, and let the service controller uses Services.UpdateStatus()
2016-01-31 12:39:45 -08:00
Chao Xu
ebcff4b5e4
fix the namespaceScoped of cachers
2016-01-28 16:24:54 -08:00
Clayton Coleman
e2eb1b0dc4
19848: Retry service IP repair on conflict
...
Components can write services during startup, which results in the ip
allocator map being updated. Since core controllers *must* succeed for
the masters to start, we should retry a few times in order to pass.
2016-01-22 13:52:18 -05:00
Alex Mohr
1ab41d5238
Merge pull request #16509 from miminar/namespace_field_conv
...
Add missing field label conversions for Namespace
2016-01-21 10:27:02 -08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00