Commit Graph

24953 Commits (be803eaf64c955a56479f801761ec06cf13e1449)

Author SHA1 Message Date
Mike Spreitzer 4d55dbe69f Introduced envar KUBE_PROXY_EXTRA_OPTS
Resolves #21168
2016-02-12 18:42:51 -05:00
k8s-merge-robot d6b81640ed Merge pull request #21012 from cjcullen/handlertest
Auto commit by PR queue bot
2016-02-12 15:00:24 -08:00
Yu-Ju Hong 3072754c8b Avoid unnecessary GET request when updating pod status
When sending out an pod status update, kubelet

GETs the pod from the apiserver
Terminates if the apiserver returns an not found error; otherwise, proceed to
to update.
Even after a pod has been deleted, there might still be queued up updates for
the pod. This leads to expensive, unncessary GET operations. The situation is
worse when there are batch creation/deletion of a significant number of pods
(e.g., E2E tests), leaving many updates in the queue.

This change checks whether a pod exists before GET the pod from the apiserver
to avoid redundant GETs.
2016-02-12 14:59:18 -08:00
Dawn Chen 64ca54c2cc Make master component's manifest consistent with the ones on debian 2016-02-12 14:56:12 -08:00
Dawn Chen 11a6d7df26 Make coreos's master component manifest consistent with debian ones. 2016-02-12 14:55:28 -08:00
Eric Tune 825dc470cc Add a validation helper function.
I will use this in a subsequent PR as part of #12298
2016-02-12 14:38:22 -08:00
Eric Tune 2b9d22e030 Renamed noAutoSelector to manualSelector
Avoids double negative.
2016-02-12 14:34:07 -08:00
Eric Tune 485b0681c5 Update paths after move.
Also improve doc slightly.
2016-02-12 14:34:03 -08:00
Dawn Chen 54933902b2 Make master component pods burstable, instead of guaranteed. 2016-02-12 14:28:48 -08:00
k8s-merge-robot 0615f52054 Merge pull request #21184 from vishh/20993
Auto commit by PR queue bot
2016-02-12 14:26:14 -08:00
k8s-merge-robot 3052f846c0 Merge pull request #20467 from mesosphere/jdef_document_discoveryinfo
Auto commit by PR queue bot
2016-02-12 14:26:13 -08:00
k8s-merge-robot 8a4a73e372 Merge pull request #20517 from janetkuo/enable-deployments-default
Auto commit by PR queue bot
2016-02-12 14:26:12 -08:00
Random-Liu ae759dc206 Add unit test for PodSyncResult 2016-02-12 14:15:25 -08:00
Eric Tune 7734dd8d18 Move selector-generation from proposal to design 2016-02-12 14:09:26 -08:00
Mike Danese 695211e2ee Merge pull request #21105 from caesarxuchao/watchCacheForIntegration
turn on and off watch cache in integration test
2016-02-12 14:02:47 -08:00
Mike Danese 9ceed60b1a Merge pull request #20977 from hongchaodeng/prio
priorities: move getNonzeroRequests() into util/ package
2016-02-12 14:00:32 -08:00
Mike Danese 450f31a44c Merge pull request #21089 from derekwaynecarr/change_lock_file_default
Default lockfile to empty string while alpha
2016-02-12 13:36:18 -08:00
k8s-merge-robot 4a24406579 Merge pull request #20990 from timstclair/summary-api
Auto commit by PR queue bot
2016-02-12 13:25:25 -08:00
Clayton Coleman d23c531869 Can't replace a generic resource that is cluster scoped
It should be allowed to invoke kubectl replace with a JSON file that has
no resource version set.  Namespaced resources were working correctly,
but cluster resources were silently failing to lookup the current state
of the object to get the resource version because we weren't using
NamespaceIfScoped(). Added a failing test.
2016-02-12 16:20:37 -05:00
Yu-Ju Hong 082da18e8a e2e: change memory fields to use unit64 2016-02-12 13:19:12 -08:00
Yu-Ju Hong 715ea4c8b1 e2e: checking RSS memory for daemons 2016-02-12 13:16:27 -08:00
CJ Cullen 52b16129dc Re-GET nodes during CIDR allocation (to avoid cascading bad resource version). 2016-02-12 13:08:54 -08:00
Vishnu kannan 3ad5888673 Revert "node e2e tests - disable testing metrics for system containers"
This reverts commit 75bce624cb.
2016-02-12 12:35:49 -08:00
Janet Kuo 4e8b4871c4 Add e2e test for kubectl run should generate deployment 2016-02-12 12:29:14 -08:00
Janet Kuo 311385e76c Make deployment the default in kubectl run 2016-02-12 12:29:14 -08:00
Janet Kuo 2874f30c05 Enable Deployments by default 2016-02-12 12:29:14 -08:00
Rudi Chiarito b3863eae82 Add instance-type label to cloud providers
Fully implemented for AWS and GCE
2016-02-12 15:02:03 -05:00
golvteppe 62292341ff Added ZONE variable to the info string which informs what provider is being used
Fixed unbound ZONE variable issue for kube-up.sh

