markturansky
3f292d87ed
fixed spelling typo
2016-01-22 00:15:07 -05:00
Clayton Coleman
125ef6fbc8
Support content-type negotiation in the API server
...
A NegotiatedSerializer is passed into the API installer (and
ParameterCodec, which abstracts conversion of query params) that can be
used to negotiate client/server request/response serialization. All
error paths are now negotiation aware, and are at least minimally
version aware.
Watch is specially coded to only allow application/json - a follow up
change will convert it to use negotiation.
Ensure the swagger scheme will include supported serializations - this
now includes application/yaml as a negotiated option.
2016-01-22 00:12:50 -05:00
Clayton Coleman
6b2f70d553
Provide a JSON and YAML serializer, and a versioning wrapper
...
Add a recognizer that is capable of sniffing content type from data by
asking each serializer to try to decode - this is for a "universal
decoder/deserializer" which can be used by client logic.
Add codec factory, which provides the core primitives for content type
negotiation. Codec factories depend only on schemes, serializers, and
groupversion pairs.
2016-01-22 00:12:49 -05:00
Clayton Coleman
63a7a41ddf
Simplify Codec and split responsibilities
...
Break Codec into two general purpose interfaces, Encoder and Decoder,
and move parameter codec responsibilities to ParameterCodec.
Make unversioned types explicit when registering - these types go
through conversion without modification.
Switch to use "__internal" instead of "" to represent the internal
version. Future commits will also add group defaulting (so that "" is
expanded internally into a known group version, and only cleared during
set).
For embedded types like runtime.Object -> runtime.RawExtension, put the
responsibility on the caller of Decode/Encode to handle transformation
into destination serialization. Future commits will expand RawExtension
and Unknown to accept a content encoding as well as bytes.
Make Unknown a bit more powerful and use it to carry unrecognized types.
2016-01-21 23:18:32 -05:00
Clayton Coleman
6582b4c2ea
Remove codec awareness from conversion
...
Allow convertors to be specialized, some cleanup to how conversion
functions are stored internally to allow better reuse.
2016-01-21 23:18:32 -05:00
Clayton Coleman
9d5df20efe
jsonpath: Handle interface{}(nil) as empty array
2016-01-21 23:18:31 -05:00
feihujiang
50b6d3819f
Fix a small error comment in nodecondition type
2016-01-22 10:21:16 +08:00
Alex Mohr
ca69c2e310
Merge pull request #19967 from justinsb/fix_gce_npe
...
Fix for panic when instance not found
2016-01-21 17:20:58 -08:00
Nikhil Jindal
cd2e0c490e
Merge pull request #19674 from nikhiljindal/latestAndRegistered
...
Merge registered and latest and move to apimachinery
2016-01-21 17:19:49 -08:00
Justin Santa Barbara
2201c631b3
Fix for panic when instance not found
...
This removes a panic I mistakenly introduced when an instance is not
found, and also restores the exact prior behaviour for
getInstanceByName, where it returns cloudprovider.InstanceNotFound when
the instance is not found.
2016-01-21 19:15:09 -05:00
Alex Mohr
69b28ce7e5
Merge pull request #19892 from krousey/rtwrap
...
Add WrappedRoundTripper methods to round trippers
2016-01-21 16:04:51 -08:00
Yu-Ju Hong
25f2c6f330
Improve mirror pod creation/deletion
...
- Ignore the "not found" error on deletion.
- Recognize the "already exists" error on creation and check if the existing
pod meets requirement. If so, don't report an error.
- Immediately create a mirror pod after a successful deletion, if needed.
2016-01-21 16:01:14 -08:00
Alex Mohr
4ac2f7453d
Merge pull request #19533 from kargakis/bloated-job-status-fix
...
Fix job status conditions bloat
2016-01-21 15:10:49 -08:00
Alex Mohr
9546909929
Merge pull request #19366 from ironcladlou/noop-zero-replicas
...
Support rolling update to 0 desired replicas
2016-01-21 15:08:20 -08:00
Alex Mohr
12845ba9a5
Merge pull request #18877 from markturansky/fix_18830
...
Trigger syncClaim after PV provisioning to reduce wait
2016-01-21 15:06:46 -08:00
Chao Xu
0734248e42
Use lowercase names in individual typed clients
2016-01-21 15:01:47 -08:00
Chao Xu
030043b5be
Ingress's plural
2016-01-21 15:01:47 -08:00
Alex Mohr
ba6c939b3e
Merge pull request #19887 from liggitt/export_transports
...
Export transport constructors
2016-01-21 14:54:40 -08:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Alex Mohr
7d96694c3f
Merge pull request #19725 from timstclair/summary
...
Add blank /stats/summary kubelet endpoint
2016-01-21 14:27:53 -08:00
Alex Mohr
359c684d57
Merge pull request #19698 from kargakis/expose-deployments
...
kubectl: Support exposing deployments
2016-01-21 14:26:14 -08:00
Yu-Ju Hong
0fada52788
Fix sending an empty update when the source is ready
2016-01-21 14:24:39 -08:00
Alex Mohr
21a5d57c75
Merge pull request #19481 from deads2k/fix-patch-admission
...
make patch call update admission chain after applying the patch
2016-01-21 14:23:19 -08:00
Alex Mohr
ad5dce89f0
Merge pull request #19790 from mqliang/podgc-event
...
remove unused eventBroadcaster in gc controller
2016-01-21 13:54:12 -08:00
Mike Danese
1fc630caa0
add ip validation to componentconfig command line
2016-01-21 13:33:30 -08:00
Justin Santa Barbara
cc8e11b8d4
Update generated code for NonMasqueradeCIDR field
2016-01-21 15:18:38 -05:00
Justin Santa Barbara
58191c446c
Allow non-masquerade-cidr to be passed to the kubelet
...
Removing the hard-coding of 10.0.0.0/8
Issue #11204
2016-01-21 15:18:31 -05:00
Alex Mohr
f64a40f315
Merge pull request #19863 from justinsb/aws_fix_loadbalancer_tcp_check
...
AWS: Eliminate assumptions about all load-balancer ports matching
2016-01-21 10:52:20 -08:00
Alex Mohr
b8f8a62775
Merge pull request #19862 from justinsb/aws_fix_tcploadbalancer_comment
...
AWS: Fix comment to reflect new method name
2016-01-21 10:51:37 -08:00
Alex Mohr
8e9bebb424
Merge pull request #19861 from justinsb/aws_remove_dead_code
...
AWS: Remove dead code
2016-01-21 10:51:06 -08:00
Alex Mohr
a77f7205ea
Merge pull request #19506 from a-robinson/goversion
...
Resolve old TODO that was waiting on us to move off of go 1.3
2016-01-21 10:42:06 -08:00
Alex Mohr
94b2490eba
Merge pull request #19580 from WeixuZhuang/node
...
resolve the bug when cluster CIDR is not /8
2016-01-21 10:34:19 -08:00
Alex Mohr
819cdc85d3
Merge pull request #19390 from danielschonfeld/optimize-kubelet-heartbeat-aws
...
optimize kubelet heartbeats instance data to be cached for AWS
2016-01-21 10:33:00 -08:00
Alex Mohr
c52122cab5
Merge pull request #19675 from apcera/kubelet-report-runtime-version
...
Update container runtime to properly report the engine and version
2016-01-21 10:31:19 -08:00
Alex Mohr
1ab41d5238
Merge pull request #16509 from miminar/namespace_field_conv
...
Add missing field label conversions for Namespace
2016-01-21 10:27:02 -08:00
Alex Mohr
d2d349bc84
Merge pull request #19334 from resouer/network
...
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Alex Mohr
8c9aa2af33
Merge pull request #19733 from janetkuo/flaky-deployment-recreate
...
Fix e2e flake: Sync deployment status when with RecreateDeploymentStrategy
2016-01-21 10:23:21 -08:00
Alex Mohr
eaa61a72b0
Merge pull request #17919 from justinsb/multizone_gce
...
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Alex Mohr
79e0c9f5e5
Merge pull request #19842 from yujuhong/status_update
...
Don't handle graceful deletion of mirror pods in status manager
2016-01-21 09:24:46 -08:00
Alex Mohr
9a264c4b41
Merge pull request #19838 from yujuhong/empty_add
...
Fix empty ADD update on kubelet restarts
2016-01-21 09:22:53 -08:00
k8s-merge-robot
dda29bedd8
Merge pull request #18722 from deads2k/add-sar
...
Auto commit by PR queue bot
2016-01-21 07:06:05 -08:00
k8s-merge-robot
cf8d05f420
Merge pull request #19042 from madhusudancs/replicaset
...
Auto commit by PR queue bot
2016-01-21 06:29:22 -08:00
k8s-merge-robot
6cf3a4b5f0
Merge pull request #18957 from jsafrane/devel/pv-name-tag
...
Auto commit by PR queue bot
2016-01-21 05:55:12 -08:00
k8s-merge-robot
0f6f521beb
Merge pull request #18959 from jsafrane/devel/cinder-tags
...
Auto commit by PR queue bot
2016-01-21 03:33:58 -08:00
k8s-merge-robot
7f25a4f662
Merge pull request #18997 from mqliang/env-variable
...
Auto commit by PR queue bot
2016-01-21 03:03:19 -08:00
k8s-merge-robot
e2c79915fd
Merge pull request #18820 from mqliang/image-gc-bug
...
Auto commit by PR queue bot
2016-01-21 01:22:29 -08:00
k8s-merge-robot
3978c76a26
Merge pull request #18790 from erictune/secret-validate
...
Auto commit by PR queue bot
2016-01-21 00:46:49 -08:00
Madhusudan.C.S
572abe1c50
Introducing ReplicaSet, a new incarnation of Replication Controller.
...
This commit adds the API types, conversion, validation and defaulting code.
2016-01-21 00:38:42 -08:00
k8s-merge-robot
2374a3225a
Merge pull request #18319 from madhusudancs/daemonset-update
...
Auto commit by PR queue bot
2016-01-21 00:17:42 -08:00
k8s-merge-robot
d0f59e2126
Merge pull request #18172 from Random-Liu/generate-sync-event
...
Auto commit by PR queue bot
2016-01-20 22:48:35 -08:00