Commit Graph

20620 Commits

Author SHA1 Message Date
Yu-Ju Hong
b734155954 Clean up housekeeping routine in kubelet
Now that kubelet checks sources seen correctly, there is no need to enforce the
initial order of pod updates and housekeeping. Use a ticker for housekeeping to
simplify the code.
2015-11-04 08:12:18 -08:00
k8s-merge-robot
f64780d6eb Merge pull request #16526 from aveshagarwal/master-selinux-issue-with-local-up-cluster
Auto commit by PR queue bot
2015-11-04 05:31:21 -08:00
k8s-merge-robot
75ecc34417 Merge pull request #16723 from wulonghui/wulonghui-patch-4
Auto commit by PR queue bot
2015-11-04 04:59:16 -08:00
k8s-merge-robot
79ad4869bd Merge pull request #15585 from jlowdermilk/kubeconfig-doc
Auto commit by PR queue bot
2015-11-04 04:49:44 -08:00
k8s-merge-robot
456220ff1a Merge pull request #16637 from lavalamp/go2idl.2
Auto commit by PR queue bot
2015-11-04 03:33:27 -08:00
k8s-merge-robot
2842d9476b Merge pull request #16496 from wojtek-t/switch_cacher_for_other_resources
Auto commit by PR queue bot
2015-11-04 03:01:24 -08:00
k8s-merge-robot
78c8c9426f Merge pull request #16703 from ixdy/gcs-upload-print-url
Auto commit by PR queue bot
2015-11-04 02:29:21 -08:00
k8s-merge-robot
8e5f3a3f9b Merge pull request #16761 from roberthbailey/supervisord
Auto commit by PR queue bot
2015-11-04 02:28:38 -08:00
huangyuqi
1bf2f869c7 add valid resource types for kubectl get 2015-11-04 10:12:30 +00:00
k8s-merge-robot
ac63290ff5 Merge pull request #16781 from timothysc/fix-testing-deps
Auto commit by PR queue bot
2015-11-04 01:58:34 -08:00
Wojciech Tyczynski
e565477795 Merge pull request #16731 from deads2k/fix-update-codec
make update-codecgen.sh more predictable
2015-11-04 10:46:40 +01:00
jiangyaoguo
39858db29e add new event when infra-container change 2015-11-04 17:04:32 +08:00
jiangyaoguo
3ce5a51007 remove implicitly required container event 2015-11-04 16:47:17 +08:00
mqliang
f26d437903 move assignment in loop 2015-11-04 15:42:25 +08:00
k8s-merge-robot
f030b74be0 Merge pull request #16678 from goltermann/subnet
Auto commit by PR queue bot
2015-11-03 23:23:20 -08:00
k8s-merge-robot
859f75f436 Merge pull request #15264 from yujuhong/work_queue
Auto commit by PR queue bot
2015-11-03 22:51:18 -08:00
k8s-merge-robot
5ff0e128ad Merge pull request #16752 from markturansky/remove_nfs_cansupport_binary_check
Auto commit by PR queue bot
2015-11-03 22:19:15 -08:00
markturansky
468bc39a63 Lengthened pvsync period 2015-11-04 00:42:44 -05:00
Timothy St. Clair
dbdd1614e6 Fix for linkage issue with new testing utilities 2015-11-03 22:16:47 -06:00
eulerzgy
287b9e8978 Add warning log 2015-11-04 10:55:43 +08:00
feihujiang
c39faf19f3 Move rest handler of subresources of pod to rest package 2015-11-04 10:23:49 +08:00
Jeff Grafton
10bcd3ef36 Don't fail if the console log doesn't exist. 2015-11-03 18:03:59 -08:00
Jeff Grafton
6bd450ba05 Update comment on how to use script 2015-11-03 18:01:24 -08:00
Jeff Grafton
f03b3c9171 Print out URL of where to find uploaded logs and artifacts. 2015-11-03 18:01:24 -08:00
Karl Isenberg
7a2564da42 Merge pull request #16769 from mesosphere/mesos-docker-compose-fix
Upgrade mesos/docker cluster to docker-compose 1.5.0
2015-11-03 17:34:40 -08:00
nikhiljindal
44e35581ce Running update-swagger-spec 2015-11-03 17:32:11 -08:00
nikhiljindal
61cef8f570 Updating typeToJSON to handle pointers as well 2015-11-03 17:31:40 -08:00
Karl Isenberg
34ca69cd50 Upgrade mesos/docker cluster to docker-compose 1.5.0
- Migrate to the new env var interpolation syntax (backwards incompatibile)
2015-11-03 16:58:13 -08:00
Jeff Lowdermilk
9ca75257bc Enable job e2e tests for GKE
will need cherrypick onto 1.1
2015-11-03 16:54:51 -08:00
Robert Bailey
d5bb12134e Replace monit with supervisord in documentation. 2015-11-03 16:20:02 -08:00
saadali
45ba3ed47b Increase pod timeout for PD tests 2015-11-03 15:57:37 -08:00
Dawn Chen
28f6041952 Merge pull request #16749 from derekwaynecarr/kubelet_default
Kubelet serialize image pulls had incorrect default
2015-11-03 15:53:07 -08:00
Zach Loafman
4b29260bc6 Bump ContainerVM to container-vm-v20151103 2015-11-03 15:44:36 -08:00
Daniel Smith
b3fde3beed sort known flags 2015-11-03 15:15:56 -08:00
Daniel Smith
241551e36e set-gen example 2015-11-03 15:14:51 -08:00
Daniel Smith
048e42a36c new generator helper package, implements main() 2015-11-03 15:14:51 -08:00
Janet Kuo
b8f97dd185 Remove unhelpful output when jsonpath and template printers fail to print 2015-11-03 15:09:00 -08:00
k8s-merge-robot
bad838f35c Merge pull request #16717 from liggitt/hpa_ref_validation
Auto commit by PR queue bot
2015-11-03 15:04:30 -08:00
Nikhil Jindal
34cbe48736 Merge pull request #16690 from nikhiljindal/apiDeclNotFound
Fixing missing swagger spec for apis/extensions
2015-11-03 14:36:31 -08:00
Kris
05182fc7d5 Properly defaulting the status in log code 2015-11-03 14:34:45 -08:00
k8s-merge-robot
c24873743f Merge pull request #16664 from wojtek-t/remove_fake_client_from_cacher
Auto commit by PR queue bot
2015-11-03 13:48:35 -08:00
Yu-Ju Hong
2eb17df46b kubelet: independent pod syncs and backoff on error
Currently kubelet syncs all pods every 10s. This is not preferred because
 * Some pods may have been sync'd recently.
 * This may cause all the pods to be sync'd at once, causing undesirable
   CPU spikes.

