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
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
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
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
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
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
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
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
Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
k8s-merge-robot
c8fe00b94f
Merge pull request #16711 from liggitt/remotecommand_error
...
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
Jordan Liggitt
ddae749111
Read error from failed upgrade attempts
2015-11-02 22:39:58 -05:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
huangyuqi
b69b498235
use the defined constant variable
2015-11-02 15:32:53 +08:00
Mike Danese
9bdb860eeb
add apigroup installer and tests
2015-10-31 11:42:38 -07:00
Wojciech Tyczynski
aac55d4795
Unify List() signature in clients
2015-10-30 15:43:40 +01:00
Chao Xu
69932aecb0
Let discoveryClient use RESTClient;
...
Ignore 403 and 404 error when discovering server-supported group/version
2015-10-29 09:55:32 -07:00
Wojciech Tyczynski
579fa74977
Add test for TimeoutSeconds parameter
2015-10-28 15:48:36 +01:00
k8s-merge-robot
d228fd6d9c
Merge pull request #15809 from mikedanese/deploy
...
Auto commit by PR queue bot
2015-10-27 19:25:12 -07:00
Daniel Smith
424afd4cfb
Merge pull request #15971 from jlowdermilk/client-http-content-type
...
Set Content-Type in headers of client http requests
2015-10-27 15:33:32 -07:00
Wojciech Tyczynski
4d117dff6f
Fix timeoutSeconds parameter
2015-10-27 15:36:54 +01:00
k8s-merge-robot
dbf9a53de9
Merge pull request #15953 from smarterclayton/return_unmodified_error_on_neg
...
Auto commit by PR queue bot
2015-10-26 08:15:40 -07:00
Mike Danese
8acf01d620
add status subresource for deployment
2015-10-26 00:12:58 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
k8s-merge-robot
4f17b4b39c
Merge pull request #15961 from ncdc/stream-protocol-negotiation
...
Auto commit by PR queue bot
2015-10-25 07:26:41 -07:00
Clayton Coleman
5b137a64a8
Return errors directly from negotiation
...
Otherwise we're hiding problems in connectivity
2015-10-24 14:29:02 -04:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
k8s-merge-robot
570a9dc18f
Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
...
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Andy Goldstein
6fddb0e83a
Add httpstream.Handshake unit test
2015-10-23 14:09:41 -04:00
Saad Ali
76c5e0e553
Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config"
2015-10-22 21:25:38 -07:00
k8s-merge-robot
a6b8e112ac
Merge pull request #12919 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Jeff Lowdermilk
583246a22f
Set Content-Type in client http request header when posting objects
2015-10-22 13:50:28 -07:00
Chao Xu
eb3a80156a
let kubectl api-versions use the discovery client
2015-10-22 10:19:34 -07:00
Andy Goldstein
ad4f108bfa
Move port forward protocol constant to subpackage
...
Move port forward protocol name constant to a subpackage underneath
pkg/kubelet to avoid flags applicable to the kubelet leaking into
kubectl. Eventually, handlers for specific protocol versions will move
into the new subpackage as well.
2015-10-21 22:37:26 -04:00
Andy Goldstein
ff9883d9ec
Address code review comments
2015-10-21 21:53:51 -04:00
Andy Goldstein
6c7b519619
Move protocol handlers to separate files
2015-10-21 21:53:51 -04:00
Andy Goldstein
3d1cafc2c3
Add streaming subprotocol negotiation
...
Add streaming subprotocol negotiation for exec, attach, and port
forwarding. Restore previous (buggy) exec functionality as an
unspecified/unversioned subprotocol so newer kubectl clients can work
against 1.0.x kubelets.
2015-10-21 21:53:51 -04:00
k8s-merge-robot
f12171b430
Merge pull request #16020 from wojtek-t/fix_request_tests
...
Auto commit by PR queue bot
2015-10-21 16:42:54 -07:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
k8s-merge-robot
071d21257f
Merge pull request #15808 from caesarxuchao/fix-kubectl-explain
...
Auto commit by PR queue bot
2015-10-21 07:04:32 -07:00
Wojciech Tyczynski
433ccf0043
Fix broken Request test
2015-10-21 11:09:29 +02:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
Chao Xu
5f210c6473
fix names in comments
2015-10-19 16:10:02 -07:00
Chao Xu
6f0f87b629
make kubectl explain work for extensions API
2015-10-19 10:21:56 -07:00
k8s-merge-robot
75c977d200
Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
...
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
k8s-merge-robot
09a3871506
Merge pull request #15755 from zhengguoyong/del_capatical_packagename_for_cadvisorApi2
...
Auto commit by PR queue bot
2015-10-18 04:04:11 -07:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
Chao Xu
5859da3e1f
add discovery client
2015-10-16 14:20:21 -07:00
eulerzgy
31c09bdcb8
Del capatical local packagename for cadvisorApi
2015-10-16 11:03:50 +08:00
k8s-merge-robot
7ef2a1b293
Merge pull request #15427 from brendandburns/controllerversion
...
Auto commit by PR queue bot
2015-10-15 05:38:33 -07:00
k8s-merge-robot
130e6a7a4d
Merge pull request #15468 from feiskyer/volume-typo-error
...
Auto commit by PR queue bot
2015-10-15 05:08:33 -07:00
k8s-merge-robot
081f05c207
Merge pull request #14575 from soltysh/jobs_podtemplate_not_pointer
...
Auto commit by PR queue bot
2015-10-15 03:28:19 -07:00
Brendan Burns
0c730f4ea7
update
2015-10-14 18:22:19 -07:00
Brendan Burns
5afbf578b0
Add a method for getting supported resources on a server
2015-10-14 15:51:26 -07:00
Maciej Szulik
98fa29adfd
Make PodTemplateSpec for Job not a pointer, since it's a required field
2015-10-14 11:37:11 +02:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
k8s-merge-robot
dfb400e2e9
Merge pull request #15268 from caesarxuchao/fix-14126
...
Auto commit by PR queue bot
2015-10-13 19:30:17 -07:00
Chao Xu
b443f1264c
Use PATCH instead of PUT when update events
2015-10-13 17:12:09 -07:00
Chao Xu
a5f42698b3
fix unit test
2015-10-13 13:22:54 -07:00
Chao Xu
493d2b6920
grep sed Experimental()
2015-10-13 13:22:54 -07:00
Chao Xu
c4ee22b5b6
grep sed NewExperimental
2015-10-13 13:22:22 -07:00
Chao Xu
9a812bd0c5
grep sed ExperimentalClient
2015-10-13 13:22:22 -07:00
Chao Xu
9aa163aa88
grep sed ExperimentalInterface
2015-10-13 13:22:22 -07:00
Chao Xu
10917084df
experimental.go
2015-10-13 13:22:22 -07:00
k8s-merge-robot
de1a9e3167
Merge pull request #15430 from liggitt/fix_tls_config_for
...
Auto commit by PR queue bot
2015-10-13 06:29:16 -07:00
k8s-merge-robot
2dec0826f7
Merge pull request #15351 from caesarxuchao/fix-14584-1
...
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
Dawn Chen
782102d437
Merge pull request #15224 from liggitt/proxy_https
...
Allow specifying scheme when proxying
2015-10-12 14:39:21 -07:00
Chao Xu
7817c2312c
fix rebase
2015-10-12 13:48:14 -07:00
Chao Xu
910c1fd130
fix exceptions
2015-10-12 13:34:07 -07:00
Chao Xu
fe7b85f6ea
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
8654227c08
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
58ed8fd6fe
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
654ceb6e5a
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
cbb3deb182
run goimports
2015-10-12 13:31:45 -07:00
Chao Xu
50a2c4c643
grep-sed
2015-10-12 13:31:45 -07:00
Dawn Chen
149ca1ec49
Merge pull request #14618 from smarterclayton/refactor_exec
...
Refactor exec to make attach useful without a client.Config
2015-10-12 11:44:34 -07:00