Added curlys
2016-02-12 20:53:10 +01:00
David Oppenheimer 8930c4c250 Update cluster-large.md to reflect 1000-node clusters. 2016-02-12 11:35:56 -08:00
Daniel Wang 91b2f59bc6 Jenkins: Add configs for gke+trusty e2e test jobs
Additionally, merge kubernetes-e2e-trusty.yaml into kubernetes-e2e.yaml and
refactor the latter to serve all e2e jobs.
2016-02-12 11:30:55 -08:00
Mike Danese 2172e0dea0 Merge pull request #21108 from mml/slow-flake
Include some debug output when the API server never appears.
2016-02-12 11:27:12 -08:00
Ben Parees f28cc156fc fix typo in test log message 2016-02-12 14:12:35 -05:00
Mike Spreitzer 07d7cfd346 Fetch hacked easyrsa in kube-up instead of command run on master
This is good because it removes an obstacle to using the
cluster/ubuntu scripting to install Kubernetes into a restricted
environment where the machines can not open connections to arbitrary
external locations.

Also add debuggability to make-ca-cert.sh

Resolves #21037
Resolves #21092
2016-02-12 14:11:53 -05:00
Mike Danese 5516b8684f Merge pull request #20937 from madhusudancs/daemonset-update-type-revert
Revert DaemonSet update.
2016-02-12 10:36:04 -08:00
James DeFelice bb15785158 initial revision of discovery info doc 2016-02-12 18:29:24 +00:00
Michail Kargakis b9839d0677 controller: fix cleanup policy for deployments
Cleanup policy should run on all replica sets and not only on those that
have pods (we will not cleanup those anyway).
2016-02-12 19:14:18 +01:00
Mike Danese 32d844e59c Merge pull request #21036 from mqliang/master-syncStore
revert #19973
2016-02-12 10:04:26 -08:00
Eric Chiang 92d37d5cc5 plugin/pkg/auth/authenticator/token/oidc: get groups from custom claim 2016-02-12 09:58:18 -08:00
Mike Danese 010ab300db Merge pull request #21119 from pmorie/atomic-writer-linux
Run atomic_writer_test only on linux
2016-02-12 09:50:26 -08:00
Maru Newby 6bca837504 Add granular networking e2e tests
This change adds 2 new e2e tests to test that:

 - a pod can reach another pod on the same node
 - a pod can reach another pod on another node

The intention is to provide a more granular indication of networking
failure than the existing intra-pod test for the benefit of network
plugin developers.
2016-02-12 08:47:57 -08:00
Mike Spreitzer 43285f872e Deploy dashboard instead of extiinct kube-ui
Updated cluster/ubuntu/deployAddons.sh to deploy the UI that exists
rather than the old one that no longer exists.

Resolves #20992
2016-02-12 11:47:18 -05:00
deads2k 9f003f7db3 allow patch to handle multiple types 2016-02-12 11:12:09 -05:00
Dan Williams 905dfd9b77 Fix another instance of golang #12262
Reliably reproducible on two up-to-date Fedora 23 machines using
go 1.5.3, both one Core i7-4770R and a Core i7-4790.

https://github.com/golang/go/issues/12262
2016-02-12 10:04:48 -06:00
k8s-merge-robot 9d776d999d Merge pull request #20932 from saad-ali/fix20757
Auto commit by PR queue bot
2016-02-12 07:58:53 -08:00
derekwaynecarr e5e691ed5f Default lockfile to empty string while alpha 2016-02-12 10:50:17 -05:00
Justin Santa Barbara 1852fab029 AWS: Fix kube-up generation of kubeconfig
We were assuming the PROJECT env var was set, which the e2e tests do.
But PROJECT is normally not set on AWS (it is set on GCE); this broke as
part of the harmonization.

Revert to the pre-existing behaviour here, where we use "aws_" as the
prefix.

Fix #21141
2016-02-12 09:53:22 -05:00
k8s-merge-robot ad7ed67904 Merge pull request #20213 from jsafrane/devel/pv-reload
Auto commit by PR queue bot
2016-02-12 06:49:29 -08:00
k8s-merge-robot 678958a706 Merge pull request #19868 from jsafrane/devel/syncclaim-twice
Auto commit by PR queue bot
2016-02-12 06:21:21 -08:00
deads2k 2d0fe7dbf1 let singularization handle non-conflicting ambiguity 2016-02-12 08:28:32 -05:00
Maciej Szulik b929424135 Scale deployments fall-back to regular deployment update 2016-02-12 10:17:35 +01:00