This PR replaces the global syncs with independent, periodic pod syncs. At the
end of syncing, each pod worker will enqueue itslef with a future timestamp (
current time + sync interval), when it will be due for another sync.
 * If the pod worker encoutners an sync error, it may requeue with a different
   timestamp to retry sooner.
 * If a sync is triggered by the update channel (events or spec changes), the
   pod worker would enqueue a new sync time.

This change is necessary for moving to long or no periodic sync period once pod
lifecycle event generator is completed. We will still rely on the mechanism to
requeue the pod on sync error.

This change also makes sure that if a sync does not succeed (either due to
real error or the per-container backoff mechanism), an error would be propagated
back to the pod worker, which is responsible for requeuing.
2015-11-03 13:29:08 -08:00
markturansky
d3bb6575fb Revert "nfs: check if /sbin/mount.nfs* is present in CanSupport()"
This reverts commit 1b3a88dc87.
2015-11-03 16:09:57 -05:00
derekwaynecarr
b403e30d1a Kubelet serialize image pulls had incorrect default 2015-11-03 15:24:01 -05:00
Avesh Agarwal
c113737a1d Apply correct SELinux label to kubelet volume dir in local cluster. 2015-11-03 15:00:43 -05:00
Jordan Liggitt
b3157d1445 Ensure HPA has valid resource/name/subresource, validate path segments 2015-11-03 14:46:17 -05:00
Paul Morie
09701b4fa8 Surface replica count update errors in log 2015-11-03 14:20:08 -05:00
k8s-merge-robot
1407fd2071 Merge pull request #16102 from ihmccreery/release-docs
Auto commit by PR queue bot
2015-11-03 11:09:36 -08:00
Justin Santa Barbara
2d5671aec2 AWS: Fix kube-up comments per code review 2015-11-03 13:12:17 -05:00
Brendan Burns
a78b2e0a9f Merge pull request #16736 from dchen1107/docker
Enable supervisord on all cloud providers and removed monit.
2015-11-03 10:09:43 -08:00