Commit Graph

16098 Commits

Author SHA1 Message Date
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
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
CJ Cullen
a53a3b7e8c Merge pull request #12547 from nikhiljindal/updateSwaggerDatafile
Updating swagger datafile as per latest swagger-ui code
2015-08-11 16:10:03 -07:00
CJ Cullen
e5e041fe23 Merge pull request #12495 from liggitt/abac_test
fix ABAC tests
2015-08-11 16:07:36 -07:00
CJ Cullen
564306e6dc Merge pull request #12548 from a-robinson/stranded
Strip out extra gunk from the end of an example output line.
2015-08-11 16:07:04 -07:00
CJ Cullen
9f009df1cb Merge pull request #12541 from dchen1107/fix
Fix kube-push using gcloud compute instance-groups managed set-instance-template
2015-08-11 15:25:40 -07:00
CJ Cullen
64e5e1a2dd Merge pull request #12427 from krousey/vetclean
Fix go vet errors
2015-08-11 15:14:00 -07:00
Dawn Chen
1932b48db3 Restore the logic of disable docker upgrade through salt for gce.
Currently it is commented out.
2015-08-11 14:55:58 -07:00
Dawn Chen
3901b225e3 Docker 1.7.1 2015-08-11 14:55:57 -07:00
nikhiljindal
7b48b3dbdc Updating swagger datafile 2015-08-11 14:51:04 -07:00
Eric Paris
df988704db Update travis and shippable to have less needless cruft
It looks like there are places where things were needed for one command
were being just needlessly copied. Which made the files harder to
recognize what mattered and what didn't...
2015-08-11 17:42:46 -04:00
Brendan Burns
296ffdf925 Merge pull request #12546 from brendandburns/rc
Switch the order of delete, delete pods before deleting nodes.
2015-08-11 14:14:09 -07:00
Kris Rousey
565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Eric Paris
5aa495cdad Update code to use - in flag names instead of _ 2015-08-11 16:31:52 -04:00
Eric Paris
3547920d13 Change BindKubeletClientConfigFlags to use - in flag names instead of _
The only user of this function is using pflags and does have name
normalization. It might break something out of tree, but that's
impossible to prevent...
2015-08-11 16:31:27 -04:00
Eric Paris
1333fad22a Remove BindClientConfigFlags entirely
They are unused.
2015-08-11 16:26:24 -04:00
Alex Robinson
cbc41eda76 Strip out extra gunk from the end of an example output line. 2015-08-11 20:13:48 +00:00
CJ Cullen
9fdd793555 Merge pull request #11841 from eparis/commit-speed
Speedups for precommit hooks
2015-08-11 12:58:58 -07:00
Brendan Burns
34eec1fc78 Switch the order of delete, delete pods before deleting nodes. 2015-08-11 12:34:37 -07:00
Eric Paris
bf9c3cd6ec Use cp instead of rsync in hack/verify-gendocs.sh
Instead of calling rsync over and over and over and over and over and
over and over and over and over (and probably over) use one `cp`

Before:
real	0m5.247s
user	0m2.294s
sys	0m1.300s

After:
real	0m2.260s
user	0m2.230s
sys	0m0.936s
2015-08-11 14:21:57 -04:00
Eric Paris
3b7c39656c Split hack/{verify,update}-* files so we don't always go build
Right now some of the hack/* tools use `go run` and build almost every
time. There are some which expect you to have already run `go install`.
And in all cases the pre-commit hook, which runs a full build wouldn't
want to do either, since it just built!

This creates a new hack/after-build/ directory and has the scripts which
REQUIRE that the binary already be built. It doesn't test and complain.
It just fails miserably. Users should not be in this directory. Users
should just use hack/verify-* which will just do the build and then call
the "after-build" version. The pre-commit hook or anything which KNOWS
the binaries have been built can use the fast version.
2015-08-11 14:20:46 -04:00
Eric Paris
985fa94ebd Move description.sh from hack/ to hooks/
Just to get everything in one place...
2015-08-11 14:20:38 -04:00
Eric Paris
302cb7dc7f Move boilerplate from hooks/ to hack/
Hooks seems like they should be hooks. Not sure hack makes a lot more
sense, but it has more stuff already.
2015-08-11 14:20:38 -04:00
Eric Paris
5aeebb4886 hack/lib/etcd: remove unused local var
It isn't used anywhere, why have it?
2015-08-11 14:20:38 -04:00