Commit Graph

24527 Commits

Author SHA1 Message Date
Jan Chaloupka
8e270922be Add unit test for JitterUntil 2016-02-07 21:09:06 +01:00
Jan Chaloupka
3fa290980a jitter period in each run of Until
In order to synchronize the current state of Kubernetes's objects (e.g. pods, containers, etc.),
periodic synch loops are run. When there is a lot of objects to synchronize with,
loops increase communication traffic. At some point when all the traffic interfere cpu usage curve
hits the roof causing 100% cpu utilization.

To distribute the traffic in time, some sync loops can jitter their period in each loop
and help to flatten the curve.

This commit adds JitterUntil function with jitterFactor parameter.
JitterUntil generalizes Until which is a special case for jitterFactor being zero.
2016-02-07 21:09:02 +01:00
k8s-merge-robot
42e2ff94c1 Merge pull request #20789 from rutsky/patch-2
Auto commit by PR queue bot
2016-02-07 11:45:20 -08:00
k8s-merge-robot
f347a2b66e Merge pull request #20480 from ingvagabund/move-until-from-util-to-wait
Auto commit by PR queue bot
2016-02-07 11:45:19 -08:00
Lucas Käldström
c969c041e2 Add support for building arm, arm64 and ppc64le server and client targets 2016-02-07 20:35:14 +02:00
Vladimir Rutsky
3b7fe31b94 remove redundant comma in JSON 2016-02-07 21:27:36 +03:00
Justin Santa Barbara
899e61ef3c Update verify-flags exceptions 2016-02-07 11:11:38 -05:00
Robert Jefe Lindstaedt
aa6d6c2779 doc: azure w/ subscription, cos channel option
doc: azure w/ subscription option

docs: azure getting started -> coreos channel env

