Commit Graph

311 Commits (3215e8535ae8afcf850fbaac9df7ff9abe42f9e0)

Author SHA1 Message Date
Timothy St. Clair dbdd1614e6 Fix for linkage issue with new testing utilities 2015-11-03 22:16:47 -06:00
k8s-merge-robot bad838f35c Merge pull request #16717 from liggitt/hpa_ref_validation
Auto commit by PR queue bot
2015-11-03 15:04:30 -08:00
Jordan Liggitt b3157d1445 Ensure HPA has valid resource/name/subresource, validate path segments 2015-11-03 14:46:17 -05:00
Wojciech Tyczynski 6246201eec Remove fakeClient from cacher_test. 2015-11-03 10:58:43 +01:00
Wojciech Tyczynski 8f385c563f Refactor code for creating Cacher. 2015-11-02 20:56:46 +01:00
Wojciech Tyczynski 652fb090eb Initial support for listing from in-memory cache. 2015-10-30 20:58:13 +01:00
krousey 848fed8f4b Merge pull request #16384 from derekwaynecarr/fix_memory_churn_etcd_helper
Large amount of memory churn in etcd helper prefixing keys
2015-10-29 10:02:07 -07:00
k8s-merge-robot d5be3635e5 Merge pull request #16273 from wojtek-t/list_options_in_api
Auto commit by PR queue bot
2015-10-29 01:57:29 -07:00
derekwaynecarr caebe7300b Large amount of memory churn in etcd helper 2015-10-27 16:35:07 -04:00
Timothy St. Clair 4cf5b348c8 Removal of fakeClient from etcd_watcher_test in leiu of NewEtcdTestClientServer 2015-10-27 13:32:56 -05:00
Wojciech Tyczynski aa30e38183 Pass resource version to storage List operation. 2015-10-27 10:03:58 +01:00
Wojciech Tyczynski d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
Timothy St. Clair 8140974f31 Removal of fakeClient from etcd_helper_test in leiu of NewEtcdTestClientServer 2015-10-23 16:23:27 -05:00
Wojciech Tyczynski 80be983668 Merge pull request #15392 from timothysc/etcd-remove-fakeclient
Initial commit to enable migrating tests off of FakeClient.
2015-10-22 15:24:34 +02:00
Jordan Liggitt 63fb6c07a5 Validate names in BeforeCreate 2015-10-21 14:11:41 -04:00
Timothy St. Clair c850a9ab61 Modifications to to remove FakeEtcdClient. Enables starting & stopping
an etcd server per unit tests that need them.
2015-10-19 22:06:19 -05:00
Wojciech Tyczynski d51965bf00 Autogenerate files. 2015-10-16 10:20:02 +02:00
Wojciech Tyczynski 2b17666b44 Avoid unnecessary copies in LIST 2015-10-14 14:04:14 +02:00
Wojciech Tyczynski 3d88a63b5d Refactor test objects to a separate package 2015-10-13 10:15:11 +02:00
Timothy St. Clair 2a2a2d79ff New etcd client modifications part 1 (context support)
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
k8s-merge-robot d9c56eed26 Merge pull request #15107 from caesarxuchao/fix-14384
Auto commit by PR queue bot
2015-10-08 21:40:52 -07:00
Paul Morie 227dd82119 Add PodSecurityContext and backward compatibility tests 2015-10-05 21:05:27 -04:00
Chao Xu d1cb0b7a7a returns StatusError in GetAllEventsSinceThreadUnsafe 2015-10-05 13:24:54 -07:00
Wojciech Tyczynski 907f2e9f89 Extend timeouts in cacher test 2015-09-30 08:26:58 +02:00
Brendan Burns 77fd388485 Increase a bunch of timeouts to reduce flakes 2015-09-23 11:09:03 -07:00
Daniel Martí 586cb9126a Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Kris f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
k8s-merge-robot 7cd7aaec9b Merge pull request #13910 from wojtek-t/watch_resoure_version
Auto commit by PR queue bot
2015-09-16 21:40:34 -07:00
k8s-merge-robot 22f698f5b0 Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo 4df68f03a3 change iff to if and only if to improve annotation readability 2015-09-16 08:29:36 +00:00
Wojciech Tyczynski 12eaf67acc Fix resourcVersion=0 in cacher 2015-09-15 16:17:27 +02:00
k8s-merge-robot 647288cde1 Merge pull request #13734 from wojtek-t/filter_in_storage
Auto commit by PR queue bot
2015-09-14 17:25:40 -07:00
Chao Xu 64bf839e9f refactor tests to use testapi rather than latest directly 2015-09-11 17:32:23 -07:00
Chao Xu dd6c121d7f massive changes 2015-09-11 17:31:47 -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
tummychow 78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Wojciech Tyczynski ed7d6ebd71 Filter List in Storage level to avoid additional copies. 2015-09-10 09:49:50 +02:00
Chao Xu 9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Wojciech Tyczynski d318b22f65 Move WatchCache to pkg/storage 2015-08-31 09:49:12 +02:00
Wojciech Tyczynski a12b7edc42 Fix deadlock in Cacher on etcd error 2015-08-26 08:02:21 +02:00
Jerzy Szczepkowski 46ca41c8e3 Merge pull request #12975 from wojtek-t/switch_cacher_for_pods
Switch on Cacher for pods, endpoints and nodes.
2015-08-21 10:28:38 +02:00
Wojciech Tyczynski ec6556987e Switch on Cacher for pods, endpoints and nodes. 2015-08-21 09:24:49 +02:00
Clayton Coleman 02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski 03413ddb4a Merge pull request #12782 from wojtek-t/cacher_deadlock
Fix deadlock in the cacher
2015-08-20 08:27:15 +02:00
Wojciech Tyczynski 90bf334fd1 Fix deadlock in the cacher 2015-08-19 08:17:25 +02:00
Jian Huang c350d325e9 Solve Static Check Error 2015-08-19 13:38:56 +08:00
Robert Bailey 08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Kris Rousey ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Clayton Coleman 5ddcef24a6 Fix failing test 2015-08-18 09:08:46 -04:00
Clayton Coleman b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Wojciech Tyczynski 3a71eb1bcc Store previous value in WatchCache for filtering 2015-08-18 09:33:34 +02:00
Wojciech Tyczynski e424da7d0d Implement Cacher for watch in apiserver 2015-08-14 09:44:42 +02:00
Wojciech Tyczynski 1426418af2 Remove dead code 2015-08-12 14:57:44 +02:00
Kris Rousey 565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Mike Danese 17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese 8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Paul Weil 2a61b55b59 expose codec in storage 2015-08-05 09:39:24 -04:00
Wojciech Tyczynski 3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
Wojciech Tyczynski 99d6b0e9f4 Rename storage interfaces 2015-07-30 10:34:57 +02:00
Wojciech Tyczynski d17985f1ad Move StorageInterface to pkg/storage. 2015-07-30 09:32:04 +02:00