Commit Graph

23863 Commits

Author SHA1 Message Date
Chao Xu
a248d1117b remove ResourceVersion validation in client 2016-01-22 10:14:39 -08:00
Eric Tune
e532129f85 Merge pull request #19717 from erictune/api-groups-doc
Mention some new api groups.
2016-01-22 10:06:39 -08:00
Eric Tune
a99e151b90 Merge pull request #19962 from erictune/service-account-try-not-flaky
Promote ServiceAccount e2e out of [Flaky] status
2016-01-22 09:41:30 -08:00
Arsen Mamikonyan
8b5e9e2885 Change repository references to https://github.com/kubernetes/kubernetes 2016-01-22 10:23:14 -05:00
Zach Loafman
ef77ce7147 Merge pull request #19985 from luxas/onedotfive
Up to golang 1.5.3
2016-01-22 07:21:06 -08:00
Zach Loafman
a5f4f3b301 Merge pull request #16889 from vishh/disk-accounting
Proposal for disk accounting
2016-01-22 06:22:16 -08:00
gmarek
9ac68ecb77 Remove monitor_resources test 2016-01-22 13:38:33 +01:00
Marcin Wielgus
631b965384 Merge pull request #19968 from lavalamp/e2e-kubectl-proxy
e2e kubectl proxy test: Make future flake diagnosis possible
2016-01-22 12:50:06 +01:00
Piotr Szczesniak
7fea0ada4b Merge pull request #19984 from piosz/heapster-config-fix
Fixed syntax issue in Heapster config
2016-01-22 10:34:58 +01:00
Piotr Szczesniak
e6f3e2893a Fixed syntax issue in Heapster config 2016-01-22 10:29:38 +01:00
YuviPanda
1751bcf1e1 Update hack/verify-flags/exceptions.txt 2016-01-22 00:19:01 -08:00
Eric Tune
3ac015887e Design doc for Indexed Jobs. 2016-01-22 00:04:47 -08:00
Lucas Käldström
d26f4e1583 Up to golang 1.5.3 2016-01-22 08:21:52 +02:00
Clayton Coleman
24a7919002 Update clientcmd.Config to use new Decode methods 2016-01-22 01:10:23 -05:00
Clayton Coleman
4386e8cc38 Change legacy ABAC decode to use new Decoder
The new Decode() method is able to deserialize an unknown type when an
explicit Into is provided.
2016-01-22 01:10:23 -05:00
Clayton Coleman
4d127dc969 Initialize API servers with negotiated serializers
Pass down into the server initialization the necessary interface for
handling client/server content type negotiation. Add integration tests
for the negotiation.
2016-01-22 01:10:22 -05:00
Clayton Coleman
c49cd4edf9 Alter the build to generate for __internal correctly 2016-01-22 01:10:22 -05:00
Clayton Coleman
c1d932e44a Switch API objects to not register per version codecs
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
Zach Loafman
83a6b7fcaa Merge pull request #19957 from zmerlynn/container-vm-v20160121
Bump to container-vm-v20151215
2016-01-21 22:05:12 -08:00
Hongchao Deng
8e1bfad490 insufficient resource error: details of failure in failedPredicateMap 2016-01-21 21:49:00 -08:00
Paul Morie
9be7883f7e Make hack/update-all.sh short-circuit unless run with -a 2016-01-22 00:17:14 -05:00
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
Brendan Burns
faf10632fe Merge pull request #19963 from freehan/monitor
fix heapster rc file jinja syntax error
2016-01-21 21:03:50 -08: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
Justin Santa Barbara
274e589aa6 AWS: Use an elastic IP for the master by default
If we don't use an elastic IP, the IP address will be lost if we lose
the master for any reason, and a replacement master will not have the
same IP.  But the master IP is set both in client kubeconfig files and
the master SSL certificate.  Hence the default should be to allocate an
elastic IP for the master.

One complication: AWS doesn't allow tags on elastic IPs, so it is hard
to track the elastic IP so we can delete it as part of kube-down.
Instead, we take the master EBS volume with the elastic IP.  This is a
little odd, but works because the master volume & the master elastic IP
really need to be assigned to the same machine, so might be thought of
as a pair.

Also, we now delete the master EBS volume as part of kube-down, as
people expect kube-down to clean-up everything it creates.
2016-01-21 22:01:55 -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
YuviPanda
12a6778766 Update skynd RC template to use GNU style flags 2016-01-21 16:59:02 -08:00
YuviPanda
f0c5051201 Fix verify-flags lists to account for flag changes 2016-01-21 16:59:02 -08:00
YuviPanda
cd23dcee34 Use pflag instead of flag in kube2dns
- Marks flags with _ as deprecated, use the - variants instead
2016-01-21 16:58:25 -08:00
Daniel Smith
23fd5e9a33 Make future flake diagnosis possible.
It's currently unclear if the request failed because the proxy wasn't
quite up yet, or if it failed because traffic couldn't get from the
proxy to apiserver. Getting the proxy logs unconditionally should help
narrow this down.
2016-01-21 16:41:26 -08:00
Yifan Gu
723402c4e9 build/common.sh: Copy manifests. 2016-01-21 16:32:15 -08:00
Yifan Gu
5817ca1c71 cluster/gce/coreos: Add scripts for configuring the master/node. 2016-01-21 16:32:15 -08:00
Yifan Gu
1705f4919f cluster/gce/coreos: Update master and node cloud config. 2016-01-21 16:32:15 -08:00
Yifan Gu
fe70bf8485 cluster/gce/coreos: Upload templates during kube-up.
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
Yifan Gu
d7f4f6b3e0 cluster/gce/coreos: Add manifests for addons and master components. 2016-01-21 16:32:15 -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
Eric Tune
b048814beb Promote ServiceAccount e2e out of [Flaky] status
Was marked as flaky prior to #11291, 6 months ago.
Code has changed many times.
No flakes in last 28 runs, and no Jenkins
history before that.
Follow up in #19024 if you see a flake.
2016-01-21 16:13:56 -08:00
Alex Mohr
76f02d562a Merge pull request #19083 from resouer/allocatable
Use Allocatable to replace Capacity
2016-01-21 16:05:05 -08: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
Minhan Xia
3da8d80187 fix jinja syntax error 2016-01-21 16:03:49 -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
Alex Mohr
f788e1e11a Merge pull request #19446 from justinsb/aws_reboot_master_on_failure
AWS: Create a cloudwatch alarm to reboot the master on failure
2016-01-21 15:05:14 -08:00