Commit Graph

945 Commits (720dc87967ac5b1f4e3973c965326c2907a18230)

Author SHA1 Message Date
Chao Xu 190ca2ebf2 add import_known_versions.go 2015-09-11 17:32:23 -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 ccd9e3e247 Run all automated tools 2015-09-11 16:11:08 -07:00
Daniel Smith 4c2adabf42 move; sed replace 2015-09-11 16:03:22 -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
Mike Danese b0457bee94 Merge pull request #13058 from mvdan/go1.5
Race condition and test fixes
2015-09-10 15:10:19 -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
Daniel Martí 71ca503d30 Try to fix flaky test in record/event
The error messages were inconsistent with what was actually being tested in
regards to timestamps being equal or not.
2015-09-10 11:44:14 -07:00
Mike Danese bf881f187e rename expapi.Daemon to expapi.DaemonSet 2015-09-10 08:34:26 -07:00
Jerzy Szczepkowski 6998247e1b Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed.
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed. Added unittest. Fixes #12735.
2015-09-09 10:59:43 +02:00
Chao Xu 9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Andy Goldstein c83786979c Various exec fixes
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:

echo foo | kubectl exec -i <pod> -- cat

Without this change, the `cat` process never terminates and `kubectl
exec` hangs.

Fix interactive exec sessions hanging after you type 'exit'.

Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`

Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`

Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
Piotr Szczesniak 6698257239 Merge pull request #13523 from roofmonkey/experimental-api-fixes
Experimental api fixes
2015-09-04 09:07:14 +02:00
Piotr Szczesniak 14f4d3ad0e Merge pull request #13425 from jszczepkowski/hpa-kind
Fixed kind to resource convertion in scale client.
2015-09-04 09:04:00 +02:00
Timothy St. Clair 2b7e758c3c Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
k8s-merge-robot 5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
Nikhil Jindal aeeffbd665 Merge pull request #13419 from nikhiljindal/deploymentController
Adding support for deployments to client library
2015-09-02 14:26:50 -07:00
k8s-merge-robot f5c2d90c3a Merge pull request #12293 from deads2k/testclient-specific-reaction
Auto commit by PR queue bot
2015-09-02 09:18:24 -07:00
nikhiljindal 5fb50cc1b6 Adding support for deployments to unversioned client 2015-09-01 20:15:58 -07:00
deads2k 7e180c258d update testclient for delegating reaction chain 2015-09-01 12:58:35 -04:00
Dan Mace da5e4d7bd5 Rolling updater availability enhancements
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
Jerzy Szczepkowski a2ca4954f4 Fixed kind to resource convertion in scale client.
Fixed kind to resource convertion in scale client.
2015-09-01 10:18:27 +02:00
Wojciech Tyczynski d318b22f65 Move WatchCache to pkg/storage 2015-08-31 09:49:12 +02:00
Wojciech Tyczynski e202f9c797 Add resource version to Store Replace params. 2015-08-31 09:49:12 +02:00
k8s-merge-robot 98801225d6 Merge pull request #13279 from pmorie/client-host-err
Auto commit by PR queue bot
2015-08-28 12:02:59 -07:00
Paul Morie e9851c6dea Quote malformed host values in unversioned client helper 2015-08-27 17:30:31 -04:00
Mike Danese 8460e3913d move daemon controller to the experimental api 2015-08-27 11:47:35 -07:00
Jerzy Szczepkowski 08594dab8c Added ProxyGet method to services client.
Added ProxyGet method to services client.
2015-08-26 16:38:13 +02:00
Filip Grzadkowski 1a8b400c3e Merge pull request #13147 from mwielgus/hpa_impl
Implementation of HorizontalPodAutoscaler
2015-08-26 15:36:27 +02:00
Marcin Wielgus df0a0ed37e Implementation of HorizontalPodAutoscaler 2015-08-26 14:51:54 +02:00
Yu-Ju Hong 9f508e9422 Merge pull request #13076 from invenfantasy/master
Cleanup deprecated Forever function
2015-08-25 10:07:10 -07:00
Nikhil Jindal a945785409 Merge pull request #13081 from mwielgus/hpa_heapster_query
Scale subresource and Heapster querying in HorizontalPodAutoscaler
2015-08-24 18:54:28 -07:00
Jordan Liggitt 11b4a9601b Fix portforward test flake with GOMAXPROCS > 1 2015-08-24 17:11:44 -04:00
Andy Goldstein 725aa9656e Correctly error when all port forward binds fail
Fix port forwarding code such that if all local binds fail, an error is
returned instead of waiting for an interrupt.
2015-08-24 10:56:26 -04:00
Marcin Wielgus 1ce8bb7bb2 Scale subresource querying in HorizontalPodAutoscaler 2015-08-24 16:42:25 +02:00
caogaojin 60cb4406e9 Cleanup deprecated Forever function
Since util.Forever function has been deprecated, we should cleanup these
pieces of code.
2015-08-24 10:31:59 +08:00
Saad Ali 264a658afa Merge pull request #12869 from vishh/daemon-registry-client
Daemon registry client
2015-08-20 17:24:11 -07:00
Saad Ali 50de5404dd Merge pull request #12772 from smarterclayton/allow_nil_reflector
Allow a nil expectedType in cache.Reflector
2015-08-20 11:08:30 -07:00
Wojciech Tyczynski 3b3a706eef Merge pull request #12792 from jszczepkowski/hpa-controller2
Experimental client for horizontal pod autoscaler.
2015-08-20 10:50:02 +02: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
Clayton Coleman f1e4f652d0 Allow a nil expectedType in cache.Reflector
Reflector currently requires a hard type, which prevents
cache.Reflector from being used generically (like a client
command that uses the resource.Builder to get objects of
any type). Relaxing this restriction when expectedType is nil.
2015-08-19 18:30:37 -04:00
Saad Ali ecc6ce773b Merge pull request #12847 from jszczepkowski/prefix-cleanup
Cleanup of api path creation in client tests.
2015-08-19 14:50:42 -07:00
Saad Ali 25dfc9932f Merge pull request #12913 from gmarek/remove_healthcheck
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Vishnu Kannan ec22c2dd82 Address comments. 2015-08-19 14:13:02 -07:00
Saad Ali d42864b0ad Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
gmarek 33c894a6ae Remove unused (?) HealthCheck from KubeletClient 2015-08-19 14:35:43 +02:00
gmarek 3c907b33e1 Remove external function setting Kubelet flags 2015-08-19 13:20:41 +02:00
Jerzy Szczepkowski f2e15fd538 Experimental client for horizontal pod autoscaler.
Implementation of experimental client for horizontal pod autoscaler. Placeholder implementation for controller for horizontal pod autoscaler.
2015-08-19 09:39:17 +02:00
Jerzy Szczepkowski 40b121b64c Cleanup of api path creation in client tests.
Cleanup in client tests: use testapi.ResourcePathWithPrefix function instead of manually create api path.
2015-08-19 09:25:12 +02:00
Wojciech Tyczynski 90bf334fd1 Fix deadlock in the cacher 2015-08-19 08:17:25 +02:00
Janet Kuo 44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Ananya Kumar 4a148f99d6 Add client code 2015-08-18 12:58:50 -07:00
Kris Rousey 9cea046f42 Get the unversioned client to build 2015-08-18 10:03:19 -07:00
Kris Rousey 7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00
Wojciech Tyczynski 3a71eb1bcc Store previous value in WatchCache for filtering 2015-08-18 09:33:34 +02:00
Maciej Szulik 686f764fc7 Allow other client's implementation to reuse NewListWatchFromClient by passing in the Getter interface, responsible for accessing RESTClient's Get method. 2015-08-17 15:25:03 +02:00
Brendan Burns c5cfc1b83c Merge pull request #12706 from smarterclayton/test_fails_on_no_ipv6
Unit test fails when ipv6 is not available
2015-08-14 20:26:40 -07:00
Clayton Coleman c885b2652d Unit test fails when ipv6 is not available 2015-08-14 13:20:03 -04:00
Wojciech Tyczynski e424da7d0d Implement Cacher for watch in apiserver 2015-08-14 09:44:42 +02:00
jiangyaoguo 5d3522dc7a Keep event reason consistant in scheduler and controller 2015-08-13 11:33:32 +08:00
CJ Cullen 811b93ef2f Merge pull request #12604 from krousey/clientauth
Moving clientauth package to be under client
2015-08-12 16:06:01 -07:00
Kris Rousey 2a17dbff13 Moving clientauth package to be under client 2015-08-12 14:43:17 -07:00
CJ Cullen 098dc407d6 Merge pull request #12550 from eparis/update-BindKubeletClientConfigFlags
Change BindKubeletClientConfigFlags to use - in flag names instead of _
2015-08-12 13:05:37 -07:00
CJ Cullen 077246219b Merge pull request #12549 from eparis/remove-BindClientConfigFlags
Remove BindClientConfigFlags entirely
2015-08-11 18:08:00 -07:00
Kris Rousey 565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Eric Paris 3547920d13 Change BindKubeletClientConfigFlags to use - in flag names instead of _
The only user of this function is using pflags and does have name
normalization. It might break something out of tree, but that's
impossible to prevent...
2015-08-11 16:31:27 -04:00
Eric Paris 1333fad22a Remove BindClientConfigFlags entirely
They are unused.
2015-08-11 16:26:24 -04: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
Marek Grabowski 41aa56a6c6 Merge pull request #12448 from smarterclayton/extra_newlines
Extra newlines in error output
2015-08-10 09:55:25 +02:00
Clayton Coleman c46165de19 Extra newlines in error output
StandardErrorMessage does not have a newline by default, other
error messages should not end with a newline.
2015-08-09 11:41:52 -04:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Yifan Gu 053db8dba7 kubelet/dockertools: Refactor image pulling for pod infra container.
Replace the trunk of pull image code with dockerManagner.pullImage().
Also add tests to verify the image pulling/pulled events.
2015-08-07 11:42:04 -07:00
Jerzy Szczepkowski acefdc9daf Merge pull request #12355 from derekwaynecarr/test_events_ns
Event test client may or may not be namespaced
2015-08-07 15:26:52 +02:00
Wojciech Tyczynski 52e3af4e93 Implement watchCache structure. 2015-08-07 08:29:17 +02:00
Dawn Chen 122d76a2ef Merge pull request #11820 from liggitt/reuse_round_tripper
Reuse round tripper for identical TLS configurations
2015-08-06 16:04:02 -07:00
Jordan Liggitt 5ec4909610 Reuse round tripper for identical TLS configurations 2015-08-06 17:51:31 -04:00
Dawn Chen c1c03bb4ca Merge pull request #12139 from kargakis/avoid-reallocs-in-index
cache: Avoid reallocs in Index
2015-08-06 13:00:02 -07:00
derekwaynecarr 72be244383 Event test client may or may not be namespaced 2015-08-06 15:22:52 -04:00
Wojciech Tyczynski fcc78cd0f3 Fix head 2015-08-06 13:57:23 +02:00
Wojciech Tyczynski 79684af47b Merge pull request #12241 from uluyol/clientexp
Add experimental client
2015-08-06 13:43:06 +02: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
kargakis 95a27394cc cache: Avoid reallocs in Index 2015-08-05 16:59:08 +02:00
Muhammed Uluyol 35f64961a8 Add experimental client 2015-08-04 18:44:17 -07:00
Alex Mohr e17aafa7dd Merge pull request #11679 from bprashanth/haproxy
Auto commit by PR queue bot
2015-08-04 15:35:44 -07:00
deads2k 182885e897 make testclient more precise 2015-08-04 13:35:59 -04:00
Prashanth Balasubramanian 81d91b1f05 Bare metal loadblancers 2015-08-03 21:35:24 -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 97cb1cd071 Add support for attach to kubectl 2015-07-30 12:56:18 -07:00
deads2k c5ef83b29b relativize paths in kubeconfig files 2015-07-30 14:57:38 -04:00
deads2k 55f574c267 switch kubeconfig types to internal map[string]*struct 2015-07-30 14:57:38 -04:00
Mike Danese aca1eb6184 Merge pull request #11983 from caesarxuchao/11854
downgrade errors returned by watchHandler in reflector.go to warnnings
2015-07-30 08:20:05 -07:00
Mike Danese 1b84fb7d74 make testclient threadsafe by guarding internal state with accessors 2015-07-29 16:17:17 -07:00
Mike Danese 8ab8d90b52 Merge pull request #11925 from deads2k/multi-index
support multiple index values for a single object
2015-07-29 13:12:08 -07:00
Mike Danese f51c27e6f3 Merge pull request #10837 from ncdc/fix-9119
Deflake TestRequestExecuteRemoteCommand
2015-07-29 10:55:13 -07:00
Chao Xu 3b11705a99 downgrade errors returned by watchHandler in reflector.go to warnnings 2015-07-29 10:32:48 -07:00
deads2k 9386db8c99 support multiple index values for a single object 2015-07-29 07:54:09 -04:00
Mike Danese d167fa27e0 rename StoreToControllerLister -> StoreToReplicationControllerLister to make room for more controllers 2015-07-27 16:13:47 -07:00
Prashanth Balasubramanian f4fe40e2d1 Delete overlapping controllers, add clarity to docs 2015-07-24 12:13:26 -07:00
Mike Danese ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese 5c6f4f5906 Merge pull request #10024 from deads2k/name-reflectors
add originator to reflector logging
2015-07-24 10:23:34 -07:00
Mike Danese 8b990263e9 Merge pull request #11057 from liggitt/close_body
Close resp.Body before returning error
2015-07-24 09:57:23 -07:00
Vish Kannan 3d1e40bca2 Merge pull request #11171 from markturansky/list_index_keys
Added ability to list index keys
2015-07-23 17:52:11 -07:00
Tim Hockin 1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Vish Kannan 136d53466a Merge pull request #10892 from nikhiljindal/beta1
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
Andy Goldstein 9e97e4d38b Deflake remote command execution test 2015-07-23 16:54:10 -04:00
Jordan Liggitt 39a5e1b929 Close resp.Body before returning error 2015-07-23 10:45:55 -07:00
markturansky e5a4b75421 Added ability to get generated values of an index func 2015-07-23 10:00:04 -04:00
Philipp Kern fbbc49df30 pkg/client/doc.go: update example to make it compile
The client example does not compile (double pointer to config, missing
import, List() returning two values); fix it.
2015-07-20 23:27:08 +02:00
Rohit Jnagal ebc11e11ad Merge pull request #9782 from andronat/9578_TestCreateCleanWithPrefix
TestCreateCleanWithPrefix was failing if env variables existed
2015-07-10 10:04:20 -07:00
deads2k f203b16cd9 add originator to reflector logging 2015-07-10 11:34:49 -04:00
nikhiljindal fc4da6844e removing references to pre v1beta3 apis 2015-07-08 13:51:43 -07:00
MarkDv ab40fca77c align example with code implementation 2015-07-07 02:05:15 -07:00
Yu-Ju Hong ad88cf9a99 Merge pull request #10557 from smarterclayton/override_auth
The bearer token client transport should not override Authorization
2015-07-06 15:04:45 -07:00
Zach Loafman 5dbe90f0ba Merge pull request #10493 from krousey/namespace
Unify command line namespace resolution
2015-07-01 19:33:44 -07:00
nikhiljindal 274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Clayton Coleman 4e7526fc18 The bearer token client transport should not override Authorization
If an authorization header is already set via the client or request,
the bearer transport for the client should not override the
Authorization header.

