Commit Graph

30741 Commits

Author SHA1 Message Date
Daniel Smith
f9ae3a1a2a Merge pull request #27457 from mml/federation-service-secrets
One more place we need a secret.
2016-06-15 15:40:34 -07:00
Prashanth Balasubramanian
a2387b10cf Call NewFramework constructor instead of hand creating framework. 2016-06-15 15:12:49 -07:00
k8s-merge-robot
38cd0d078e Merge pull request #27311 from vmware/photon-controller-fixes
Automatic merge from submit-queue

Fixes and improvements to Photon Controller backend for kube-up

- Improve reliability of network address detection by using MAC
  address. VMware has a MAC OUI that reliably distinguishes the VM's
  NICs from the other NICs (like the CBR). This doesn't rely on the
  unreliable reporting of the portgroup.
- Persist route changes. We configure routes on the master and nodes,
  but previously we didn't persist them so they didn't last across
  reboots. This persists them in /etc/network/interfaces
- Fix regression that didn't configure auth for kube-apiserver with
  Photon Controller.
- Reliably run apt-get update: Not doing this can cause apt to fail.
- Remove unused nginx config in salt
2016-06-15 14:46:54 -07:00
Daniel Smith
5617360d39 Merge pull request #27221 from david-mcmahon/updatedocs
Update the latestReleaseBranch to release-1.3 in the munger.
2016-06-15 14:43:06 -07:00
Matt Liggett
2c35ce6b8f fix nslookup invocation 2016-06-15 14:33:31 -07:00
Lucas Käldström
9673ca16b2 Enable builds for all ppc64le binaries except hyperkube 2016-06-15 22:59:25 +03:00
Matt Liggett
4f388d8aad Compare v1.Service to v1.Service. 2016-06-15 12:49:45 -07:00
Avesh Agarwal
eac3e3d809 Fix divisor for memory resource as it should never be millibytes 2016-06-15 15:32:59 -04:00
k8s-merge-robot
6209b1b60c Merge pull request #27433 from jszczepkowski/master
Automatic merge from submit-queue

Fixed e2e gke test "scale up correct target pool".

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

Fixed e2e gke test "scale up correct target pool" by adding creation of
cluster autoscaler for the new pool.
2016-06-15 12:17:01 -07:00
k8s-merge-robot
e570329a8e Merge pull request #27422 from gmarek/burst
Automatic merge from submit-queue

Change default value of deleting-pods-burst to 1

Fix. #27413
2016-06-15 12:16:57 -07:00
k8s-merge-robot
12b1e4a1e6 Merge pull request #26801 from saad-ali/mountUnmountRedesign
Automatic merge from submit-queue

Kubelet Volume Attach/Detach/Mount/Unmount Redesign

This PR redesigns the Volume Attach/Detach/Mount/Unmount in Kubelet as proposed in https://github.com/kubernetes/kubernetes/issues/21931

```release-note
A new volume manager was introduced in kubelet that synchronizes volume mount/unmount (and attach/detach, if attach/detach controller is not enabled).

This eliminates the race conditions between the pod creation loop and the orphaned volumes loops. It also removes the unmount/detach from the `syncPod()` path so volume clean up never blocks the `syncPod` loop.
```
2016-06-15 12:16:53 -07:00
Madhusudan.C.S
3f5fbee19d Move GCE NODE_SCOPES to config-common.sh and enable DNS scope in GKE. 2016-06-15 11:36:07 -07:00
Matthew Wong
327210c2a3 Add integration test for binding PVs using label selectors 2016-06-15 14:34:34 -04:00
Matt Liggett
8a48aad07a One more place we need a secret. 2016-06-15 11:32:04 -07:00
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
Chao Xu
63fb075f0a fix updatePod of replication controller manager and replica set controller to
handle pod label updates that match no rc or rs
2016-06-15 10:34:26 -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
saadali
cfab5362d4 Remove spam log messages from gce pd
Fixes https://github.com/kubernetes/kubernetes/pull/27410
2016-06-15 09:34:08 -07:00
saadali
542f2dc708 Introduce new kubelet volume manager
This commit adds a new volume manager in kubelet that synchronizes
volume mount/unmount (and attach/detach, if attach/detach controller
is not enabled).

This eliminates the race conditions between the pod creation loop
and the orphaned volumes loops. It also removes the unmount/detach
from the `syncPod()` path so volume clean up never blocks the
`syncPod` loop.
2016-06-15 09:34:08 -07:00
saadali
9b6a505f8a Rename UniqueDeviceName to UniqueVolumeName
Rename UniqueDeviceName to UniqueVolumeName and move helper functions
from attacherdetacher to volumehelper package.
Introduce UniquePodName alias
2016-06-15 09:32:12 -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
Jerzy Szczepkowski
f688165c5b Fixed e2e gke test "scale up correct target pool".
Fixed e2e gke test "scale up correct target pool" by adding creation of
cluster autoscaler for the new pool.
2016-06-15 16:35:36 +02: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
gmarek
9cf3724ed6 WaitForRunningReady also waits for PodsSuccess 2016-06-15 15:09:02 +02:00
Wojciech Tyczynski
ccd42e9236 Fix bugs in DeltaFIFO 2016-06-15 15:08:21 +02:00
Jan Safranek
449e9f49d3 Fill PV.Status.Message with deleter/recycler errors. 2016-06-15 14:56:31 +02:00
Jan Safranek
4ab91066d0 Allow emitting PersistentVolume events.
Similarly to Nodes, PersistentVolumes are not in any namespace and we should
not block events on them. Currently, these events are rejected with
'Event "nfs.145841cf9c8cfaf0" is invalid: involvedObject.namespace: Invalid value: "": does not match involvedObject'
2016-06-15 14:42:24 +02:00
Jan Safranek
e1e9a41757 Show events in 'kubectl describe pv' 2016-06-15 14:17:02 +02:00
gmarek
8617f70add Adjust heapster cpu request/limit 2016-06-15 13:34:58 +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
gmarek
aec5dfbd6d Change default value of deleting-pods-burst to 1 2016-06-15 11:22:58 +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
nikhiljindal
7f7842e657 Increasing timeout for clusters to be ready 2016-06-14 19:48:45 -07:00
Aditya Kali
a423b83c06 add logrotate service and configuration for GCI
This change mirrors the configuration in cluster/saltbase/salt/logrotate
for GCI.
2016-06-14 19:01:58 -07:00
nikhiljindal
912df9b55a Cleaning up clusters after federation apiserver test is run 2016-06-14 18:43:29 -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
Alain Roy
5740ceb7f6 Fixes and improvements to Photon Controller backend for kube-up
- Improve reliability of network address detection by using MAC
  address. VMware has a MAC OUI that reliably distinguishes the VM's
  NICs from the other NICs (like the CBR). This doesn't rely on the
  unreliable reporting of the portgroup.
- Persist route changes. We configure routes on the master and nodes,
  but previously we didn't persist them so they didn't last across
  reboots. This persists them in /etc/network/interfaces
- Fix regression that didn't configure auth for kube-apiserver with
  Photon Controller.
- Reliably run apt-get update: Not doing this can cause apt to fail.
- Remove unused nginx config in salt
2016-06-14 15:40:33 -07:00
nikhiljindal
690ac21ca7 Deleting federation-push.sh 2016-06-14 15:11:47 -07:00