doc: AZURE_LOCATION needs quotes
2016-02-07 13:57:48 +01:00
Jan Chaloupka
4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
Jan Chaloupka
43a47a8234 Move Until, Forever, NeverStop, ForeverTestTimeout from util to wait 2016-02-07 11:38:48 +01:00
k8s-merge-robot
59a05682dc Merge pull request #20662 from thockin/e2e-ip-leak
Auto commit by PR queue bot
2016-02-06 23:30:56 -08:00
k8s-merge-robot
c26087db45 Merge pull request #19611 from thockin/proxy-sysctl-decouple
Auto commit by PR queue bot
2016-02-06 23:01:48 -08:00
k8s-merge-robot
0cc0bd342f Merge pull request #20520 from thockin/iptables-test-nits
Auto commit by PR queue bot
2016-02-06 22:34:10 -08:00
k8s-merge-robot
1f113d6a38 Merge pull request #20730 from deads2k/add-string-for-debug
Auto commit by PR queue bot
2016-02-06 21:48:00 -08:00
Prashanth B
86b6fdf5ea Sanitize flannel config. 2016-02-07 05:19:50 +00:00
k8s-merge-robot
e76caf43aa Merge pull request #20703 from mwielgus/hpa-cm-validation
Auto commit by PR queue bot
2016-02-06 21:16:51 -08:00
Tim Hockin
fecb71420c Demote static IPs ASAP for easier cleanup
This exposed bugs in the IP promotion/demotion logic.
2016-02-06 21:15:06 -08:00
Tim Hockin
78322091f0 Better logs in service controller 2016-02-06 21:14:20 -08:00
Tim Hockin
2052e334b6 mkdir in build when the output dir is needed 2016-02-06 21:14:20 -08:00
Clayton Coleman
f1ab9a42f5 NodeOutOfDisk should use NewFramework()
Fails when custom nsCreateFunc is provided
2016-02-06 23:25:08 -05:00
Justin Santa Barbara
63743e9c1c AWS kube-up: Use the cert we generated in kubeconfig 2016-02-06 22:52:01 -05:00
Justin Santa Barbara
270fae4d66 kube-up: Support multiple additional IPs for SSL cert
And pass the public IP when setting up AWS
2016-02-06 22:52:01 -05:00
Justin Santa Barbara
fd5c44c72e kube-up: Finish refactor of AWS to reuse GCE script
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -05:00
k8s-merge-robot
9e1d764524 Merge pull request #20654 from thockin/e2e-strings
Auto commit by PR queue bot
2016-02-06 19:02:48 -08:00
Tim Hockin
1e7db4a174 Implement proper cleanup in iptables proxy 2016-02-07 02:42:18 +00:00
Tim Hockin
107c5f7813 Put all masquerade mark logic into new chains
This allows us to use the MARK-MASQ chain as a subroutine, rather than encoding
the mark in many places.  Having a KUBE-POSTROUTING chain means we can flush
and rebuild it atomically.  This makes followon work to change the mark
significantly easier.
2016-02-07 02:42:07 +00:00
Tim Hockin
41ba8ced6d Dont log errors on proxy leftover cleanup 2016-02-07 02:41:50 +00:00
k8s-merge-robot
19c80e126a Merge pull request #20651 from ihmccreery/quarantine-reboot
Auto commit by PR queue bot
2016-02-06 18:29:09 -08:00
Clayton Coleman
664d25ba5a Take GVK in SwaggerSchema()
This is needed for the legacy OpenShift API group (oapi) which is also
group: "", version: "v1", but needs to return a different swagger
schema.  Will in the future be replaced by group defaulting.
2016-02-06 21:24:33 -05:00
k8s-merge-robot
6103b8713e Merge pull request #20648 from deads2k/fix-validation
Auto commit by PR queue bot
2016-02-06 17:13:19 -08:00
k8s-merge-robot
6a98694b4e Merge pull request #20483 from luxas/remove_restart_always
Auto commit by PR queue bot
2016-02-06 16:43:40 -08:00
k8s-merge-robot
096afac5ca Merge pull request #20354 from ihmccreery/ci_doc
Auto commit by PR queue bot
2016-02-06 16:13:01 -08:00
k8s-merge-robot
f2ed6f6ce8 Merge pull request #20474 from mqliang/ununtu-check-pods-torn-down
Auto commit by PR queue bot
2016-02-06 15:12:43 -08:00
k8s-merge-robot
812cb28946 Merge pull request #20775 from liggitt/proxy-defaults
Auto commit by PR queue bot
2016-02-06 14:39:02 -08:00
k8s-merge-robot
d001f4afea Merge pull request #20254 from hongchaodeng/plugin
Auto commit by PR queue bot
2016-02-06 13:23:43 -08:00
k8s-merge-robot
a08ac362a9 Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot
257c3ad776 Merge pull request #20153 from sky-uk/fix-sg-comparison
Auto commit by PR queue bot
2016-02-06 12:25:26 -08:00
k8s-merge-robot
c6a4f8482e Merge pull request #17366 from kargakis/kubectl-conventions
Auto commit by PR queue bot
2016-02-06 11:56:48 -08:00
k8s-merge-robot
9d981b696c Merge pull request #20642 from justinsb/aws_sync_kubeup_gce_step2
Auto commit by PR queue bot
2016-02-06 11:56:47 -08:00
k8s-merge-robot
d1b7fb3025 Merge pull request #20630 from a-robinson/logparse
Auto commit by PR queue bot
2016-02-06 11:28:08 -08:00
k8s-merge-robot
17c65cee35 Merge pull request #20607 from bprashanth/svccontroller_events
Auto commit by PR queue bot
2016-02-06 10:53:27 -08:00
k8s-merge-robot
aac20ed69d Merge pull request #20600 from freehan/servicevalidation
Auto commit by PR queue bot
2016-02-06 10:23:18 -08:00
k8s-merge-robot
70946a571a Merge pull request #20571 from liggitt/service-account-e2e
Auto commit by PR queue bot
2016-02-06 09:21:57 -08:00
k8s-merge-robot
b73f83d904 Merge pull request #20546 from luxas/update_godep_arm64
Auto commit by PR queue bot
2016-02-06 08:49:17 -08:00
k8s-merge-robot
ae765ef677 Merge pull request #20543 from ArtfulCoder/kubeproxytest
Auto commit by PR queue bot
2016-02-06 08:19:39 -08:00
Jordan Liggitt
544af0a910 Set kube-proxy arg default values 2016-02-06 11:01:13 -05:00
k8s-merge-robot
3f1c99f013 Merge pull request #20515 from mikedanese/fix-proxy-mode
Auto commit by PR queue bot
2016-02-06 07:49:30 -08:00
k8s-merge-robot
6614b833cb Merge pull request #20505 from derekwaynecarr/quantity_fix
Auto commit by PR queue bot
2016-02-06 07:18:51 -08:00
k8s-merge-robot
f769ecdabc Merge pull request #20487 from deads2k/fix-unstructured
Auto commit by PR queue bot
2016-02-06 06:49:13 -08:00
Justin Santa Barbara
051ff6aa35 e2e: fix format-string for error message
Argument was omitted
2016-02-06 09:15:55 -05:00