Commit Graph

26593 Commits (8a952748a1e0462faa9304cdcdd5a215614b40aa)

Author SHA1 Message Date
k8s-merge-robot 7341b0a265 Merge pull request #22766 from aveshagarwal/master-limitranges-validation-fix
Auto commit by PR queue bot
2016-03-10 15:59:23 -08:00
Madhusudan.C.S dba9d99e2e Add kubectl describe tests for replica sets. 2016-03-10 15:06:12 -08:00
Madhusudan.C.S dfc62b56cc Enable kubectl autoscale for replica sets.
Also add some tests for it.
2016-03-10 15:05:54 -08:00
k8s-merge-robot c9b3b007cd Merge pull request #22808 from madhusudancs/kubectl-rs-cp-testdata
Auto commit by PR queue bot
2016-03-10 14:37:45 -08:00
k8s-merge-robot 5db0feb202 Merge pull request #22017 from caesarxuchao/fix-21955
Auto commit by PR queue bot
2016-03-10 14:37:43 -08:00
k8s-merge-robot 45fff81123 Merge pull request #22801 from piosz/heapster
Auto commit by PR queue bot
2016-03-10 14:03:54 -08:00
Paul Morie 5194c12d9e Fix flake in pod IP as env var e2e 2016-03-10 16:32:03 -05:00
k8s-merge-robot dec124bd57 Merge pull request #22805 from NeilHanlon/master
Auto commit by PR queue bot
2016-03-10 13:22:32 -08:00
k8s-merge-robot 5b00059fd2 Merge pull request #22762 from soltysh/job_run
Auto commit by PR queue bot
2016-03-10 13:22:29 -08:00
Andy Goldstein cdd339505e Merge pull request #22758 from madhusudancs/replicaset-nonpointer-template
ReplicaSetSpec.Template shouldn't be a pointer.
2016-03-10 15:35:04 -05:00
Andy Goldstein d5d3f92de6 Merge pull request #22806 from derekwaynecarr/devel_doc
Comment that godep versions 54 or above do not play nice with Kubernetes
2016-03-10 15:29:48 -05:00
Brian Grant 621856e8f5 Merge pull request #22812 from eparis/update-godep-license
Update godep license after fixing sort
2016-03-10 12:25:20 -08:00
Isaac Hollander McCreery 6e3a276eeb Configure upgrade jobs for the v1.2 release cycle 2016-03-10 11:32:26 -08:00
Eric Paris 503af7d044 Update Godep/LICENSES
So hopefully travis will be happy....
2016-03-10 14:07:10 -05:00
Eric Paris c8d3a06223 Use LC_ALL=C when calling sort 2016-03-10 14:07:09 -05:00
Maciej Szulik de83631768 Added job/v1 generator to kubectl run 2016-03-10 19:56:57 +01:00
Madhusudan.C.S 9c011c6e0f Copy replicaset example yamls to hack/testdata directory. 2016-03-10 10:53:29 -08:00
David McMahon aedc7c4942 Update the section on jenkins changes for a new branch.
This reflects the actual state of things at the moment.
There is quite a bit of assumed knowledge here in a rapidly changing
(test) environment.

referencing #22672.
2016-03-10 10:33:26 -08:00
derekwaynecarr 572dd3763b bump cadvisor to v0.22.1 2016-03-10 13:33:13 -05:00
deads2k 7fdbea8a53 add user-agent defaulting for discovery 2016-03-10 13:32:31 -05:00
k8s-merge-robot 31903c8bb1 Merge pull request #22594 from justinsb/aws_ulite
Auto commit by PR queue bot
2016-03-10 10:15:28 -08:00
derekwaynecarr 26de7a7df5 Comment that godep versions 54 or above do not play nice with Kubernetes 2016-03-10 13:12:53 -05:00
Neil Hanlon df7f55f616 Fix typo of "attempts" in vsphere util.sh during checks. 2016-03-10 13:05:19 -05:00
Andy Goldstein 36243b8081 bump(github.com/docker/spdystream): 449fdfce4d962303d702fec724ef0ad181c92528 2016-03-10 13:02:23 -05:00
k8s-merge-robot 1460f24746 Merge pull request #22744 from sdminonne/libvirt_coreos
Auto commit by PR queue bot
2016-03-10 09:36:19 -08:00
k8s-merge-robot b33ff00b16 Merge pull request #22691 from mkulke/fix-mysql-cinder-example
Auto commit by PR queue bot
2016-03-10 09:36:16 -08:00
Piotr Szczesniak dda0c96f0b Bumped Heapster to v0.20.0-alpha12 2016-03-10 18:25:51 +01:00
Avesh Agarwal 427774306c Fix validation of resources (cpu, memory, storage) for limit range types. 2016-03-10 11:33:53 -05:00
k8s-merge-robot ff43bee118 Merge pull request #22790 from wojtek-t/add_implements_serializer
Auto commit by PR queue bot
2016-03-10 08:10:21 -08:00
Justin Santa Barbara 16730aba96 AWS: Tag created EBS volumes with our cluster tag
Fix #22792
2016-03-10 08:13:50 -05:00
Justin Santa Barbara 79b2b7edef AWS EBS: Remove the attached volumes cache
There are known issues with the attached-volume state cache that just aren't
possible to fix with the current interface.

