Commit Graph

30463 Commits (6ebf168bc2331ca61230dceb177fa3e6cd04be98)

Author SHA1 Message Date
k8s-merge-robot 6ebf168bc2 Merge pull request #27437 from jsafrane/local-up-syncclaim
Automatic merge from submit-queue

Update default value of CLAIM_BINDER_SYNC_PERIOD.

It's 15 seconds now, see #26414 and #24236.
2016-06-15 10:57:21 -07:00
k8s-merge-robot 9a8aabe7cc Merge pull request #27391 from nikhiljindal/fixFedName
Automatic merge from submit-queue

federation: choosing a default federation name in test instead of failing

The tests are failing right now:
http://kubekins.dls.corp.google.com/job/kubernetes-e2e-gce-federation/

```
[k8s.io] Service [Feature:Federation] should be able to discover a non-local federated service

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/federated-service.go:130 Jun 14 12:40:35.091: FEDERATION_NAME environment variable must be set


[k8s.io] Service [Feature:Federation] should be able to discover a federated service

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/federated-service.go:130 Jun 14 12:40:40.802: FEDERATION_NAME environment variable must be set
```

This is to fix them.

cc @kubernetes/sig-cluster-federation @mml
2016-06-15 09:46:53 -07:00
k8s-merge-robot 130341b5f1 Merge pull request #27429 from wojtek-t/fix_services_test
Automatic merge from submit-queue

Fix failures in up and down services in large clusters

Ref #26687
2016-06-15 08:39:25 -07:00
k8s-merge-robot 4c0bbe43aa Merge pull request #27416 from wojtek-t/longer_system_pods_timeout
Automatic merge from submit-queue

Make timeout for starting system pods configurable

Context: in 2000-node clusters (if only one node is big enough to fit heapster, which is our testing configuration), heapster won't be scheduled until that node has route. However, creating routes is pretty expensive and currently can take even 2 hours.

@zmerlynn @gmarek
2016-06-15 08:39:21 -07:00
Wojciech Tyczynski 9961b8021b Fix failures in up and down services in large clusters 2016-06-15 16:09:46 +02:00
Filip Grzadkowski b58ca36975 Merge pull request #27439 from kubernetes/revert-27303-downward_api_node_defaults
Revert "Downward api node defaults"
2016-06-15 15:53:22 +02:00
Piotr Szczesniak 51af487b5f Revert "Downward api node defaults" 2016-06-15 15:47:49 +02:00
Jan Safranek 67e5f5c001 Update default value of CLAIM_BINDER_SYNC_PERIOD.
It's 15 seconds now, see #26414.
2016-06-15 15:25:55 +02:00
Piotr Szczesniak 3d09b99d2c Merge pull request #27423 from jszczepkowski/master
Changed constans to reduce hpa e2e test flakiness.
2016-06-15 13:01:39 +02:00
Filip Grzadkowski 6fc1767af2 Merge pull request #27424 from mwielgus/turn-off-multinodepool
Turn off mitlinode pool test in GKE until it is fixed
2016-06-15 12:02:07 +02:00
Jerzy Szczepkowski 86764ba4ce Changed constans to reduce hpa e2e test flakiness.
Changed constans to reduce hpa e2e test flakiness.
2016-06-15 11:33:50 +02:00
Marcin Wielgus 9b012a4d44 Turn off mitlinode pool test in GKE until it is fixed 2016-06-15 11:27:44 +02:00
Wojciech Tyczynski e0498ed76a Make timeout for starting system pods configurable 2016-06-15 11:25:42 +02:00
k8s-merge-robot 3c822c0b3c Merge pull request #27357 from madhusudancs/fed-dns-scope
Automatic merge from submit-queue

Add Google Cloud DNS auth scope to GCE VMs when they are started in a federation.

cc @colhom @kubernetes/sig-cluster-federation 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-15 00:00:54 -07:00
nikhiljindal 33291bd52a choosing a default federation name in test instead of failing 2016-06-14 23:55:05 -07:00
k8s-merge-robot 922facd652 Merge pull request #27303 from derekwaynecarr/downward_api_node_defaults
Automatic merge from submit-queue

Downward api node defaults

Fixes #27062

Replaces https://github.com/kubernetes/kubernetes/pull/27107
2016-06-14 22:53:03 -07:00
k8s-merge-robot 49d0ba52dc Merge pull request #27181 from jsafrane/update-selector-doc
Automatic merge from submit-queue

Update PVC.Selector docs: it's ignored when VolumeName is set

@kubernetes/sig-storage
2016-06-14 21:03:30 -07:00
k8s-merge-robot 77419c48fd Merge pull request #27395 from zmerlynn/separate_heapster_pool
Automatic merge from submit-queue

GKE provider: Add a HEAPSTER_MACHINE_TYPE option

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Allows heterogeneous cluster configurations for large cluster
synthetic testing.

