Commit Graph

11254 Commits

Author SHA1 Message Date
k8s-merge-robot
b50e89e323 Merge pull request #23234 from nikhiljindal/swaggerRemoveurlQuery
Auto commit by PR queue bot
2016-03-22 11:47:40 -07:00
k8s-merge-robot
8f71655bcc Merge pull request #23325 from MurgaNikolay/master
Auto commit by PR queue bot
2016-03-22 11:47:38 -07:00
nikhiljindal
532398afb3 Remove url query param that is leading to XSS issue 2016-03-22 10:35:06 -07:00
k8s-merge-robot
88d50f30d2 Merge pull request #23228 from yifan-gu/rkt_entry_cmd
Auto commit by PR queue bot
2016-03-22 08:07:41 -07:00
k8s-merge-robot
566d23e880 Merge pull request #23205 from yifan-gu/append_image_tag
Auto commit by PR queue bot
2016-03-22 07:30:52 -07:00
k8s-merge-robot
772069feca Merge pull request #23176 from pmorie/unique-volume-mount
Auto commit by PR queue bot
2016-03-22 05:40:17 -07:00
k8s-merge-robot
a1cd7311f7 Merge pull request #23123 from rata/master
Auto commit by PR queue bot
2016-03-22 05:03:02 -07:00
Nikolay Murga
70b918a2c0 Fix hairpin mode 2016-03-22 13:00:18 +02:00
k8s-merge-robot
76acfd4b7d Merge pull request #22916 from liggitt/namespace-subresources
Auto commit by PR queue bot
2016-03-22 01:25:58 -07:00
k8s-merge-robot
7e8a89853c Merge pull request #21624 from smarterclayton/debug
Auto commit by PR queue bot
2016-03-22 00:48:15 -07:00
k8s-merge-robot
a690c2ca76 Merge pull request #22914 from liggitt/test_export
Auto commit by PR queue bot
2016-03-21 23:06:46 -07:00
Clayton Coleman
0a274a85d1 Allow logs to be used with a preloaded pod. 2016-03-21 23:59:59 -04:00
Clayton Coleman
3a29e3971b Improve terminal reuse and attach
Currently attach and the editor do not share the same logic for saving
and restoring the terminal, and are not suitable for nesting (when the
caller wants to create something, attach, and then delete something when
the attach is over).  This commit moves the interrupt protection logic
to a util package and supports nesting interrupt handlers.
2016-03-21 23:59:58 -04:00
k8s-merge-robot
562516b60e Merge pull request #22838 from resouer/util-pkg
Auto commit by PR queue bot
2016-03-21 19:21:33 -07:00
k8s-merge-robot
8c02a46c4d Merge pull request #22486 from thockin/update-gcfg-dep
Auto commit by PR queue bot
2016-03-21 18:47:21 -07:00
k8s-merge-robot
0a28a38110 Merge pull request #22280 from justinsb/fix_error_message_formats
Auto commit by PR queue bot
2016-03-21 16:53:38 -07:00
Jordan Liggitt
1d4c56c2f6 Move TestRuntimeCache into non-test file 2016-03-21 16:21:55 -04:00
Rodrigo Campos
c0af96ccc2 Make "--insecure-skip-tls-verify" work on all cases
In the getting started example of AWS, the master uses an IP that is changed on
stop/start. If you are playing with a cluster and stop and start the master,
the IP is changed and you can't connect again, even using the
"--insecure-skip-tls-verify" option.

This patch fixes it and makes the option work on those cases too by making
sure no CA/CAData is added when it shouldn't.
2016-03-21 16:31:31 -03:00
Janet Kuo
482efba8de Copy annotations back from RS to Deployment on rollback 2016-03-21 10:21:48 -07:00
k8s-merge-robot
2bb6f74bf9 Merge pull request #23099 from shawnps/patch-12
Auto commit by PR queue bot
2016-03-21 09:19:21 -07:00
harry
b0900bf0d4 Refactor diff into sub pkg 2016-03-21 20:21:39 +08:00
harry
d6e1566509 Refector deadlock into detector pkg 2016-03-21 20:20:05 +08:00
Harry Zhang
a4d04095d0 Refactor crlf & crypto 2016-03-21 20:20:05 +08:00
Harry Zhang
7178fba251 Move crlf.go to sub pkg 2016-03-21 20:20:05 +08:00
k8s-merge-robot
b56252e338 Merge pull request #23161 from thockin/drain-help-typo
Auto commit by PR queue bot
2016-03-19 22:44:54 -07:00
k8s-merge-robot
b9b3b5eb4c Merge pull request #23175 from AdoHe/request_slow_log
Auto commit by PR queue bot
2016-03-19 22:08:11 -07:00
Tim Hockin
1e5ce735fc Fix typo in help for kubectl drain 2016-03-19 20:42:51 -07:00
k8s-merge-robot
b077b685d9 Merge pull request #23246 from AdoHe/update_expose_example
Auto commit by PR queue bot
2016-03-19 12:09:23 -07:00
AdoHe
57534eaec9 update expose command description to add deployment 2016-03-19 13:51:21 -04:00
k8s-merge-robot
08c706a8ab Merge pull request #23194 from hongchaodeng/dep
Auto commit by PR queue bot
2016-03-19 06:35:17 -07:00
k8s-merge-robot
0fe049f9ff Merge pull request #23019 from alex-mohr/oplimit
Auto commit by PR queue bot
2016-03-19 02:26:56 -07:00
Hongchao Deng
0a1ff0bb0b fix EtcdTestServer 2016-03-18 23:39:48 -07:00
k8s-merge-robot
4be9587b43 Merge pull request #23210 from rsc/master
Auto commit by PR queue bot
2016-03-18 21:31:54 -07:00
k8s-merge-robot
8fb0bfb0d3 Merge pull request #23179 from wojtek-t/remove_old_deep_copy_generator
Auto commit by PR queue bot
2016-03-18 19:35:54 -07:00
k8s-merge-robot
2c5903acf1 Merge pull request #23222 from madhusudancs/kubectl-expose-deployment-example
Auto commit by PR queue bot
2016-03-18 19:00:42 -07:00
Yifan Gu
9d3d55d0fb rkt: Unmarshal the ENTRYPOINT/CMD from jsons instead of strings.
Using json makes this robust to ENTRYPOINT/CMD that contains space.