Replace it with a map of the active attach jobs (that was the original
requirement, to avoid a nasty race condition).

This costs us an extra DescribeInstance call on attach/detach, but that
seems worth it if it ends this class of bugs.

Fix #15073
2016-03-10 07:50:35 -05:00
Wojciech Tyczynski b264805796 JSON serializer implements serializer interface 2016-03-10 13:26:05 +01:00
Justin Santa Barbara 0921af4aca AWS: Don't pass empty filters to AWS requests
It gives an error: `The filter 'null' is invalid`

Instead of a zero-length filter list, provide a nil value.

Fix #22786
2016-03-10 07:22:31 -05:00
Wojciech Tyczynski 0e73783c68 Fix resthandler_test in Go 1.6 2016-03-10 13:03:02 +01:00
Justin Santa Barbara 7c82fe7389 AWS: Increase timeout deleting ELB; log remaining security groups
Either ELB is slow to delete (in which case the bumped timeout will
help), or the security groups are otherwise blocked (in which case
logging them will help us track this down).

Fix #17626
2016-03-10 06:57:13 -05:00
Justin Santa Barbara 6678a3f013 AWS kube-up: add retries around delete-security-group
If we deleted an ELB, we often fail to delete the security group,
because deleting the ELB is invisibly asynchronous.

Add a retry loop around delete-security-group to work around this.

Fix #21147
2016-03-10 06:38:48 -05:00
Justin Santa Barbara 562f7f1f71 AWS kube-up: Clean up distro handling
The only tested-working distros are vivid, wily & jessie.

vivid should not really be used because it is no longer supported, so
recommend wily or jessie instead.

For other distros, recommend jessie instead.

Fix #21218
2016-03-10 06:29:20 -05:00
k8s-merge-robot d7a87c2285 Merge pull request #22741 from wojtek-t/refactor_protobuf_generator
Auto commit by PR queue bot
2016-03-10 03:28:19 -08:00
Salvatore Dario Minonne a313f552b4 libvirt_coreos: Add DNS and reaise loglevel 2016-03-10 10:28:46 +01:00
Wojciech Tyczynski 62dc80c9a2 Fix package 2016-03-10 08:21:01 +01:00
k8s-merge-robot 6773c2b60f Merge pull request #22769 from madhusudancs/scale-rc-rv
Auto commit by PR queue bot
2016-03-09 22:20:28 -08:00
k8s-merge-robot 0c10fce98c Merge pull request #22606 from fejta/deployment
Auto commit by PR queue bot
2016-03-09 21:46:15 -08:00
Madhusudan.C.S 6fc1837e5e Auto-generated code. 2016-03-09 21:24:24 -08:00
Madhusudan.C.S db48dcf583 ReplicaSetSpec.Template shouldn't be a pointer.
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.

See PR #19510.
2016-03-09 21:24:16 -08:00
Madhusudan.C.S e8ee3eda2a Pass ResourceVersion in Scale object back to RC before updating RC so that it can be used to check for conflicts. 2016-03-09 19:44:21 -08:00
k8s-merge-robot 108f722657 Merge pull request #22724 from madhusudancs/scale-hpa-stopgap-1.2
Auto commit by PR queue bot
2016-03-09 19:16:26 -08:00
Madhusudan.C.S fe26381c90 Support for both map-based and set-based selectors in extensions/v1beta1.Scale
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
   extensions Scale type (extensions/v1beta1.Scale). This is a serialized
   version of either the map-based selector (in case of ReplicationControllers)
   or the unversioned.LabelSelector struct (in case of Deployments and
   ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
   unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
   single internal selector field. The rules for conversion are as follows:
   i.   If the target resource that this scale targets supports LabelSelector
        (Deployments and ReplicaSets), then serialize the LabelSelector and
        store the string in the TargetSelector field in the external version
        and leave the map-based Selector field as nil.
   ii.  If the target resource only supports a map-based selector
        (ReplicationControllers), then still serialize that selector and
	store the serialized string in the TargetSelector field. Also,
	set the the Selector map field in the external Scale type.
   iii. When converting from external to internal version, parse the
        TargetSelector string into LabelSelector struct if the string isn't
	empty. If it is empty, then check if the Selector map is set and just
	assign that map to the MatchLabels component of the LabelSelector.
   iv.  When converting from internal to external version, serialize the
        LabelSelector and store it in the TargetSelector field. If only
	the MatchLabel component is set, then also copy that value to
	the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
   type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
   return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
   enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
   helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
Yifan Gu 56be600c2b rkt: Fix GetPods().
Group containers from different rkt pods into one k8s pod if
they have the same k8s pod UID.
2016-03-09 17:46:44 -08:00
k8s-merge-robot af2f003585 Merge pull request #22740 from wojtek-t/fix_fake_handler_test
Auto commit by PR queue bot
2016-03-09 16:35:40 -08:00
Jeff Grafton 59a91326fa Automatically determine remote upstream name.
Also add option to force Godeps verification checks on post-commit
Jenkins.
2016-03-09 16:22:28 -08:00