Commit Graph

16284 Commits

Author SHA1 Message Date
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
Eric Paris
055d008634 Update swagger to start etcd with known values
We were setting etcd values, but we started etcd before we set them.
Thankfully we were just setting them to etcd defaults, so it all worked
2015-08-11 14:20:38 -04:00
CJ Cullen
389b9657b2 Merge pull request #12538 from cjcullen/network
Always use the --cluster-version flag for the gke provider.
2015-08-11 11:00:52 -07:00
CJ Cullen
7d9215aea8 Merge pull request #12514 from derekwaynecarr/fix_vagrant_kubeconfig
Fix vagrant kube-up
2015-08-11 11:00:32 -07:00
Dawn Chen
4b99aafc4c Fix kube-push using gcloud compute instance-groups managed set-instance-template` 2015-08-11 10:28:59 -07:00
CJ Cullen
08334a3f32 Merge pull request #12460 from Huawei-PaaS/issue-build-error
Modify the TestCase TestServiceRegistryIPUpdate
2015-08-11 10:15:56 -07:00
CJ Cullen
1f3c322ded Merge pull request #12438 from derekparker/handle-fqdn-gce
Handle full hostname when computing host tag on GCE
2015-08-11 10:11:23 -07:00
Jian Huang
70ce862955 Fix the issue which TestServiceRegistryIPUpdate will randomly run failed. 2015-08-11 17:00:47 +00:00
CJ Cullen
31811de52d Always use the --cluster-version flag for the gke provider. 2015-08-11 09:48:32 -07:00
Dr. Stefan Schimanski
acce49763a Use Mesos 0.23 for both master and slaves 2015-08-11 17:41:10 +02:00
Filip Grzadkowski
1d6553bd0a Merge pull request #12529 from GoogleCloudPlatform/revert-12522-fix_gke
Revert "Fix kube-up for GKE. cluster-version is no more."
2015-08-11 16:53:44 +02:00
Marek Grabowski
8bec081776 Revert "Fix kube-up for GKE. cluster-version is no more." 2015-08-11 16:29:32 +02:00
Piotr Szczesniak
5e58004131 Actually changed monitoring level on Jenkins 2015-08-11 15:25:36 +02:00
Filip Grzadkowski
44c91b1a39 Merge pull request #12508 from markturansky/refactor_pv_controllers
Refactored persistent volume controllers to new packaging structure
2015-08-11 12:35:23 +02:00
Filip Grzadkowski
999eff1b7f Merge pull request #12510 from markturansky/improve_failed_mount_msg
Removed spew from failed volume mount event
2015-08-11 12:35:02 +02:00
Filip Grzadkowski
22fc45c98a Merge pull request #12522 from gmarek/fix_gke
Fix kube-up for GKE. cluster-version is no more.
2015-08-11 12:11:24 +02:00
gmarek
69f7a71b5d Fix kube-up for GKE. cluster-version is no more. 2015-08-11 11:26:05 +02:00
Filip Grzadkowski
03e4bc651c Merge pull request #12518 from piosz/jenkins-autoscaling
Changed monitoring level to googleinfluxdb in kubernetes-e2e-gce Jenk…
2015-08-11 11:13:06 +02:00
Filip Grzadkowski
38c3e351d8 Merge pull request #12203 from jgriffiths1993/subnetid-vip
Pass SubnetID to vips.Create()
2015-08-11 10:59:56 +02:00
Filip Grzadkowski
2148fb78db Merge pull request #12223 from thockin/srv-hostname
Update serve_hostname
2015-08-11 10:59:15 +02:00
David Oppenheimer
e4d9aaa2cf Address reviewer comments. 2015-08-11 01:31:30 -07:00
Filip Grzadkowski
3f7b54cbdb Merge pull request #11669 from pweil-/sc-nonroot
add non-root directive to SC and kubelet checking
2015-08-11 10:30:53 +02:00
Filip Grzadkowski
9dd3cac82e Merge pull request #12423 from brendandburns/service
Make services print on a single line.
2015-08-11 10:29:23 +02:00
Piotr Szczesniak
63a88dd24a Changed monitoring level to googleinfluxdb in kubernetes-e2e-gce Jenkins job. 2015-08-11 10:07:48 +02:00
Filip Grzadkowski
e44c8e6661 Merge pull request #12347 from wojtek-t/rewrite_limitrange
Unify limitrange registry to be generic.
2015-08-11 08:51:17 +01:00