Commit Graph

21960 Commits

Author SHA1 Message Date
Wojciech Tyczynski
e0731b96cf Don't run 3pods/node in scalability suite 2015-12-04 10:59:32 +01:00
Salvatore Dario Minonne
80575c3093 renaming PodSelector to LabelSelector 2015-12-04 09:49:08 +01:00
Brad Erickson
ac5726a12f Minion->Node rename: docs/ machine names only, except gce/aws 2015-12-03 23:34:50 -08:00
Jeff Grafton
7151b54a20 Pull variable definitions out of loop so retries work 2015-12-03 18:28:14 -08:00
Tim Hockin
29a2fded52 Revert "Change to alpha/beta for bandwidth annotations"
This reverts commit 2f4c3035be.
2015-12-03 17:20:23 -08:00
He Simei
387d861d4e deprecate confusing flag usage 2015-12-04 09:09:23 +08:00
Xiang Li
cf82d6b004 resource: optimize scale function
The original scale function takes around 800ns/op with more
than 10 allocations. It significantly slow down scheduler
and other components that heavily relys on resource pkg.
For more information see #18126.

This pull request tries to optimize scale function. It takes
two approach:

1. when the value is small, only use normal math ops.
2. when the value is large, use math.Big with buffer pool.

The final result is:

BenchmarkScaledValueSmall-4	20000000	        66.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkScaledValueLarge-4	 2000000	       711 ns/op	      48 B/op	       1 allocs/op

I also run the scheduler benchmark again. It doubles the throughput of
scheduler for 1000 nodes case.
2015-12-03 17:00:13 -08:00
k8s-merge-robot
a5100ef057 Merge pull request #17248 from thockin/airplane_validation_pt4
Auto commit by PR queue bot
2015-12-03 16:59:23 -08:00
Brendan Burns
11635afc2f Merge pull request #18176 from brendandburns/aws2
Fix an incorrect reference to the directive that installs docker
2015-12-03 16:21:28 -08:00
Karl Isenberg
c3c7c81b33 Guide style update
- Don't indent top-level lists
- Use 2 space list item indentation, unless using multi-line items, then use 4 space indents
- Use underline for page title
- Auto-generate table of contents
- Start with lvl 2 headers (lvl 1 headers look too much like the page title)
2015-12-03 16:15:07 -08:00
Vishnu kannan
869cc9fbda Update cadvisor to v0.19.3.1.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-03 16:03:56 -08:00
k8s-merge-robot
c849825d18 Merge pull request #16400 from caesarxuchao/fix-proxy-content-length
Auto commit by PR queue bot
2015-12-03 15:56:03 -08:00
Zach Loafman
a7da123836 Merge pull request #18173 from mikedanese/pod-stuck
actually validate semver in node controller rather than prefix checking
2015-12-03 15:55:22 -08:00
Phillip Wittrock
0e2ade336a Initial revision of conformance node environment conformance tests 2015-12-03 15:41:10 -08:00
k8s-merge-robot
b9f31ca2c4 Merge pull request #11827 from deads2k/make-permissive-sas
Auto commit by PR queue bot
2015-12-03 15:16:50 -08:00
Brendan Burns
b4c4a045f7 Fix an incorrect reference to the directive that installs docker 2015-12-03 15:06:33 -08:00
Mike Danese
f784be33ac actually validate semver in node controller rather than prefix checking 2015-12-03 14:49:44 -08:00
k8s-merge-robot
163b521250 Merge pull request #17024 from eosrei/vagrant-node-rename
Auto commit by PR queue bot
2015-12-03 14:41:28 -08:00
derekwaynecarr
55d4f70f8e Resource quota observes deletes faster 2015-12-03 17:35:05 -05:00
Mike Danese
2c49893733 Merge pull request #18032 from mikedanese/semver
add semver parsing of gitversion to pkg/version
2015-12-03 13:49:06 -08:00
Yu-Ju Hong
c8a075ad62 Do not delete pod status entry when apiserver returns NotFound error
The logic doesn't apply to static pods as their corresponding mirror pod may
not have been created yet, or may be in the process of recreation. Deleting the
pod status immediately resets the version of the status for the static pod,
while the apiStatusVersion remains unchanged. This could lead to incorrect
versioning and hence stale pod status in the apiserver.
2015-12-03 13:11:48 -08:00
Yu-Ju Hong
a4816b3bcb Make kublet/util/format.go a separate package
The formatting function is used often in logging. This improves the readability
by shortening the length of the call. Also change the fomartted string to
include the pod UID.
2015-12-03 12:47:36 -08:00
Chao Xu
0d7d4c04a2 split Package.Types to Types, Variables and Functions;
add DeclarationOf Kind.
2015-12-03 12:03:47 -08:00
k8s-merge-robot
b7d8221296 Merge pull request #17988 from roberthbailey/gke-flaky
Auto commit by PR queue bot
2015-12-03 12:01:01 -08:00
Jay Vyas
98153fcedc HPA: parameterize stasis, minReplicas, maxReplicas as struct. 2015-12-03 14:34:49 -05:00
k8s-merge-robot
611770778f Merge pull request #16148 from liggitt/mkulke-fix_kubectl_for_namespaced_users
Auto commit by PR queue bot
2015-12-03 11:32:08 -08:00
k8s-merge-robot
68e74f96d2 Merge pull request #12209 from deads2k/deads-enhance-pluggable-policy
Auto commit by PR queue bot
2015-12-03 11:21:55 -08:00
k8s-merge-robot
537405feda Merge pull request #18147 from wojtek-t/fix_client_gen
Auto commit by PR queue bot
2015-12-03 11:01:51 -08:00
deads2k
17d3db1cb3 enhance pluggable policy 2015-12-03 13:54:45 -05:00
deads2k
7ae4d4f424 allow enforcing SA mountable secrets per SA 2015-12-03 13:53:01 -05:00
k8s-merge-robot
13b0fd3cda Merge pull request #16942 from swagiaal/distinguish-format-and-mount
Auto commit by PR queue bot
2015-12-03 10:51:26 -08:00
Hongchao Deng
c4fdb7a2d0 Scheduler metrics: binding rate limiter saturation 2015-12-03 10:43:37 -08:00
k8s-merge-robot
51c5e66e7a Merge pull request #18105 from mikedanese/vagrant-provider
Auto commit by PR queue bot
2015-12-03 10:37:41 -08:00
Jordan Liggitt
2321651518 Add non-resource and API group support to ABAC authorizer, version ABAC policy rules 2015-12-03 12:31:13 -05:00
k8s-merge-robot
8c182c2713 Merge pull request #18002 from wiwiwa/systemd
Auto commit by PR queue bot
2015-12-03 09:18:48 -08:00
Hongchao Deng
ba80892cec Rate limiter: Add Saturation() method 2015-12-03 08:39:35 -08:00
Hongchao Deng
9781a838da change tickRateLimiter to tokenBucketRateLimiter 2015-12-03 08:39:35 -08:00
Hongchao Deng
2edcd3abd5 godep: bump up juju/ratelimit 2015-12-03 08:39:35 -08:00
Tim Hockin
0fe29232eb Remove obsolete ErrorList Prefix logic 2015-12-03 08:19:52 -08:00
Tim Hockin
e6df0b1a24 Convert validation to use FieldPath
Before this change we have a mish-mash of ways to pass field names around for
error generation.  Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.

Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior.  At least you
will have to think about field names, which is better than nothing.