Supersedes #27389
2016-06-14 16:53:13 -07:00
k8s-merge-robot 2b9670b77b Merge pull request #27190 from caesarxuchao/remove-debugging-log
Automatic merge from submit-queue

Fix a debugging line

A trivial update. @k8s-oncall can we manually merge it?
2016-06-14 16:53:09 -07:00
k8s-merge-robot 364239a294 Merge pull request #27342 from Random-Liu/add-image-pulling-node-e2e
Automatic merge from submit-queue

Add image pulling node e2e

Fixes #27007.
Based on #27309, will rebase after #27309 gets merged.

This PR added all tests mentioned in #27007:
* Pull an image from invalid registry;
* Pull an invalid image from gcr;
* Pull an image from gcr;
* Pull an image from docker hub;
* Pull an image needs auth with/without secrets.

For the imagePullSecrets test, I created a new gcloud project "authenticated-image-pulling", and the service account in the code only has "Storage Object Viewer" permission.

/cc @pwittrock @vishh 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-14 14:50:41 -07:00
Zach Loafman 1fde6f867c GKE provider: Add a HEAPSTER_MACHINE_TYPE option
Allows heterogeneous cluster configurations for large cluster
synthetic testing.
2016-06-14 14:39:08 -07:00
k8s-merge-robot 5ba4b3f200 Merge pull request #27338 from fejta/node
Automatic merge from submit-queue

Add description to created node images

Make it a little easier to see who to contact about important node e2e images.
2016-06-14 13:43:44 -07:00
k8s-merge-robot 751f45b641 Merge pull request #27310 from ihmccreery/version-guard-port-forward
Automatic merge from submit-queue

Add kubectl version guard around kubectl port-forward

Fixes #26594 (once this gets backported to v1.2 and v1.3).
2016-06-14 13:43:40 -07:00
k8s-merge-robot abfe894385 Merge pull request #27301 from bprashanth/ps_dbg
Automatic merge from submit-queue

petset and volume debug messages

To help with https://github.com/kubernetes/kubernetes/issues/27299 https://github.com/kubernetes/kubernetes/issues/27058

simple enough that either reviewer can approve I guess.
2016-06-14 12:34:43 -07:00
k8s-merge-robot cc5e159fe5 Merge pull request #27341 from wojtek-t/fix_pop
Automatic merge from submit-queue

Fix race in informer

Fix #27004

@smarterclayton @hongchaodeng @caesarxuchao
2016-06-14 11:27:46 -07:00
k8s-merge-robot 2f4309d270 Merge pull request #27351 from jszczepkowski/e2e-gke-migs
Automatic merge from submit-queue

Added e2e test for cluster autoslaer for gke with multiple node-pools.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Added e2e test for cluster autoslaer for gke with multiple node-pools.
2016-06-14 10:19:19 -07:00
k8s-merge-robot cd8e8f4c5a Merge pull request #27305 from zmerlynn/fix-logged-op
Automatic merge from submit-queue

GCE provider: Fix minor cosmetic logging issue

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Log the pollOp, not the base op. (This will include the final status/timestamp and any errors.)
2016-06-14 10:19:14 -07:00
Isaac Hollander McCreery fa9f6d7cd2 Add kubectl version guard around kubectl port-forward 2016-06-14 10:04:22 -07:00
derekwaynecarr 712860d55f Fix downward API for resource limits 2016-06-14 12:49:00 -04:00
Daniel Smith afa8da2f5b Merge pull request #27366 from zmerlynn/fix-1-4-tag
Fix v1.4.0-alpha.0 tag
2016-06-14 09:13:33 -07:00
Zach Loafman f49c976bea Revert "Redo v1.4.0-alpha.0"
This reverts commit c7f1485e1b, reversing
changes made to 939ad4115a.
2016-06-14 09:01:53 -07:00
Zach Loafman c7f1485e1b Redo v1.4.0-alpha.0 2016-06-14 09:01:41 -07:00
Vishnu kannan afdd9ea262 When limits are not set, use capacity as limits in downward API for resources.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-14 11:29:39 -04:00
Wojciech Tyczynski 5d702a32c1 Fix race in informer 2016-06-14 16:40:12 +02:00
k8s-merge-robot 939ad4115a Merge pull request #27283 from yifan-gu/stats
Automatic merge from submit-queue

kubelet/rkt - treat pod container as the infra - only network stats

As no "container name" annotation was being applied to the pod as a whole, the rkt pod container didn't have a container name label. This means that in stat/summary it came up as a nameless container that belonged to the pod.

this was problematic as it caused double counting of container stats.

this adds a container name annotation to the pod level which will be overridden during label creation by annotations of the same name at the container level for the containers themselves.

stats/summary will do the right thing as it will treat it the same as the infra container, just get network stats from it.


Suppress #26759

