Commit Graph

26515 Commits (7b3d1b370f80b3087a36f8e383de65edbb048f80)

Author SHA1 Message Date
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
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
Jeff Grafton 4242fd2ee1 Refactor hack/verify-all.sh and run almost all checks.
The reasons why checks are skipped is now more explicit. Output is also
improved a bit, giving both the check name and the runtime on the
pass/fail line.

This commit also makes `make verify`, Travis, and Shippable all use
hack/verify-all.sh instead of calling scripts explicitly, as we had been
doing on Jenkins. Everything should now be consistent.
2016-03-09 15:20:36 -08:00
Jeff Grafton 24b3223141 Make skipping logic more robust in hack/verify-godep*
Also add an environment variable, KUBE_VERIFY_GIT_BRANCH, used with this
logic.
2016-03-09 15:20:36 -08:00
k8s-merge-robot bf3cc9d126 Merge pull request #22722 from spxtr/upgrades-wtf
Auto commit by PR queue bot
2016-03-09 14:41:02 -08:00
Joe Finney 0976ed59c9 Remove hack/e2e-internal/e2e-upgrade.sh. 2016-03-09 14:14:04 -08:00
k8s-merge-robot 36cb9d05ea Merge pull request #22728 from spxtr/tidy-shell
Auto commit by PR queue bot
2016-03-09 13:59:13 -08:00
Brian Grant 3f7f167790 Merge pull request #22743 from gmarek/register-kubelet
Make kubelet-perf 100 pod/node test work with registered master
2016-03-09 13:58:27 -08:00
jay vyas 61102b5ac7 Concurrent liveness test to gaurantee test finishes in 2 minutes with meaningfull results 2016-03-09 16:55:07 -05:00
Brian Grant 8cc91944e0 Merge pull request #22729 from david-mcmahon/mungedocs
Update the latestReleaseBranch to release-1.2 in the munger.
2016-03-09 13:39:40 -08:00
Matt Liggett 547c3b449f Guarantee we finish writing to the test log before the test exits.
Should fix #22614
2016-03-09 13:27:27 -08:00
k8s-merge-robot 3081c10a40 Merge pull request #22632 from jsafrane/devel/fix-nfs-image
Auto commit by PR queue bot
2016-03-09 12:51:44 -08:00
Justin Santa Barbara c771bf43c4 Ubernetes Lite: apply auto-labels to dynamically provisioned volumes
Fix #22532
2016-03-09 15:17:45 -05:00
k8s-merge-robot 16c42d9bdf Merge pull request #22749 from madhusudancs/fix-selector-operator-cases
Auto commit by PR queue bot
2016-03-09 12:11:27 -08:00
k8s-merge-robot 26e9f187d7 Merge pull request #22613 from jayunit100/e2e-volumes-simple
Auto commit by PR queue bot
2016-03-09 11:29:13 -08:00
Joe Finney bc326af6da Add 1.2 gce soak job. 2016-03-09 11:25:08 -08:00
Joe Finney e4e677acd7 Add gce-slow-release-1.2 job. 2016-03-09 11:15:21 -08:00
Joe Finney fd4dd4d766 Add gce-serial-release-1.2 job. 2016-03-09 11:10:09 -08:00
k8s-merge-robot cfb01cd077 Merge pull request #22748 from huang195/fix_broken_km_controller
Auto commit by PR queue bot
2016-03-09 10:51:26 -08:00
Madhusudan.C.S 6b34a2bac6 Selector operator strings should all be lowercase to be consistent with other operators. 2016-03-09 10:02:37 -08:00
k8s-merge-robot 3bd98fa96e Merge pull request #22414 from mfanjie/add-proxy-settings
Auto commit by PR queue bot
2016-03-09 09:58:04 -08:00
Joe Finney 9162cde8c8 Merge pull request #22714 from spxtr/e2e-1-2
Add kubernetes-e2e-gce-release-1.2 e2e suite.
2016-03-09 09:50:04 -08:00
Joe Finney 09c27cdabc Add kubernetes-e2e-gce-release-1.2 e2e suite. 2016-03-09 09:48:53 -08:00
k8s-merge-robot ea4280a814 Merge pull request #22670 from spxtr/ssh-timeout
Auto commit by PR queue bot
2016-03-09 09:18:18 -08:00
HAI HUANG 85269ae1b0 fix broken km controller 2016-03-09 11:58:51 -05:00
gmarek 38411818ed Make kubelet-perf 100 pod/node test work with registered master 2016-03-09 16:05:04 +01:00
Wojciech Tyczynski 46ba2bfc89 Fix fake_handler test in Go 1.6 2016-03-09 14:24:42 +01:00
Wojciech Tyczynski 454468f5c2 Remove dead code 2016-03-09 12:19:02 +01:00