Commit Graph

1595 Commits (367f0e03dd5b81af2014defaa036e97826753e6c)

Author SHA1 Message Date
k8s-merge-robot 06ef4b0a83 Merge pull request #17156 from feihujiang/moveListFunctionsFromRuntimeToMetaPackage
Auto commit by PR queue bot
2015-11-23 14:13:25 -08:00
Tim Hockin f8ad75df44 Clarify invalid vs not-supported 2015-11-23 08:07:17 -08:00
k8s-merge-robot 32c240b350 Merge pull request #17245 from thockin/airplane_validation_pt1
Auto commit by PR queue bot
2015-11-23 06:45:28 -08:00
Wojciech Tyczynski f09e8d3eb0 ref 2015-11-23 09:56:25 +01:00
Wojciech Tyczynski 77fd936b5f Create unversioned.ListOptions object. 2015-11-23 09:55:33 +01:00
Tim Hockin 48b49a5cae s/ValidationErrorList/ErrorList/ 2015-11-22 20:13:20 -08:00
Tim Hockin d64d1fbb3d s/ValidationError/Error/ 2015-11-22 20:12:46 -08:00
Tim Hockin 2a127d089a s/ValidationErrorType/ErrorType/ 2015-11-22 20:12:39 -08:00
Tim Hockin 0ff66da346 Move fielderrors into validation 2015-11-22 20:12:20 -08:00
k8s-merge-robot 759df1ef6e Merge pull request #17569 from quinton-hoole/2015-11-19-fix-node-zone-labels
Auto commit by PR queue bot
2015-11-21 16:33:11 -08:00
k8s-merge-robot 42fcaf0800 Merge pull request #17217 from wojtek-t/marshall_selector
Auto commit by PR queue bot
2015-11-21 10:13:37 -08:00
k8s-merge-robot 4dbf7c637c Merge pull request #17163 from wojtek-t/extend_decoder
Auto commit by PR queue bot
2015-11-21 08:37:29 -08:00
Tim St. Clair e4eff4bd6b Fix typo: s/recieve/receive/ 2015-11-19 19:23:40 -08:00
feihujiang ad79fa6e84 Move list functions from runtime to meta package 2015-11-20 09:20:55 +08:00
Quinton Hoole bec4167525 Make zone and region node labels conformant.
Fixes #17506
2015-11-19 16:35:58 -08:00
Timothy St. Clair 02851dd1b7 Removal of fakeClient and shift to storage.Interface for
all registry tests.
2015-11-19 10:34:30 -06:00
Wojciech Tyczynski 975871e0a0 JSON marshaling/unmarshaling of label Selector 2015-11-19 16:44:48 +01:00
Wojciech Tyczynski d7b098b0e9 Add DecodeParametersInto method to Codec. 2015-11-18 09:56:04 +01:00
k8s-merge-robot 125ab2cad1 Merge pull request #17232 from deads2k/gv-restmapping-2
Auto commit by PR queue bot
2015-11-17 03:33:24 -08:00
k8s-merge-robot 5e20dcfd6f Merge pull request #17227 from deads2k/gv-apigv
Auto commit by PR queue bot
2015-11-17 01:53:17 -08:00
Tim Hockin ba383bcfeb Refactor IntOrString into a new pkg
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions.  No behavioral change.
2015-11-16 10:57:52 -08:00
deads2k 303bcad398 use groupversion in RESTMapping 2015-11-16 09:22:11 -05:00
deads2k bf983e942c use GroupVersion in APIGroupVersion for api installer 2015-11-16 07:42:00 -05:00
Tim Hockin 35ab5c6234 Add a REST hook for post-validation canonicalize
This is a simple hook that only Endpoints uses for now.
2015-11-12 21:13:16 -08:00
k8s-merge-robot e80dd6689f Merge pull request #16866 from justinsb/zone_labels_on_nodes
Auto commit by PR queue bot
2015-11-12 07:25:37 -08:00
k8s-merge-robot f25f5a2c85 Merge pull request #17053 from zhengguoyong/rename_validGroupVersions
Auto commit by PR queue bot
2015-11-10 10:11:21 -08:00
zhengguoyong 973400a6fb Kill TODO, rename var 2015-11-10 21:24:21 +08:00
eulerzgy 501c2825cf Make order of fun consistent 2015-11-10 17:43:54 +08:00
k8s-merge-robot 4e39dd4b7d Merge pull request #16925 from mikedanese/headless-fix-1
Auto commit by PR queue bot
2015-11-07 08:03:18 -08:00
k8s-merge-robot 9981f99949 Merge pull request #16849 from feihujiang/cleanupDeprecatedV1beta1Content
Auto commit by PR queue bot
2015-11-07 04:15:32 -08:00
k8s-merge-robot 354c6f3b12 Merge pull request #16834 from caesarxuchao/GroupVersion-Object
Auto commit by PR queue bot
2015-11-07 03:43:30 -08:00
Tim St. Clair 1e88a682da Add liveness/readiness probe parameters
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state

This commit includes to changes in behavior:

1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -08:00
Mike Danese 09295cd664 Headless services should not need to declare ports 2015-11-06 09:57:41 -08:00
feihujiang eac8d6a997 Cleanup the content of deprecated V1beta1 2015-11-06 13:42:51 +08:00
k8s-merge-robot 6b7115067d Merge pull request #16807 from smarterclayton/server_backpressure_on_etcd_down
Auto commit by PR queue bot
2015-11-05 21:19:30 -08:00
Chao Xu 2f012ae036 run gen-swagger-docs 2015-11-05 15:49:52 -08:00
Chao Xu 15e6ca5ac5 rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery 2015-11-05 14:52:58 -08:00
Chao Xu fb360bca98 add comments 2015-11-05 14:15:01 -08:00
Chao Xu 6419924a5e add ugorji unmarshaller and address comments 2015-11-05 13:46:44 -08:00
Justin Santa Barbara b2c2d617cf Label nodes with Zone information, if available
This lays the groundwork for simple multizone capabilities.

In a cloud environment, nodes are typically created by the kubelet
registering with the API server.  When creating a new node, we now query
the cloudprovider to see if it can provide Zone information, and if so
we add some well-known labels to the Node we are creating.
2015-11-05 14:35:05 -05:00
Chao Xu 9d52b0fc08 add GroupVersion struct 2015-11-04 18:38:26 -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
Jordan Liggitt b3157d1445 Ensure HPA has valid resource/name/subresource, validate path segments 2015-11-03 14:46:17 -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