Commit Graph

1553 Commits

Author SHA1 Message Date
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
k8s-merge-robot
f371b3d891 Merge pull request #16621 from timstclair/metrics-lite
Auto commit by PR queue bot
2015-11-03 02:13:19 -08:00
feihujiang
f7bfb04665 Add a comment that not return an error for rootscoped resources with namesapce 2015-11-03 11:00:01 +08:00
Tim St. Clair
5cd5b80f9e Set up new "metrics" API group.
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
feihujiang
3603b14977 Move service strategy to registry/service package 2015-11-02 19:56:03 +08:00
Mike Danese
82111a7cb5 add component config api group 2015-10-31 11:42:38 -07:00
k8s-merge-robot
55246db600 Merge pull request #16491 from wojtek-t/merge_to_options_in_storage
Auto commit by PR queue bot
2015-10-30 04:30:17 -07:00
Mike Danese
f237db81f0 daemonset don't place pods on notready nodes 2015-10-29 11:11:20 -07:00
Wojciech Tyczynski
9c53f301f1 Merge selectors with ListOptions. 2015-10-29 15:42:57 +01:00
k8s-merge-robot
cd7e4bd6bb Merge pull request #16364 from liggitt/unversioned_types
Auto commit by PR queue bot
2015-10-29 05:56:17 -07:00
k8s-merge-robot
d5be3635e5 Merge pull request #16273 from wojtek-t/list_options_in_api
Auto commit by PR queue bot
2015-10-29 01:57:29 -07:00
k8s-merge-robot
d695177229 Merge pull request #16054 from smarterclayton/revert_extension_syntax
Auto commit by PR queue bot
2015-10-27 19:57:15 -07:00
Daniel Smith
3f3ca480be Merge pull request #16080 from yujuhong/reset_defaults
Add custom pod conversion functions from pre-v1.1 mirror pods
2015-10-27 15:47:34 -07:00
Daniel Smith
8524d392bf Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
Yu-Ju Hong
e5c82d2292 Add custom pod conversion functions from pre-v1.1 mirror pods
The functions would default values added after v1.0, so that kubelet wouldn't
fail at comparing the mirror pods against their associated static pods.

This code would need to be maintained if we ever change the default value in
Pod until we drop support for v1.0 nodes.
2015-10-27 10:50:30 -07:00
Jordan Liggitt
3bc4abb9aa Add TypeMeta to discovery response objects 2015-10-27 10:27:13 -04:00
Wojciech Tyczynski
aa30e38183 Pass resource version to storage List operation. 2015-10-27 10:03:58 +01:00
k8s-merge-robot
df265b2d6e Merge pull request #15510 from aveshagarwal/master-selflink-objref
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
Madhusudan.C.S
9c4424f0bd Report out of disk as a node condition when node goes out of disk.
Define a new out of disk node condition and use it to report when node
goes out of disk.

Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.

Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Janet Kuo
54b743bc05 Change resource "ingress" to "ingresses" in URL path and kubectl 2015-10-25 16:54:25 -07:00
k8s-merge-robot
fea0a7d753 Merge pull request #15850 from mqliang/refactorValidation
Auto commit by PR queue bot
2015-10-25 05:42:49 -07:00
Wojciech Tyczynski
aa57f607f6 Update auto-generated files 2015-10-24 13:29:37 +02:00
Wojciech Tyczynski
f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
k8s-merge-robot
6d10b76b11 Merge pull request #15980 from janetkuo/kubectl-edit-updateapplyannotation
Auto commit by PR queue bot
2015-10-24 02:48:22 -07:00
mqliang
ce384e62ed fix conflict after rebase 2015-10-23 14:28:09 +08:00
mqliang
57faaf4f96 refactor validation.go to avoid duplicating 2015-10-23 14:23:55 +08:00
Janet Kuo
f5adda3d81 Fixed the error for kubectl edit multiple resources 2015-10-22 22:35:15 -07:00
Paul Morie
3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Filip Grzadkowski
8e07d2fc93 Merge pull request #15975 from liggitt/validate_before_create
Validate ObjectMeta in BeforeCreate
2015-10-22 14:47:40 +02:00
Filip Grzadkowski
343f195042 Merge pull request #16068 from JanetKuo/increase-annotation-size-limit
Increase the annotation size limit to 256k
2015-10-22 14:45:49 +02:00
Janet Kuo
e36121ae9b Increase the annotation size limit to 256k 2015-10-21 16:16:55 -07:00
Paul Morie
393e2bc019 Inline some SecurityContext fields into PodSecurityContext 2015-10-21 19:01:17 -04:00
Clayton Coleman
be868e934c Revert resource.Builder changes from 57388f9
57388f9f94
2015-10-21 16:23:33 -04:00
Jeff Lowdermilk
12c971f625 Merge pull request #15455 from mqliang/stringConstant
replace several error messages as constant, instead of duplicating
2015-10-21 13:10:13 -07:00
Jordan Liggitt
63fb6c07a5 Validate names in BeforeCreate 2015-10-21 14:11:41 -04:00
k8s-merge-robot
a5a917603c Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
Sami Wagiaalla
030f882f06 Add Support for supplemental groups 2015-10-20 12:44:32 -04:00
k8s-merge-robot
b896a66679 Merge pull request #15739 from JanetKuo/kubectl-autoscale
Auto commit by PR queue bot
2015-10-19 14:15:23 -07:00
Mike Danese
ac5524d84d Merge pull request #14496 from kargakis/deep-copies-fix
deep-copies: Structs cannot be nil
2015-10-19 10:28:55 -07:00
Janet Kuo
8105aa44a0 Implement kubectl autoscale 2015-10-19 09:59:22 -07:00
mqliang
b6be9b9684 use string constant instead of duplicating 2015-10-19 22:00:41 +08:00
feihujiang
a456b4c424 Remove useless codes about Minion kind 2015-10-19 19:29:45 +08:00
k8s-merge-robot
75c977d200 Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
k8s-merge-robot
44a9877bd4 Merge pull request #15750 from yehuis4/master
Auto commit by PR queue bot
2015-10-19 01:06:34 -07:00
eulerzgy
f8f9afb874 alias local packagename for pkg/util/errors 2015-10-18 09:37:46 +08:00
k8s-merge-robot
72235d6607 Merge pull request #15709 from derekwaynecarr/ingress_status
Auto commit by PR queue bot
2015-10-17 00:40:35 -07:00
k8s-merge-robot
d3ca12f61b Merge pull request #15053 from smarterclayton/stdin_once
Auto commit by PR queue bot
2015-10-17 00:03:32 -07:00
k8s-merge-robot
d41737eff2 Merge pull request #15689 from caesarxuchao/default-ns-componentstatus
Auto commit by PR queue bot
2015-10-16 20:56:38 -07:00
Clayton Coleman
d6fcc332af Codecgen output for stdinOnce 2015-10-16 20:33:52 -04:00
Clayton Coleman
e929baf91a Support stdinOnce, which allows run-once STDIN injection
This allows containers to wait for input before startup by listening
on STDIN, and after STDIN is closed, continue running. Matches the
Docker syntax.
2015-10-16 20:33:50 -04:00