Commit Graph

16279 Commits

Author SHA1 Message Date
jiangyaoguo
9ab4a46b9d Keep event reason in kubelet consistent with others 2015-08-12 19:00:09 +08:00
Piotr Szczesniak
7837cf1ae3 Merge pull request #12578 from socaa/post-request
Handling http POST requests added to Resource Consumer
2015-08-12 12:06:56 +02:00
Piotr Szczesniak
7186b48d48 Merge pull request #12528 from wojtek-t/rewrite_events
Rewrite events registry to be generic
2015-08-12 12:02:13 +02:00
Piotr Szczesniak
50a5c5761b Merge pull request #12517 from socaa/consume-cpu
Added consume cpu function to Resource Consumer
2015-08-12 12:01:16 +02:00
Piotr Szczesniak
8eaac8655d Merge pull request #12576 from HaiyangDING/patch-1
Update comments.
2015-08-12 12:00:19 +02:00
dingh
472a66aee1 Update comments.
Change limit to request in the comments for CheckPodsExceedingFreeResources()
2015-08-12 17:30:09 +08:00
Piotr Szczesniak
81fb0f9582 Merge pull request #12527 from piosz/jenkins-autoscaling
Actually changed monitoring level on Jenkins
2015-08-12 11:23:12 +02:00
Wojciech Tyczynski
2ced08358f Remove unused registry infrastructure 2015-08-12 11:23:10 +02:00
Wojciech Tyczynski
5de0f11b1d Unify events registry to be generic. 2015-08-12 11:23:07 +02:00
Piotr Szczesniak
c00c5b680f Merge pull request #12577 from sdminonne/bug_fix2
to fix go vet: composite literal uses unkeyed fields
2015-08-12 11:21:59 +02:00
Ewa Socala
b629dffb0f Handling http POST requests added to Resource Consumer 2015-08-12 11:19:51 +02:00
Piotr Szczesniak
1bb39e2b84 Merge pull request #12519 from feihujiang/kubectlExposeAcceptFileNameParam
Kubectl expose command accepts a filename param
2015-08-12 11:12:41 +02:00
Ewa Socala
e48d4d71ac Added bitbucket.org/bertimus9/systemstat to godeps 2015-08-12 11:04:06 +02:00
Jerzy Szczepkowski
baa1612241 Added HorizontalPodAutoscaler object to experimental API.
Added HorizontalPodAutoscaler object to experimental API. Related to #12087.
2015-08-12 11:03:21 +02:00
Ewa Socala
e9b6b00ade Added consume cpu function to Resource Consumer 2015-08-12 11:01:54 +02:00
Salvatore Dario Minonne
6915e2de36 to fix go vet: composite literal uses unkeyed fields 2015-08-12 10:54:58 +02:00
feihujiang
c0b2098844 Kubectl expose command accepts a filename param 2015-08-12 16:16:37 +08:00
Piotr Szczesniak
0ded91c521 Merge pull request #12403 from stensonb/consolidate-cloudprovider-imports
consolidate cloudproviders into a single import
2015-08-12 09:56:09 +02:00
Piotr Szczesniak
eb01d49783 Merge pull request #12556 from uluyol/copynilinterface
Properly handle nil interfaces in DeepCopy.
2015-08-12 09:54:02 +02:00
Piotr Szczesniak
b2c0a55679 Merge pull request #12332 from hurf/nits
Synchronize help message between describe and get
2015-08-12 09:51:31 +02:00
Piotr Szczesniak
7795a3a288 Merge pull request #12525 from jszczepkowski/scaler-cleanup
Cleanup: "scaler" -> "scale".
2015-08-12 09:39:22 +02:00
Piotr Szczesniak
c91950f01c Merge pull request #12566 from uluyol/cleanup-convcopy
Add missing argument to function call and don't set GOPATH directly
2015-08-12 09:36:10 +02:00
hurf
1d1f1fd97c Synchronize help message between describe and get
small nits, change 'resources' to 'resource types'
2015-08-12 15:27:11 +08:00
Piotr Szczesniak
fe5bebba29 Merge pull request #12570 from a-robinson/update-demo
Fix the paths given in the update-demo, which was moved out of examples
2015-08-12 09:26:58 +02:00
Piotr Szczesniak
22b8197a4a Merge pull request #12456 from bjlee72/ubuntu-ui-patch
Fix the problem of the deployAddons.sh
2015-08-12 09:15:23 +02:00
Jerzy Szczepkowski
84af5594b3 Cleanup: "scaler" -> "scale".
Cosmetic cleanup: "scaler" replaced with "scale" (the proper name for sub-resource).
2015-08-12 09:14:05 +02:00
BenTheElder
ae569e20b5 Partially Implement #3760 2015-08-12 02:39:15 -04:00
Byungjoon Lee
5de9094652 Fix the problem that Kubernetes UI is not installed by deployAddons.sh script in Ubuntu environment. 2015-08-12 15:33:07 +09:00
Dr. Stefan Schimanski
fb0d4dbc13 Address review comments 2015-08-12 08:03:37 +02:00
Dr. Stefan Schimanski
f1a560718c Make slave assignment before binding persistent
- move assigned slave to T.Spec.AssignedSlave
- only create the BindingHost annoation in prepareTaskForLaunch
- recover the assigned slave from annotation and write it back to the T.Spec field