Also removed 'RemainAfterExit' option, originally this option is
useful when we implement GetPods() by 'systemctl list-units'.
However since we are using rkt API service now, it's no longer needed.
2016-03-18 17:18:24 -07:00
Madhusudan.C.S
67b70d7c89 Add a Deployment example for kubectl expose. 2016-03-18 17:05:49 -07:00
k8s-merge-robot
b5fa14609e Merge pull request #23158 from nikhiljindal/swaggerXSS
Auto commit by PR queue bot
2016-03-18 16:57:15 -07:00
Yifan Gu
89feb6fc53 rkt: Append tag to the returned image name. 2016-03-18 16:40:44 -07:00
k8s-merge-robot
62399077d8 Merge pull request #23145 from liggitt/patch-internal-version
Auto commit by PR queue bot
2016-03-18 15:30:44 -07:00
k8s-merge-robot
61b9a21cfd Merge pull request #23141 from yujuhong/fix_race
Auto commit by PR queue bot
2016-03-18 14:42:27 -07:00
Russ Cox
e4b369e1d7 storage: clean up timer in cacheWatcher.add
In the e2e benchmarks, this timer is a significant source of garbage
and stale timers. Because the timer is not stopped after its use
in the select, it stays in the timer heap until it eventually fires
(5 seconds later). Under load, a lot of 5-second timers can pile up
before any start going away. The timer heap being large makes timer
operations take longer; the operations are O(log N) but N is still big.

The way to fix this in current versions of Go is to stop the underlying
timer explicitly, which this CL does for this one case.

There are many other places in the code that use the same idiom,
but those do not show up on profiles of the e2e server.
I am investigating changes for Go 1.7's runtime that would make
the old code behave like this new code transparently, so I don't
think it's worth updating any uses of the idiom that are not in
hot spots found with profiling.

Measuring 'LIST nodes' latency in milliseconds during e2e test
shows the benefit of this change.

Using Go 1.4.2:

BEFORE  p50: 148±7   p90: 328±19  p99: 513±29  n: 10
AFTER   p50: 151±8   p90: 339±19  p99: 479±20  n: 9

Using Go 1.6.0:

BEFORE  p50: 141±9   p90: 383±32  p99: 604±44  n: 11
AFTER   p50: 140±14  p90: 360±31  p99: 483±39  n: 10
2016-03-18 15:58:34 -04:00
Wojciech Tyczynski
89585237cd Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding. 2016-03-18 12:35:27 +01:00
Wojciech Tyczynski
ce9b2ab3e3 Remove old deep-copy generator. 2016-03-18 09:42:15 +01:00
AdoHe
6c84fe5a69 change throttling debug output log level 2016-03-18 00:19:53 -04:00
Paul Morie
24aade64f5 Validate that volume mountpoints are unique 2016-03-17 23:52:34 -04:00
k8s-merge-robot
10204f8b31 Merge pull request #23167 from cjcullen/sshcheck
Auto commit by PR queue bot
2016-03-17 20:36:20 -07:00
k8s-merge-robot
98bede7f2d Merge pull request #23110 from wojtek-t/migrate_to_new_deep_copy_generator
Auto commit by PR queue bot
2016-03-17 19:21:23 -07:00
CJ Cullen
5f3929f75d Add a SSHKey sync check to the master's healthz (when using SSHTunnels). 2016-03-17 19:14:25 -07:00
k8s-merge-robot
78adb885c4 Merge pull request #23143 from vishh/23113
Auto commit by PR queue bot
2016-03-17 17:59:25 -07:00