Commit Graph

20733 Commits (20a99af00efecdb25f09a5d4b7a8ceb409c86249)

Author SHA1 Message Date
Isaac Hollander McCreery eaefc11df9 Fix beta versioning for build/push_ci_build.sh 2015-11-04 13:24:17 -08:00
Clayton Coleman 3da15535b6 Provide backpressure to clients when etcd goes down
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.

In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping.  Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00
Isaac Hollander McCreery 9baf681fa4 Use upgrade logic from the version we're upgrading to; fixes #16804 2015-11-04 12:54:36 -08:00
Joe Beda 993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -08:00
Tim St. Clair 858126b42a Clean up static/mirror pod status logic
- status.Manager always deals with the local (static) pod, but gets the
  mirror pod when syncing
  - This lets components like the probe workers ignore mirror pods
2015-11-04 11:42:25 -08:00
Wojciech Tyczynski 2e9da5e65b Fix unstable hack/update-codecgen.sh output 2015-11-04 20:40:48 +01:00
Brendan Burns d2fec95dda Check some errors that we were letting slip silently by. 2015-11-04 11:18:35 -08:00
Eric Paris 48dcde415e Update godeps after addition of LICENSE files
dcbe29c7a1

Caused godeps to start including the LICENSE file for all vendored deps.
We need to include it now to keep the deps reproducible.
2015-11-04 13:12:06 -05:00
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