Commit Graph

1008 Commits

Author SHA1 Message Date
hurf
1270764eb9 Fix description errro for client-certificate option
From "client key file" to "client certificate file".
2015-11-24 09:33:35 +08:00
k8s-merge-robot
06ef4b0a83 Merge pull request #17156 from feihujiang/moveListFunctionsFromRuntimeToMetaPackage
Auto commit by PR queue bot
2015-11-23 14:13:25 -08:00
k8s-merge-robot
203f119579 Merge pull request #17517 from krousey/request_tests
Auto commit by PR queue bot
2015-11-20 17:07:48 -08:00
Kris
7f6d2e8305 Cleaning up client request unit tests
1. Closing test servers that we open.
2. Remove dependency on Config and just call NewRESTClient directly
3. Remove auth tests as they are redundant to the tests in transport_test.go
2015-11-20 08:52:34 -08:00
k8s-merge-robot
f0b07c9c68 Merge pull request #16126 from krousey/client_breakup
Auto commit by PR queue bot
2015-11-20 01:47:22 -08:00
feihujiang
ad79fa6e84 Move list functions from runtime to meta package 2015-11-20 09:20:55 +08:00
Kris
9b75b88d4e Move client's tranport to a separate package 2015-11-19 14:55:47 -08:00
k8s-merge-robot
6383a3bc75 Merge pull request #17396 from krousey/podtest
Auto commit by PR queue bot
2015-11-19 08:54:31 -08:00
k8s-merge-robot
7536e776f3 Merge pull request #16931 from mikedanese/inclustercomponent
Auto commit by PR queue bot
2015-11-18 22:52:27 -08:00
Abhi Shah
3b014c71dd Merge pull request #17274 from mqliang/podController
fix errror message
2015-11-18 14:17:31 -08:00
Kris
4115738558 Change PodLogs test to use testClient validate
And also switch the 200s to http.StatusOK while I'm here.
2015-11-17 14:54:09 -08:00
Mike Danese
fb056c47b2 use inClusterConfig before using default config for cluster components 2015-11-17 10:37:40 -08:00
k8s-merge-robot
23d9d54b5f Merge pull request #17239 from fabianofranz/config_filename_debug
Auto commit by PR queue bot
2015-11-17 05:04:32 -08:00
k8s-merge-robot
849280f18d Merge pull request #16926 from liggitt/metrics_https
Auto commit by PR queue bot
2015-11-17 04:05:27 -08:00
Tim Hockin
ba383bcfeb Refactor IntOrString into a new pkg
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions.  No behavioral change.
2015-11-16 10:57:52 -08:00
Jordan Liggitt
165d7d5030 Enable specifying scheme/port for metrics client 2015-11-16 13:18:40 -05:00
k8s-merge-robot
89d7309c88 Merge pull request #16256 from mikedanese/daemon-gls
Auto commit by PR queue bot
2015-11-16 07:59:28 -08:00
mqliang
d7acd3d58f fix errror message 2015-11-15 09:49:35 +08:00
Paul Morie
1cb58baf2f Refactor map field handling for clientcmd.LoadFromFile 2015-11-14 09:44:31 -05:00
Fabiano Franz
cb3bfbc757 Debug filename in config loader 2015-11-13 16:17:59 -05:00
Mike Danese
7a7f31ead1 move daemonset to generalized label selector 2015-11-13 10:31:50 -08:00
k8s-merge-robot
dfb9ed2047 Merge pull request #17131 from pmorie/store-assert
Auto commit by PR queue bot
2015-11-13 00:01:13 -08:00
k8s-merge-robot
927f30b0a5 Merge pull request #17074 from krousey/timeout
Auto commit by PR queue bot
2015-11-12 11:20:34 -08:00
k8s-merge-robot
706d3a77a9 Merge pull request #16798 from derekwaynecarr/key_compaction
Auto commit by PR queue bot
2015-11-12 02:45:15 -08:00
k8s-merge-robot
b61a8fbb8a Merge pull request #16271 from jayunit100/hammer-backoff-metrics-part1
Auto commit by PR queue bot
2015-11-12 00:55:37 -08:00
Paul Morie
2377bada68 Add implements assertion for cache 2015-11-11 16:20:56 -05:00
Kris
eacf65ddce Renaming HTTPClientFunc to CreateHTTPClient 2015-11-11 11:54:58 -08:00
Kris
4a4d195419 Exposing http.Client for configurable timeouts 2015-11-10 13:40:51 -08:00
k8s-merge-robot
699c91d4c4 Merge pull request #17026 from mikedanese/spam
Auto commit by PR queue bot
2015-11-09 12:20:09 -08:00
Mike Danese
c91dac3270 up the log level on a super spammy statement 2015-11-09 11:26:30 -08:00
Wojciech Tyczynski
d80e0e837c Merge pull request #10707 from kargakis/logs-with-resource-builder
logs: Use resource builder
2015-11-09 16:40:10 +01:00
k8s-merge-robot
cf25625d46 Merge pull request #16929 from krousey/basic_auth_cleanup
Auto commit by PR queue bot
2015-11-07 09:58:27 -08:00
k8s-merge-robot
b8303a3983 Merge pull request #16859 from smarterclayton/allow_incluster_config
Auto commit by PR queue bot
2015-11-07 04:47:35 -08:00
k8s-merge-robot
9981f99949 Merge pull request #16849 from feihujiang/cleanupDeprecatedV1beta1Content
Auto commit by PR queue bot
2015-11-07 04:15:32 -08:00
k8s-merge-robot
354c6f3b12 Merge pull request #16834 from caesarxuchao/GroupVersion-Object
Auto commit by PR queue bot
2015-11-07 03:43:30 -08:00
k8s-merge-robot
d71a667aab Merge pull request #16821 from caesarxuchao/restclient-timeout
Auto commit by PR queue bot
2015-11-07 03:11:26 -08:00
derekwaynecarr
6ad7f1a8cb Add event correlation to client 2015-11-06 16:59:38 -05:00
Kris
0a4ee958c7 Use http's basic auth instead of manual encoding 2015-11-06 10:19:01 -08:00
k8s-merge-robot
c7d5f3cdca Merge pull request #16881 from krousey/client_path
Auto commit by PR queue bot
2015-11-06 01:11:21 -08:00
feihujiang
eac8d6a997 Cleanup the content of deprecated V1beta1 2015-11-06 13:42:51 +08:00
k8s-merge-robot
6b7115067d Merge pull request #16807 from smarterclayton/server_backpressure_on_etcd_down
Auto commit by PR queue bot
2015-11-05 21:19:30 -08:00
jayvyas
072980af14 HTTP Client request metrics: consolidating + client->server endpoint label, cleanups 2015-11-05 18:12:22 -05:00
Chao Xu
15e6ca5ac5 rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery 2015-11-05 14:52:58 -08:00
Kris
9e1afbceb0 Remove bad heuristic path manipulation 2015-11-05 14:42:36 -08:00
Clayton Coleman
2dc2db5d02 Config consumers should be able to recognize an empty config
For UX, it would be better if we presented an error for validation that
is "this config is empty" rather than the inaccurate "no server name" or
"no context name" errors. Returns a typed error.
2015-11-05 15:00:23 -05:00
kargakis
4fdb6d1331 logs: Use resource builder 2015-11-05 14:54:55 +01:00
Wojciech Tyczynski
ce95f68d2a Changes in codec interfaces 2015-11-05 13:52:22 +01:00
Chao Xu
ac0b7b5d3b remove RESTClient.Timeout 2015-11-04 16:48:24 -08:00
Chao Xu
0512d45986 document RESTClient.timeout 2015-11-04 16:13:55 -08:00
Clayton Coleman
3da15535b6 Provide backpressure to clients when etcd goes down
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.

In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping.  Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00