It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Tim Hockin
102eced0b1 Introduce a FieldPath type for validation 2015-12-03 08:17:02 -08:00
gmarek
38b9132e3f Remove unused KubeletStatusPort from ports.go 2015-12-03 16:00:49 +01:00
k8s-merge-robot
f9715c6455 Merge pull request #17479 from mqliang/hardcode
Auto commit by PR queue bot
2015-12-03 06:13:15 -08:00
k8s-merge-robot
c5924d20a5 Merge pull request #17817 from mqliang/eventtype
Auto commit by PR queue bot
2015-12-03 05:55:46 -08:00
deads2k
0fd17b7b2e update client.Request for GroupVersion 2015-12-03 08:16:41 -05:00
k8s-merge-robot
972abe6881 Merge pull request #18061 from a-robinson/typos
Auto commit by PR queue bot
2015-12-03 05:03:27 -08:00
k8s-merge-robot
ec93aabfbe Merge pull request #17779 from fabianofranz/bump_cobra_pflag
Auto commit by PR queue bot
2015-12-03 04:42:17 -08:00
k8s-merge-robot
3cbfcdcdba Merge pull request #16810 from lavalamp/go2idl.2
Auto commit by PR queue bot
2015-12-03 04:25:08 -08:00
k8s-merge-robot
6479f5e93f Merge pull request #18136 from nikhiljindal/del-new-etcd-storage
Auto commit by PR queue bot
2015-12-03 04:10:00 -08:00
feihujiang
ad10ca1da8 Add type for StatusReason constants 2015-12-03 19:22:03 +08:00