Commit Graph

826 Commits (e5b85194aa5e210ea503c7f579a129733009db44)

Author SHA1 Message Date
Brendan Burns 6aa7ce2689 addressed comments. 2015-09-01 12:00:56 -07:00
Wojciech Tyczynski 6dfe5b4b5a Refactoring of watch etcd tests. 2015-09-01 09:24:16 +02:00
Brendan Burns d993b8891d Addressed changes 2015-08-31 21:13:37 -07:00
Brendan Burns 855c7cedcc Address comments. 2015-08-31 21:13:37 -07:00
Brendan Burns b196d0f84b Add support for installing custom object APIs 2015-08-31 21:13:36 -07:00
Brendan Burns 7bfc8b5f37 Add dynamic APIs 2015-08-31 21:13:07 -07:00
k8s-merge-robot 2f9652c7f1 Merge pull request #13349 from nikhiljindal/daemonEtcdTest
Auto commit by PR queue bot
2015-08-31 14:54:28 -07:00
nikhiljindal 13ecd8a72c Adding deployment registry and exposing deployments in master 2015-08-31 10:47:04 -07:00
Clayton Coleman f9590a33fd Enable graceful deletion by enabling pods 2015-08-30 18:25:53 -04:00
nikhiljindal 48d6e30c5a Use testapi.Codec in daemon etcd tests 2015-08-28 22:37:54 -07:00
Wojciech Tyczynski 836be0c432 Refactoring of update etcd tests. 2015-08-28 15:47:40 +02:00
k8s-merge-robot 282bf64dcd Merge pull request #13181 from mikedanese/daemon_experimental
Auto commit by PR queue bot
2015-08-28 01:32:33 -07:00
nikhiljindal 25f2b85041 Deleting unused code 2015-08-27 19:52:47 -07:00
Mike Danese 8460e3913d move daemon controller to the experimental api 2015-08-27 11:47:35 -07:00
Wojciech Tyczynski 1bd9ff3bc9 Renaming in pkg/registry to reflect reality 2015-08-25 16:25:59 +02:00
Wojciech Tyczynski 61de4fc34d Refactoring of create etcd tests. 2015-08-24 15:11:00 +02:00
Brendan Burns 5d664892f2 Add a storage implementation for thirdpartyresources. 2015-08-21 17:21:40 -07: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
k8s-merge-robot 44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Saad Ali 264a658afa Merge pull request #12869 from vishh/daemon-registry-client
Daemon registry client
2015-08-20 17:24:11 -07:00
Clayton Coleman 02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski 5931cc74cc Unification refactoring to pkg/registry 2015-08-20 11:17:23 +02:00
Wojciech Tyczynski d45e41a584 Small refactoring of registry pod tests. 2015-08-20 10:41:29 +02:00
Vishnu Kannan ec22c2dd82 Address comments. 2015-08-19 14:13:02 -07:00
Wojciech Tyczynski dcc302ab38 Refactoring of list etcd tests. 2015-08-19 13:56:23 +02: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
Ananya Kumar 4a148f99d6 Add client code 2015-08-18 12:58:50 -07:00
Ananya Kumar b0679f18bc Add registry code 2015-08-18 12:58:50 -07:00
Kris Rousey ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Robert Bailey 4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Filip Grzadkowski 8d74f610f7 Merge pull request #12659 from mwielgus/horizontal_status
HorizontalPodAutoscaler status
2015-08-18 15:30:01 +02:00
Clayton Coleman 89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -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
Marcin Wielgus cac7038b3b HorizontalPodAutoscaler status 2015-08-18 11:46:54 +02:00
Wojciech Tyczynski 6cea2c8940 Prepare for refactoring registry etcd tests 2015-08-18 09:53:23 +02:00
Salvatore Dario Minonne 48018c402c to fix govet issue 2015-08-13 17:26:43 +02:00
Jerzy Szczepkowski f09a08d15a Refactoring of get etcd tests.
Refactoring of get etcd tests: introudced new generic resttest, TestGet; Converted all etcd tests to use it.
2015-08-13 12:14:04 +02:00
Wojciech Tyczynski 56fb29a83a Merge pull request #12344 from jszczepkowski/hpa-api
Added HorizontalPodAutoscaler object to experimental API.
2015-08-13 10:33:31 +02:00
Piotr Szczesniak 7186b48d48 Merge pull request #12528 from wojtek-t/rewrite_events
Rewrite events registry to be generic
2015-08-12 12:02:13 +02:00
Wojciech Tyczynski 2ced08358f Remove unused registry infrastructure 2015-08-12 11:23:10 +02:00
Wojciech Tyczynski 5de0f11b1d Unify events registry to be generic. 2015-08-12 11:23:07 +02:00
Jerzy Szczepkowski baa1612241 Added HorizontalPodAutoscaler object to experimental API.
Added HorizontalPodAutoscaler object to experimental API. Related to #12087.
2015-08-12 11:03:21 +02:00
Salvatore Dario Minonne 6915e2de36 to fix go vet: composite literal uses unkeyed fields 2015-08-12 10:54:58 +02:00
Jerzy Szczepkowski 84af5594b3 Cleanup: "scaler" -> "scale".
Cosmetic cleanup: "scaler" replaced with "scale" (the proper name for sub-resource).
2015-08-12 09:14:05 +02:00
Kris Rousey 565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
CJ Cullen 08334a3f32 Merge pull request #12460 from Huawei-PaaS/issue-build-error
Modify the TestCase TestServiceRegistryIPUpdate
2015-08-11 10:15:56 -07:00
Jian Huang 70ce862955 Fix the issue which TestServiceRegistryIPUpdate will randomly run failed. 2015-08-11 17:00:47 +00:00
Wojciech Tyczynski 5ea99310f1 Unify limitrange registry to be generic. 2015-08-11 09:06:44 +02:00
Alex Robinson 42e12f1c5f Merge pull request #12340 from wojtek-t/rewrite_service_etcd
Refactor "service" registry to use standard REST storage (and generic etcd)
2015-08-10 15:38:50 -07:00
Marek Grabowski 5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Wojciech Tyczynski 79125f460c Services using standard REST storage 2015-08-10 13:27:44 +02:00
Wojciech Tyczynski d11ab96446 Extract non-storage operations from service etcd 2015-08-10 13:27:44 +02:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Marcin Wielgus 91584c6b3b Experimental Scale subresource 2015-08-07 12:00:42 +02:00
Wojciech Tyczynski 871ca7a05f Merge pull request #12320 from mikedanese/rewrite-pr-issue-links
rewrite all links to issues and PRs to k8s links
2015-08-06 09:55:44 +02:00
Wojciech Tyczynski 20e84d2eb1 Remove unused members 2015-08-06 09:00:42 +02:00
Mike Danese fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07: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
Mike Danese a23ee556ad Merge pull request #11999 from brendandburns/attach2
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Brendan Burns e8e756a719 Add pod/attach to the APIServer. 2015-07-30 10:55:53 -07: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
Mike Danese 85781b674d Merge pull request #11968 from brendandburns/flow
Optionally limit flow on all upgraded proxy connections
2015-07-29 16:00:43 -07:00
Brendan Burns 99b02bfe73 Add optional throttling to the proxy/exec/attach methods 2015-07-29 13:51:20 -07:00
Wojciech Tyczynski 7ce51db40d Rename StorageInterface methods 2015-07-29 08:02:13 +02:00
Wojciech Tyczynski 9d943df397 Private EtcdHelper 2015-07-27 09:20:13 +02:00
nikhiljindal 1517b66001 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Zach Loafman 9db58ff2b2 Merge pull request #10632 from nikhiljindal/revert-etcderrors
Revert "Merge pull request #10246 from nikhiljindal"
2015-07-01 13:06:18 -07:00
nikhiljindal d82d5d11a7 Revert "Merge pull request #10246 from nikhiljindal"
This reverts commit a902a2f014, reversing
changes made to 7df8d76a93.
2015-07-01 11:07:18 -07:00
Jeff Lowdermilk f0a36b0afd Make UpgradeAwareProxyHandler use transport.Dial if provided
This change is required for the handler to work with sshtunnels.
Without it, `kubectl exec` and `kubectl port-forward` are broken
when an ssh proxy is used (see #9292). I manually verified this
fixes that issue, e2e test coming shortly.
2015-07-01 10:56:05 -07:00
Zach Loafman df753b74ed Merge pull request #10509 from nikhiljindal/getToPost
Support both GET and POST methods in api server for /exec and /portforward
2015-06-30 15:56:31 -07:00
nikhiljindal 4b7f7ce535 Dont return raw etcd errors 2015-06-29 16:18:46 -07:00
nikhiljindal e0d48d4983 Support both GET and POST methods for /exec and /portforward 2015-06-29 16:01:01 -07:00
Alex Robinson b758be0daf Merge pull request #9047 from kazegusuri/allocator_test
add unit test for allocator
2015-06-29 14:11:48 -07:00
Alex Robinson 21f750fdc3 Merge pull request #10287 from wojtek-t/changes_to_registry
Remove some dead code
2015-06-29 11:02:41 -07:00
Robert Bailey ed03973ae0 Merge pull request #10269 from nikhiljindal/eventsErrors
Returning api/errors from event/rest.go
2015-06-26 17:12:09 -07:00
nikhiljindal 7b56d89e80 Returning api/errors from event 2015-06-26 13:51:55 -07:00
Maxwell Forbes 712f303350 Merge pull request #9736 from sdminonne/bug_fix2
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Maxwell Forbes 11f9fd1dcd Merge pull request #10074 from nikhiljindal/retryUpdate
Allow update without resource version
2015-06-24 10:55:41 -07:00
Wojciech Tyczynski f6153445f1 Remove dead code 2015-06-24 15:14:33 +02:00
nikhiljindal 221ae4d63b Allow update without resource version 2015-06-23 00:16:08 -07:00
nikhiljindal 4e02aef87d Updating the error message to say node instead of minion 2015-06-22 12:52:14 -07:00
Salvatore Dario Minonne 4b13faa346 To add validation for service ports when defined as string (fixing issue #9734) 2015-06-22 17:21:51 +02:00
Satnam Singh b964f3c911 Merge pull request #9739 from bprashanth/sno
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Prashanth Balasubramanian 9ed9bd1c4f Add a generation number to the object meta of all objects, and status of rcs 2015-06-19 14:32:08 -07:00
Satnam Singh d96a9a1c0a Merge pull request #9862 from fgrzadkowski/bump_ectd_client
Bump ectd client and fix initializing IP/Port allocators when etcd is not reachable
2015-06-19 14:22:47 -07:00
Filip Grzadkowski 4c0c7dd879 Fix intializing IP/Port allocators when etcd is not reachable. 2015-06-19 21:20:52 +02:00
Satnam Singh 078e85cfdb Merge pull request #10076 from caesarxuchao/pr/9966/head
based on #9966: fix annoying 'please check...' messages; remove v1beta1&2 ref
2015-06-19 11:56:47 -07:00
Chao Xu 5673f73378 fix the left pre V1 field names in 290c4618c331f4f30a278af520121ff35 2015-06-18 18:44:55 -07:00
Saad Ali b25de6e273 Merge pull request #9916 from caesarxuchao/streamer
remove string "v1beta1" from streamer_test.go
2015-06-17 11:33:34 -07:00
Chao Xu 271a63f486 remove string "v1beta1" from streamer_test.go 2015-06-16 17:10:58 -07:00
Saad Ali a1e3e536c3 Merge pull request #9820 from thockin/dead-code
Remove dead code
2015-06-16 15:49:53 -07:00
Tim Hockin 29d4d7a16d Remove dead code 2015-06-15 14:40:36 -07:00
jhadvig ad36f5d2f1 Making error msg for updating resource version more clear 2015-06-15 17:05:08 +02:00
Abhi Shah f5b6597492 Revert "Make error msg for updating resource version more clear" 2015-06-10 12:54:52 -07:00
Jakub Hadvig 90dcd347ac Make error msg for updating resource version more clear 2015-06-10 14:03:06 +02:00
CJ Cullen 2d85e4a094 Use Node IP Address instead of Node.Name in minion.ResourceLocation.
Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).

Include internalIP in gce NodeAddresses.
2015-06-08 16:58:00 -07:00