Commit Graph

11226 Commits

Author SHA1 Message Date
Jordan Liggitt
1d4c56c2f6 Move TestRuntimeCache into non-test file 2016-03-21 16:21:55 -04: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
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
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
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
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
k8s-merge-robot
35d7469815 Merge pull request #23129 from mikedanese/kube-service-affinity
Auto commit by PR queue bot
2016-03-17 16:11:53 -07:00
k8s-merge-robot
ad7a0da5af Merge pull request #23089 from saad-ali/addZoneToErr
Auto commit by PR queue bot
2016-03-17 15:07:28 -07:00
nikhiljindal
9ab16395e9 running hack/build-ui.sh 2016-03-17 15:05:25 -07:00
Yu-Ju Hong
deafa44d61 kubelet: send all recevied pods in one update
The kubelet sync loop relies on getting one update as the signal that the
specific source is ready. This change ensures that we don't send multiple
updates (ADD, UPDATE) for the first batch of pods. This is required to prevent
the cleanup routine from killing pods prematurely.
2016-03-17 14:24:35 -07:00
k8s-merge-robot
782ba437f1 Merge pull request #23003 from deads2k/no-proxy-cidr
Auto commit by PR queue bot
2016-03-17 14:16:11 -07:00
Vishnu kannan
516559022c 1. Make kubelet default to 10ms for CPU quota if limit < 10m for
backwards compat.
2. Update documentation to reflect minimum CPU limits.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-17 13:30:06 -07:00
Jordan Liggitt
ea8669661a Use versioned object when computing patch 2016-03-17 16:19:05 -04:00
k8s-merge-robot
a7f1466556 Merge pull request #19577 from caesarxuchao/expose-swagger-for-discovery-types
Auto commit by PR queue bot
2016-03-17 12:50:17 -07:00
k8s-merge-robot
cda4583984 Merge pull request #23035 from xinxiaogang/xnxin-master
Auto commit by PR queue bot
2016-03-17 12:05:56 -07:00
Mike Danese
e21ebbcac4 give the kubernetes service client ip session affinity 2016-03-17 09:38:22 -07:00
k8s-merge-robot
435bc35812 Merge pull request #23091 from nikhiljindal/namespaceSwaggerSpec
Auto commit by PR queue bot
2016-03-17 08:35:06 -07:00
Wojciech Tyczynski
7e2fdeae7b Regenerate autogenerate files 2016-03-17 15:22:19 +01:00
k8s-merge-robot
4e67d9606c Merge pull request #23083 from janetkuo/rollout-undo-paused-check
Auto commit by PR queue bot
2016-03-17 06:28:39 -07:00
k8s-merge-robot
53c6b35b71 Merge pull request #23038 from wojtek-t/rename_raw_json_to_raw
Auto commit by PR queue bot
2016-03-17 04:05:43 -07:00
k8s-merge-robot
2880708444 Merge pull request #23030 from timothysc/api_etcd_error
Auto commit by PR queue bot
2016-03-17 03:30:59 -07:00
Wojciech Tyczynski
e610c137c0 Regenerate auto-generated files 2016-03-17 09:30:02 +01:00
Shawn Smith
0ea3e43f1c use Fatalf 2016-03-17 15:18:04 +09:00
Xiaogang Xin
f5c631e220 kubernetes/kubernetes#23034 Fix controller-manager race condition issue which cause endpoints flush during restart 2016-03-17 11:08:48 +08:00
nikhiljindal
96044b7f43 Fixing the check to determine if the resource is namespaced 2016-03-16 17:46:05 -07:00
saadali
26e3d7a27a Add zone to GCE "disk not found" error message 2016-03-16 17:31:12 -07:00
Janet Kuo
2bd30c7572 Stop the users from rolling back a paused deployment in kubectl rollout undo 2016-03-16 15:46:22 -07:00
deads2k
ab03317d96 support CIDRs in NO_PROXY 2016-03-16 16:22:54 -04:00
k8s-merge-robot
c412dcba7f Merge pull request #23023 from caesarxuchao/minor-fix-aliases
Auto commit by PR queue bot
2016-03-16 10:35:36 -07:00
k8s-merge-robot
41c85d1113 Merge pull request #22999 from smarterclayton/better_auth_error
Auto commit by PR queue bot
2016-03-16 09:59:20 -07:00
Wojciech Tyczynski
218d3e5923 Rename RawJSON to Raw in runtime.Unknown and add ContentType & ContentEncoding. 2016-03-16 16:43:58 +01:00