Allows one client to be used for multiple users when acting as a
proxy or gateway.
2015-07-01 16:14:25 -04:00
Kris Rousey ffa764d60b Unify command line namespace resolution
This change allows the namespace in kubeconfig to be overridden by
specifying the namespace in the spec file. If namespace is explicitly
provided in the command line flags and the spec file has a different
namespace, this will cause an error.
2015-07-01 12:59:17 -07:00
CJ Cullen 0e2be0d320 Fix record tests 2015-06-30 17:08:27 -07:00
Zach Loafman 9a5891dc89 Merge pull request #10391 from wojtek-t/longer_metrics
Increase the length of sliding window for latency metrics
2015-06-30 16:04:53 -07:00
Zach Loafman 686f5a3084 Merge pull request #10556 from smarterclayton/remove_hardcoded_version
Do not hardcode version
2015-06-30 13:53:35 -07:00
Clayton Coleman 873fa1067e Do not hardcode version
The version is inferred automatically by client.New in
SetKubernetesDefaults(), and also negotiated.
2015-06-30 10:30:58 -04:00
Anastasis Andronidis 530369cc01 TestCreateCleanWithPrefix was failing if env variables existed 2015-06-29 23:14:36 +02:00
Alex Robinson 10a0dc9aae Merge pull request #9928 from jlowdermilk/version-negotiate-tests
Unittest for #9762
2015-06-29 13:34:13 -07:00
Robert Bailey 0048eae8eb Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Wojciech Tyczynski 4c4d59a236 Increase the length of sliding window for latency metrics 2015-06-26 13:08:21 +02:00
Steve Kuznetsov 3008ff6150 Changed HTTPGetAction to allow user-defined schemes 2015-06-25 16:59:12 -04:00
Maxwell Forbes 5e748c1d47 Merge pull request #10070 from lavalamp/e2eProxyFix
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Mike Danese 5760fe1957 use ca.crt as client certificate authority for inClusterConfig 2015-06-24 15:10:20 -07:00
Daniel Smith bee68e48cd Have client store status code in Result 2015-06-23 18:48:01 -07:00
Jeff Lowdermilk 5e25827919 Merge pull request #10204 from caesarxuchao/pr/9754/head
Continue on #9754, Improvements to the guestbook README, switch to .yaml files
2015-06-23 09:44:06 -07:00
Chao Xu 59b654c996 fix tests for 22f1b07858 2015-06-22 17:10:09 -07:00
Mike Danese 0da17683f0 log a message when we fall back to service account 2015-06-19 17:52:38 -07:00
Satnam Singh 29ffee51a8 Merge pull request #10102 from mikedanese/kubeconfig-bug-fix
make clientcmd use inClusterConfig only if no other configs are available
2015-06-19 16:45:33 -07: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
Mike Danese c93a7d644c make clientcmd use inClusterConfig only if no other configs are available 2015-06-19 12:41:10 -07: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
Satnam Singh 1d44d06190 Merge pull request #10032 from deads2k/client-debugging
add debugging transport for client
2015-06-18 14:24:03 -07:00
Mike Danese 3de11e2fa8 reenable patch serverside using strategic-merge-patch 2015-06-18 12:06:46 -07:00
deads2k bab0a61ef1 add debugging transport for client 2015-06-18 14:51:00 -04:00
Chao Xu 1be9789795 remove references to v1beta1/2 in listwatch_test.go 2015-06-17 17:23:33 -07:00
Jeff Lowdermilk 57a6355807 Unittest for #9762
Started looking at refactoring of the kubectl Factory, which
caused me to experience all 5 stages of grief. There are some options
for improving, but it probably warrants a proposal with some discussion/
feedback. In the meantime this tests `NegotiateVersion` in isolation.
2015-06-16 20:04:51 -07:00
Daniel Smith f990899290 fix annoying 'please check...' messages; remove v1beta1&2 ref 2015-06-16 16:21:54 -07:00
Brendan Burns 1dd18673ec Merge pull request #9762 from jlowdermilk/negotiate-api-version
kubectl negotiates api version to use based on client,server supported versions
2015-06-16 11:18:08 -07:00
Jeff Lowdermilk f31191224b kubectl negotiates apiversion to use based on client,server supported 2015-06-16 10:12:39 -07:00
nikhiljindal 3d63c71cbc Removing legacyBehavior param from pkg/client 2015-06-15 16:49:11 -07:00
Clayton Coleman bdbf477207 REST Client metrics capture grows unbounded
The URLs were unique by namespace and query parameter value, which means
an infinite number of metrics counters could be created.
2015-06-15 11:03:20 -04:00
krousey 934a5382ec Merge pull request #9496 from caesarxuchao/event_test-v1
update fieldPath in event_test.go to v1
2015-06-09 13:41:36 -07:00
krousey 3e7bcd1ecc Merge pull request #9182 from jdef/abspath_drops_config_prefix
ServerAPIVersions incorrectly squashes config.Prefix
2015-06-09 13:00:58 -07:00
Chao Xu 030099a5bd update fieldPath in event_test.go to v1 2015-06-09 10:45:55 -07:00
James DeFelice b5583db1d2 add UnversionedPath() to fix ServerAPIVersions() 2015-06-09 17:30:48 +00:00
krousey 5aa0219ada Merge pull request #9292 from cjcullen/test_pull_8946
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
krousey 49a6b629f8 Merge pull request #9171 from jdef/parse_prefix_from_server
parse apiserver prefix from client config host spec
2015-06-08 10:17:41 -07:00
CJ Cullen cb317604ab Some refactoring. Only selectively use ssh proxy.
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen 1ae8801387 Fix transport creation logic.
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
Brendan Burns 7ea533d871 Add the SSHTunnel transport to the kubelet client. 2015-06-05 14:55:15 -07:00
Quinton Hoole 8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
James DeFelice 4b8995f009 parse apiserver prefix from client config host spec, with unit test 2015-06-04 20:20:19 +00:00
markturansky 2829fadfad PV Recycling API 2015-06-04 15:39:34 -04:00
Brian Grant 656fa7bea1 Merge pull request #9225 from caesarxuchao/add-v1-tests-general
Add v1 tests
2015-06-03 22:18:21 -07:00
Chao Xu ca72165b20 remove most references to api.PreV1Beta3 2015-06-03 20:09:03 -07:00
Chao Xu 6b81c064ed change v1beta3 to v1 in test cases 2015-06-03 17:50:22 -07:00
Daniel Smith 67f53d2eff Make kubectl work inside a container in k8s 2015-06-03 12:48:07 -07:00
Eric Tune 6e3ff01fa7 Merge pull request #9092 from lavalamp/no-ro-nonbreaking
Nonbreaking changes working towards removing the RO port
2015-06-03 09:25:46 -07:00
Daniel Smith e3c0e38f1b Move cluster client creation to client.NewInCluster()
Built & pushed nettest:1.4.
2015-06-02 18:47:06 -07:00
Filip Grzadkowski 7cdfb2ac7f Reduce number of list requests in watch-based cache 2015-06-03 00:55:49 +02:00
Prashanth B 6c209ec193 Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"" 2015-05-29 09:24:39 -07:00
Tim Hockin b69fad211e Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones" 2015-05-28 10:23:55 -07:00
Wojciech Tyczynski 6ffe46a9e0 Merge pull request #8822 from bprashanth/fifo_rc
Wake up rcs when pods get DeletionFinalStateUnknown tombstones
2015-05-28 10:50:28 +02:00
Prashanth Balasubramanian 8fa66bd962 Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster 2015-05-27 16:45:51 -07:00
Tim Hockin fc8aa104ae Merge pull request #8670 from jbdalido/nilparameters
Quick fix for listPods with nil parameters
2015-05-27 15:39:23 -07:00
Dawn Chen b31505bfba Merge pull request #8646 from andronat/failed_test_TestCreateMissingContext
Test fails when arbitrary kubernetes master is set
2015-05-22 14:56:53 -07:00
jbdalido 6ea63e69ce fix for listPods with nil parameters 2015-05-22 16:21:13 +02:00
Anastasis Andronidis 66a758b85d Test fails when env variables are set 2015-05-22 01:12:55 +02:00
Jeff Lowdermilk 4ef79733b6 Remove pkg/api dependency from pkg/client/clientcmd/api 2015-05-21 11:47:50 -07:00
Daniel Smith 80c3506484 Merge pull request #8494 from liggitt/gate_tokens_controller
Wait until stores are filled before processing service account token events
2015-05-21 10:29:53 -07:00
Jordan Liggitt 49ceb82179 Wait until stores are filled before processing service account token events 2015-05-20 22:19:42 -04:00
Tim Hockin 75617e8760 Better kubelet logging for probes
Log when we actually run probes and event when they fail.  Print the output of
a probe, too.
2015-05-20 08:56:45 -07:00
Tim Hockin 70c94fad6d Don't rename api imports in conversions 2015-05-19 11:21:21 -07:00
Tim Hockin f66ca25d9f Rename AccessMode to PersistentVolumeAccessMode 2015-05-18 17:21:30 -07:00
Jeff Lowdermilk db09ceae25 Remove dependency on pkg/api from pkg/client/clientcmd/api 2015-05-15 19:03:34 -07:00
Yu-Ju Hong 4b40db3367 Remove /podInfo endpoint on kubelet
Kubelet sends pod status updates to the API server now. This endpoint is no
longer needed.
2015-05-14 17:51:26 -07:00
Masahiro Sano 3b27e73726 add client for podTemplate resource 2015-05-14 22:05:03 +09:00
Derek Carr f3835c1f7e Merge pull request #8123 from deads2k/expose-flag-bind
expose FlagInfo binding methods
2015-05-13 13:56:24 -04:00
deads2k bd66e9011d expose FlagInfo binding methods 2015-05-12 13:33:11 -04:00
Nikhil Jindal d75bd8bf2a Merge pull request #7101 from liggitt/service_account
ServiceAccounts
2015-05-12 10:23:41 -07:00
Derek Carr 3e4713787a Merge pull request #7436 from akram/fix_port_forward_listens_ipv_and_ipv4
Port forward now listens on IPv4 and IPv6 localhost address
2015-05-12 10:27:56 -04:00
Jordan Liggitt 53d55f4192 Add ServiceAccount API type, client 2015-05-11 17:18:05 -04:00
deads2k 19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
deads2k 6498fc1fda remove cmd respect for auth-path 2015-05-08 16:33:33 -04:00
Cesar Wong d954c31b22 Update Exec and Portforward client to use pod subresource 2015-05-07 14:25:14 -04:00
Prashanth Balasubramanian 4b0607cf0b Scheduler ignored nodes with unknown condition status 2015-05-06 18:32:52 -07:00
Daniel Smith 16a6fb8ef7 Replace calls to time.After with time.NewTimer for explicit stopping 2015-05-04 14:29:33 -07:00
Daniel Smith 36977ecb67 Merge pull request #7643 from bprashanth/rc_status
Requeue rc if a single get/put retry on status.Replicas fails
2015-05-04 12:15:30 -07:00
Prashanth Balasubramanian 864e12d995 Retry once and requeue on failure to update status.Replicas 2015-05-01 18:10:58 -07:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Clayton Coleman 1a8845af61 Merge pull request #7490 from smarterclayton/alter_list
Do not automatically decode runtime.RawExtension
2015-05-01 16:48:26 -04:00