cc @kubernetes/sig-node @kubernetes/rktnetes-maintainers
2016-06-14 06:05:40 -07:00
Madhusudan.C.S fac6f1c379 Add Google Cloud DNS auth scope to GCE VMs when they are started in a federation. 2016-06-14 05:26:56 -07:00
k8s-merge-robot 1aece22176 Merge pull request #27187 from gmarek/heapster-nanny
Automatic merge from submit-queue

Adjust memory limit for heapster's pod nanny

cc @piosz @wojtek-t @zmerlynn
2016-06-14 04:56:46 -07:00
k8s-merge-robot 970104df31 Merge pull request #27345 from wojtek-t/fix_unschedulable_nodes
Automatic merge from submit-queue

Fix panic in TestUnschedulableNodes

Fix #27344
2016-06-14 03:20:17 -07:00
k8s-merge-robot c7e3b2f676 Merge pull request #27252 from mfanjie/fix-ensuredns
Automatic merge from submit-queue

federation: fix dns provider initialization issues

This PR is based on the integration test with Google DNS API. This is the first time of full integration test.
So multiple issues was found and I combined all of them in this single PR

1. add dns provider initialization and add ensureDns call when removing federation service.
2. add new flags federation-name and zone-name to controller manager, both are used as part of the dns record name
3. fix assertion failure at rrsets.go#L61, which will cause panic
4. change getFederationDNSZoneName to get zoneName from config instead of hard code
5. change logic of ensureDnsRrsets, only add new dns record when endpointReachable(set to true when ready address is catched) is true
6. fix bug in processEndpointUpdate, only call ensuredns when ready address is caught
7. change behavior of syncService, there is cases that endpoint is created before ingress IP assignment, so before there is defect for this case, ensureDns was not called when service being updated, so if Ingress IP is assigned after endpoint ready address is caught, the corresponding A records can not be created
8. add a checking before update federation service

@nikhiljindal , can you help to add 1.3 milestone when @quinton-hoole is on leave?
Thanks.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-14 03:20:13 -07:00
Jerzy Szczepkowski 8891481246 Added e2e test for cluster autoslaer for gke with multiple node-pools.
Added e2e test for cluster autoslaer for gke with multiple node-pools.
2016-06-14 12:05:32 +02:00
k8s-merge-robot 5fbde0a9c3 Merge pull request #27270 from piosz/hpa-docs
Automatic merge from submit-queue

Added warning to hpa design doc

fix #22797

cc @davidopp

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-14 02:13:49 -07:00
k8s-merge-robot 7e2b523dce Merge pull request #27260 from nikhiljindal/dnsProvider
Automatic merge from submit-queue

Updating federation up scripts to work in non e2e setup

Ref: https://github.com/kubernetes/kubernetes.github.io/pull/656

Updating the federation up scripts so that they work as per steps in https://github.com/kubernetes/kubernetes.github.io/pull/656.

Changes are:
* Updating the default namespace to be "federation" instead of "federation-e2e"
* Updated the kubeconfig context to be named "federation-cluster" instead of "federated-context"
* Fixing federation-up so that FEDERATION_IMAGE_TAG is set even when federation-up is run without running `e2e.go --up`. e2e-up.sh sets it here: 6a388d4a0d/hack/e2e-internal/e2e-up.sh (L44).
* Adding a "missingkey=zero" option to template parser. Without this, the parser adds `"<no value>"` at the place of an env var that is not set. With this change, it instead replaces it with the corresponding zero value (for ex "" for strings). This is required for the FEDERATION_DNS_PROVIDER_CONFIG env var.

cc @kubernetes/sig-cluster-federation @colhom @mml
2016-06-14 02:13:44 -07:00
Wojciech Tyczynski 80d1ae7642 Fix panic in TestUnschedulableNodes 2016-06-14 11:05:07 +02:00
Wojciech Tyczynski ff1258a29e Merge pull request #27268 from wojtek-t/bump_nanny_version
Adjust Heapster requirements and bump nanny version
2016-06-14 10:50:25 +02:00
Random-Liu 89502d3c8c Add image pulling node e2e test. 2016-06-14 01:19:47 -07:00
Yu-Ju Hong 2b65b5a283 Node e2e: switch most of the tests to use the e2e framework
This commit switches the tests to use the e2e framework, so that namespace
creation/deletion is handled between tests.
2016-06-14 01:19:47 -07:00
mfanjie 8e26283965 add federation-name and zone-name flags to e2e test 2016-06-14 15:40:07 +08:00
mfanjie dd78dd8e2b 1. ensure dns record when ingress ip is assigned after ready address creation
2. ensure dns record removal when service being removed
2016-06-14 15:36:37 +08:00
mfanjie 72a0806103 only update dns records when ready address available for endpoints 2016-06-14 15:36:37 +08:00
mfanjie 318f37ce0f add federation-name and zone-name as controller manager flags 2016-06-14 15:36:37 +08:00