Before this patch the annotation were used to store the assign slave. But due
to the cloning of tasks in the registry, this value was never persisted in the
registry.

This patch adds it to the Spec of a task and only creates the annotation
last-minute before launching.

Without this patch pods which fail before binding will stay in the registry,
but they are never rescheduled again. The reason: the BindingHost annotation does
not exist in the registry and not on the apiserver (compare reconcilePod function).
2015-08-12 08:03:36 +02:00
Alex Robinson
0e553a2611 Fix the paths given in the update-demo, which was moved out of examples
and into docs/user-guide about a month ago.
2015-08-11 23:00:24 -07:00
Bryan Stenson
9541414742 create cloudprovider "providers" package
move all providers into new package
    update all references to old package path
2015-08-11 22:36:51 -07:00
Piotr Szczesniak
5a9b36b703 Merge pull request #12499 from dchen1107/cleanup
Upgrade to Docker 1.7.1 by default
2015-08-12 07:17:34 +02:00
Piotr Szczesniak
1df0267f4a Merge pull request #12551 from eparis/underscore-to-dash
Update code and docs to use - in flag names instead of _
2015-08-12 07:16:31 +02:00
Muhammed Uluyol
eba19cc96a Add missing argument to function call and don't set GOPATH directly 2015-08-11 21:54:37 -07:00
Mike Danese
c96111331d Merge pull request #12568 from mikedanese/fix-ci
export path in shippable and travis
2015-08-11 21:23:29 -07:00
Mike Danese
9c4811b9f5 export path in shippable and travis 2015-08-11 20:46:32 -07:00
Lei Zhang
6a2e58552d vxlan as bankend of flannel & auto restart k8s. 2015-08-12 11:16:19 +08:00
CJ Cullen
49f483400c Merge pull request #12560 from yujuhong/sync_pods
kubelet: refactor SyncPods for better readability
2015-08-11 18:09:36 -07:00
CJ Cullen
72ff11778d Merge pull request #12553 from eparis/travis-shippable-cleanup
Update travis and shippable to have less needless cruft
2015-08-11 18:08:24 -07:00
CJ Cullen
077246219b Merge pull request #12549 from eparis/remove-BindClientConfigFlags
Remove BindClientConfigFlags entirely
2015-08-11 18:08:00 -07:00
CJ Cullen
a77900a114 Merge pull request #12411 from uluyol/expconvcopy-dups
Generate conversions/deep-copies for experimental.
2015-08-11 18:07:30 -07:00
CJ Cullen
64051c535f Merge pull request #12433 from davidopp/doc2
Rescheduler design space doc.
2015-08-11 18:00:16 -07:00
Muhammed Uluyol
bc8bc37282 Properly handle nil interfaces in DeepCopy.
Running reflect.ValueOf(X) where X is a nil interface will return
a zero Value. We cannot get the type (because no concrete type is
known) and cannot check if the Value is nil later on due to the way
reflect.Value works. So we should handle this case by immediately
returning nil. We cannot type-assert a nil interface to another
interface type (as no concrete type is assigned), so we must add
another check to see if the returned interface is nil.
2015-08-11 17:59:32 -07:00
Muhammed Uluyol
567bb15432 Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign. 2015-08-11 17:12:24 -07:00
CJ Cullen
103a39c621 Merge pull request #12464 from jiangyaoguo/add-events-for-kube-proxy
Add Birthcry event to kube-proxy
2015-08-11 17:10:03 -07:00
Muhammed Uluyol
4d5899955e Remove redundant tests. We already check that no changes have been made in hack/verify-generated-*.sh. 2015-08-11 16:51:44 -07:00
Muhammed Uluyol
fab367230f Add experimental API support to kubectl 2015-08-11 16:49:55 -07:00
Muhammed Uluyol
01807c1fac Make ClientCache public 2015-08-11 16:47:57 -07:00
Yu-Ju Hong
56f4605f47 kubelet: refactor SyncPods for better readability
Eventually we would like to replace the all-encompassing SyncPods function with
more well-defined, smaller functions. This would not only help with the
readability and profiling of the code, it'd also set in motion for the plans to
trigger pod worker individually based on the content of the pod updates.

This commit serves as the first step of that, while avoiding breaking all unit
tests by preserving the SyncPods function for the time being.
2015-08-11 16:40:26 -07:00