Clayton Coleman
363b616908
Expose exec and logs via WebSockets
...
Not all clients and systems can support SPDY protocols. This commit adds
support for two new websocket protocols, one to handle streaming of pod
logs from a pod, and the other to allow exec to be tunneled over
websocket.
Browser support for chunked encoding is still poor, and web consoles
that wish to show pod logs may need to make compromises to display the
output. The /pods/<name>/log endpoint now supports websocket upgrade to
the 'binary.k8s.io' subprotocol, which sends chunks of logs as binary to
the client. Messages are written as logs are streamed from the container
daemon, so flushing should be unaffected.
Browser support for raw communication over SDPY is not possible, and
some languages lack libraries for it and HTTP/2. The Kubelet supports
upgrade to WebSocket instead of SPDY, and will multiplex STDOUT/IN/ERR
over websockets by prepending each binary message with a single byte
representing the channel (0 for IN, 1 for OUT, and 2 for ERR). Because
framing on WebSockets suffers from head-of-line blocking, clients and
other server code should ensure that no particular stream blocks. An
alternative subprotocol 'base64.channel.k8s.io' base64 encodes the body
and uses '0'-'9' to represent the channel for ease of use in browsers.
2015-10-09 14:33:40 -04:00
Wojciech Tyczynski
2a62468fee
Merge pull request #15364 from piosz/req-test
...
Enabled autoscaling (based on reservation) e2e tests
2015-10-09 12:28:34 +02:00
Piotr Szczesniak
1f15c30825
Enabled autoscaling (based on reservation) e2e tests
2015-10-09 11:43:58 +02:00
k8s-merge-robot
a4ac5ef564
Merge pull request #14302 from timstclair/prometheus-update
...
Auto commit by PR queue bot
2015-10-09 02:35:09 -07:00
k8s-merge-robot
bdec6db9be
Merge pull request #14988 from bprashanth/IngressE2E
...
Auto commit by PR queue bot
2015-10-09 00:26:14 -07:00
k8s-merge-robot
86fdc3f85c
Merge pull request #15240 from mikedanese/job-fix-1
...
Auto commit by PR queue bot
2015-10-08 16:58:06 -07:00
Robert Bailey
49d6c86eb7
Merge pull request #14621 from jackgr/kubectl_apply
...
Add the kubectl apply command
2015-10-08 12:44:32 -07:00
Mike Danese
73f7242027
rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded
2015-10-08 10:41:22 -07:00
k8s-merge-robot
23b0cb3d0a
Merge pull request #15249 from brendandburns/flakes
...
Auto commit by PR queue bot
2015-10-08 06:34:37 -07:00
k8s-merge-robot
0129dadc66
Merge pull request #15253 from brendandburns/flakes4
...
Auto commit by PR queue bot
2015-10-08 05:09:15 -07:00
Piotr Szczesniak
952a058357
Merge pull request #15153 from wojtek-t/common_resync_period
...
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Marek Grabowski
bb43d07d28
Merge pull request #15231 from gmarek/fix-kubemark
...
Create a separate etcd instance for events in Kubemark
2015-10-08 11:22:52 +02:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
Piotr Szczesniak
7324cd68d2
Merge pull request #15218 from jszczepkowski/hpa-e2e-fix
...
Increased memory limit for horizontal pod autoscaler e2e test.
2015-10-08 07:34:17 +02:00
jackgr
703a3e19aa
Add the kubectl apply command.
2015-10-07 17:14:51 -07:00
Prashanth Balasubramanian
941963d953
Ingress E2E
2015-10-07 14:33:19 -07:00
Brendan Burns
4cd0997dbf
Add some more debugging info so we can determine why this test is flaking
2015-10-07 13:08:47 -07:00
Brendan Burns
c9c6c52ab4
improve reporting of which resources and which binaries went over limit
2015-10-07 11:59:24 -07:00
gmarek
28d79d83c1
Create a separate etcd instance for events in Kubemark
2015-10-07 17:15:55 +02:00
Filip Grzadkowski
6429c39a9e
Merge pull request #15220 from kubernetes/revert-14876-proxy_https
...
Revert "Allow specifying scheme when proxying"
2015-10-07 13:04:24 +02:00
Marek Grabowski
1ea59513cb
Merge pull request #15216 from gmarek/predicates
...
Change logging in scheduler_predicates e2e test
2015-10-07 13:03:56 +02:00
Filip Grzadkowski
c0532a432a
Revert "Allow specifying scheme when proxying"
2015-10-07 13:02:35 +02:00
Jerzy Szczepkowski
31bd5fda72
Increased memory limit for horizontal pod autoscaler e2e test.
...
Increased memory limit for horizontal pod autoscaler e2e test. Fixes #14667 .
2015-10-07 12:16:35 +02:00
Piotr Szczesniak
a8bd23542f
Fixed flaky cluster size autoscaling e2e.
2015-10-07 11:22:28 +02:00
gmarek
3b11feda97
Change logging in scheduler_predicates e2e test
2015-10-07 11:10:48 +02:00
k8s-merge-robot
61b3fecb1a
Merge pull request #14876 from liggitt/proxy_https
...
Auto commit by PR queue bot
2015-10-06 22:29:38 -07:00
Janet Kuo
f4cb23975b
Merge pull request #15044 from nikhiljindal/deploymentController
...
Enabling deployments on kubernernetes-upgrade-gce test suite
2015-10-06 18:11:00 -07:00
Abhi Shah
60b1abdaa5
Merge pull request #15178 from ArtfulCoder/stablekubeproxytest
...
increased number of tries to reduce test flakiness
2015-10-06 16:40:31 -07:00
nikhiljindal
c062afc6de
Enabling deployments on kubernernetes-upgrade-gce test suite
2015-10-06 14:50:25 -07:00
k8s-merge-robot
82a1b0efda
Merge pull request #15152 from mwielgus/exaples_err_check
...
Auto commit by PR queue bot
2015-10-06 14:15:02 -07:00
Abhishek Shah
b49ee4385e
increased number of tries to reduce test flakiness
2015-10-06 13:21:44 -07:00
Tim St. Clair
8d49c8e29a
Update prometheus libraries to new versions.
2015-10-06 12:56:14 -07:00
Brendan Burns
7ba48583fa
Merge pull request #15137 from brendandburns/flakes3
...
Add an environment variable override for AWS ssh keys
2015-10-06 10:43:45 -07:00
Marek Grabowski
5ad2483784
Merge pull request #15145 from piosz/initial-e2e
...
Implemented e2e test for Initial Resources
2015-10-06 14:07:34 +02:00
Marcin Wielgus
555cc5e579
Error check for waitForEndoint in e2e examples tests
2015-10-06 13:16:20 +02:00
Piotr Szczesniak
8262774a76
Implemented e2e test for Initial Resources
2015-10-06 10:24:35 +02:00
gmarek
42c6d716a5
Check for number of scheduled, not running nodes in scheduler_predicates test
2015-10-06 10:24:12 +02:00
gmarek
4dfd28086f
Wait for all HollowNodes to become ready in start-kubemark.sh
2015-10-06 09:20:53 +02:00
k8s-merge-robot
5ef529fa10
Merge pull request #15022 from quinton-hoole/2015-09-29-namespace-is-active-error
...
Auto commit by PR queue bot
2015-10-05 22:55:37 -07:00
Mike Danese
05ef8ed219
Merge pull request #15104 from mikedanese/ds-e2e
...
break up daemonset test into two small tests to isolate flakiness
2015-10-05 22:32:59 -07:00
Brendan Burns
f7105ea30f
Add an environment variable override for AWS ssh keys
2015-10-05 21:14:06 -07:00
Jordan Liggitt
b9ba3bd7c2
Allow specifying scheme when proxying
2015-10-05 22:12:10 -04:00
Alex Robinson
68a28945fa
Merge pull request #15105 from erictune/job-e2e-wait-more
...
Wait longer for job to complete
2015-10-05 17:00:03 -07:00
Alex Robinson
32b9d8aad0
Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
...
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese
fe820fc4df
break up daemonset test into two tests
2015-10-05 15:54:15 -07:00
Alex Robinson
4856c7c033
Merge pull request #14957 from thockin/services-e2e
...
Services e2e cleanup
2015-10-05 14:56:19 -07:00
Alex Robinson
dfbbec03ed
Merge pull request #14965 from bprashanth/podtracker
...
Record pod history in daemon restart e2e
2015-10-05 14:51:46 -07:00
Alex Robinson
d8120f5425
Merge pull request #14221 from timstclair/readiness-workers
...
Refactor readiness probing
2015-10-05 13:26:54 -07:00
Eric Tune
6ff6c7c731
Wait longer for job to complete
...
2 timeouts in last 30 e2e runs.
Tripling timeout.
Should normally not that that long.
Uses polling so will terminate early in normal case.
2015-10-05 12:55:24 -07:00
Tim Hockin
ada74893bf
Reduce timeouts in e2e tests by polling before sleeping
2015-10-05 12:49:46 -07:00