Commit Graph

6203 Commits

Author SHA1 Message Date
Rajat Chopra
56462c020a democratize restart-apiserver method across clouds 2015-02-11 13:44:43 -08:00
Zach Loafman
a08e04dd68 Unpatch Jenkins now that #4177 is fixed
And actually, make it more better: Go ahead and tear down the cluster
even when tests fail, but (hopefully) relay the test exit status
correctly. This fails if there's a double error (if -down *also*
fails, we'll fail due to errexit), but either way is a build failure,
and this means that the teardown of a test failure build isn't getting
charged to the next run.
2015-02-11 13:42:14 -08:00
Clayton Coleman
26f08b7807 RESTStorage should not need to know about async behavior
Also make sure all POST operations return 201 by default.
Removes the remainder of the asych logic in RESTStorage and
leaves it up to the API server to expose that behavior.
2015-02-11 16:26:08 -05:00
Clayton Coleman
79cb93002e Remove asynchronous channel on RESTStorage interfaces 2015-02-11 16:26:07 -05:00
Clayton Coleman
d167c11b59 Remove layers of indirection between apiinstaller and resthandler
Make the RESTHandler feel more go-restful, set the stage for adding
new types of subresource collections.
2015-02-11 16:26:06 -05:00
Filipe Brandenburger
55e8357c0f Merge pull request #4339 from zmerlynn/issue_4177
Fix hack/e2e.go exit status for -test
2015-02-11 13:21:37 -08:00
Victor Marmol
6a80553d7b Don't include port in config when not specified.
When no port is specified the flag default of "-1" is taken.

Fixes #4305
2015-02-11 13:20:51 -08:00
Clayton Coleman
1df343582b Merge pull request #4342 from derekwaynecarr/ns_context_update
If I access an individual namespace, the namespace context for request should match name
2015-02-11 16:16:59 -05:00
Zach Loafman
f08f7e6972 Clean up output handling in hack/e2e.go
Dovetail stdout/stderr and remove escaping for TAP.
2015-02-11 13:12:48 -08:00
Zach Loafman
ab38a78d70 Test() was mis-tracked. Change the variable name / handling here, and
also just make it unset so that if it's ever uninitialized it's
obvious.

Fixes #4177
2015-02-11 13:11:03 -08:00
derekwaynecarr
7b34d6ef8e The namespace context for a get of an individual namespace is the namespace 2015-02-11 16:06:51 -05:00
Eric Tune
b4ab2b7a1b Update README.md 2015-02-11 13:05:02 -08:00
Filipe Brandenburger
50a399fa30 Merge pull request #4341 from zmerlynn/i4340
Fix e2e-internal scripts for cluster-size and watch-events
2015-02-11 13:00:27 -08:00
Zach Loafman
9257b58e68 Fix e2e-internal scripts for cluster-size and watch-events
Fixes #4340
2015-02-11 12:46:31 -08:00
Alex Robinson
d3d71df943 Fix bad config in flaky test documentation and add script to help check
for flakes.
2015-02-11 12:28:34 -08:00
Jeff Lowdermilk
3da5d27ab2 Make gce's kubeconfig context include the gce project
Change the .kubeconfig context that gce kube-up creates to project
+ instance prefix, so you can spin up clusters with the same name
in different compute projects without overwriting .kubeconfig.
2015-02-11 12:07:59 -08:00
Kyle Mathews
9daf04dce0 typos 2015-02-11 12:06:06 -08:00
roberthbailey
15c57efde2 Merge pull request #4327 from a-robinson/timecache
Remove the unused TimeCache file and its tests.
2015-02-11 11:46:51 -08:00
Clayton Coleman
6f85b655cc Bindings were not correctly removed across namespaces on pod update and delete
BoundPods must be checked for Name and Namespace equality, not just name
equality. In the future, we should also check for UID equality.
2015-02-11 14:35:28 -05:00
roberthbailey
3afefc464c Merge pull request #4308 from philips/patch-1
docs: resources: minor spelling fix otr to or
2015-02-11 11:25:17 -08:00
roberthbailey
d10ae1ee89 Merge pull request #4325 from tobert/patch-1
fix spelling of "below"
2015-02-11 11:24:51 -08:00
Brian Grant
20f7cbb87b Merge pull request #4291 from jlowdermilk/delete-kubecfg
Remove kubecfg, cleanup a few stray references.
2015-02-11 11:18:59 -08:00
Eric Tune
9ea4d2f814 Merge pull request #4323 from dchen1107/podstatus
Check if kubelet does know such Pod before querying status.
2015-02-11 11:13:50 -08:00
Alex Robinson
b58160c5ea Remove the unused TimeCache file and its tests. Fixes issue #4192. 2015-02-11 11:11:43 -08:00
roberthbailey
e14ebcbea8 Merge pull request #4317 from justinsb/retry_logic_on_update
Fix polling in e2e-suite/update.sh: exit if we time out
2015-02-11 11:09:04 -08:00
roberthbailey
8953ddf617 Merge pull request #4320 from justinsb/cleanup_after_update_e2e
Stop both replication controllers in update-demo
2015-02-11 11:00:14 -08:00
Justin Santa Barbara
934bf51fe9 Fix polling in e2e-suite/update.sh: exit if we time out
Also reduce the number of iterations to 20
2015-02-11 13:56:27 -05:00
Al Tobey
6d09e2943b fix spelling of "below" 2015-02-11 10:54:29 -08:00
roberthbailey
ed8237119f Merge pull request #4316 from justinsb/optional_args
Default value for ${@}, otherwise nounset causes failure
2015-02-11 10:41:10 -08:00
roberthbailey
d68107be5e Merge pull request #4314 from justinsb/e2e_fixes
Remove stray r
2015-02-11 10:29:20 -08:00
Dawn Chen
f5f2b6f773 Check if kubelet does know such Pod before querying status. 2015-02-11 10:16:04 -08:00
CJ Cullen
c2b0632be4 Merge pull request #4217 from pires/fix_coreos_master_portal_net
Fixed API server portal_net flag that could break service networking on CoreOS
2015-02-11 10:15:46 -08:00
roberthbailey
d7e89f9867 Merge pull request #4312 from ryfow/vagrant-dns-replicas
In Vagrant, copy $DNS_REPLICAS to /master-start.sh
2015-02-11 10:06:08 -08:00
Justin Santa Barbara
c6f32d5a15 Stop both replication controllers in update-demo
The update test may have failed, and if we leave an RC around it
causes subsequent tests to fail
2015-02-11 12:54:18 -05:00
Jeff Lowdermilk
8276a9e03d Merge pull request #4295 from MikeJeffrey/kubectldocs
Clean up kubectl help for auto-gen'd kubectl.md
2015-02-11 09:41:30 -08:00
Justin Santa Barbara
8cbd97d8bd Default value for ${@}, otherwise nounset causes failure 2015-02-11 12:39:06 -05:00
Justin Santa Barbara
4cf0e4c37f Remove stray r 2015-02-11 12:34:19 -05:00
Ryan Fowler
289e11ae6f In Vagrant, copy $DNS_REPLICAS to /master-start.sh
DNS doesn't start without `DNS_REPLICAS`
2015-02-11 09:11:37 -06:00
Brandon Philips
839eafb734 docs: resources: minor spelling fix otr to or 2015-02-10 20:02:22 -08:00
roberthbailey
fcee2e16b9 Merge pull request #4300 from bprashanth/clarity_local
A set of clarity fixes for the local cluster documentation
2015-02-10 17:21:45 -08:00
Deyuan Deng
f431e0e780 Merge pull request #4274 from mikedanese/descirbe-node-condition
add NodeCondition and PodCondition to kubectl describe node/pod
2015-02-10 20:15:20 -05:00
Jeff Lowdermilk
197059b65d Remove kubecfg, cleanup a few stray references. 2015-02-10 16:43:12 -08:00
Victor Marmol
6c15604ccb Merge pull request #4299 from a-robinson/metrics
Add monitoring instrumentation for the remaining HTTP handlers in the apiserver.
2015-02-10 16:25:08 -08:00
CJ Cullen
a840c20939 Merge pull request #4158 from HackToday/master
Check curl before use it
2015-02-10 16:24:53 -08:00
Prashanth Balasubramanian
c51349009c Clarify the documentation for starting a local cluster. 2015-02-10 16:04:52 -08:00
Alex Robinson
ab62b689a5 Add monitoring instrumentation for the remaining HTTP handlers in the apiserver. 2015-02-10 23:19:49 +00:00
Victor Marmol
535502ead6 Merge pull request #4272 from a-robinson/metrics
Basic initial instrumentation of the apiserver
2015-02-10 14:58:14 -08:00
Alex Robinson
d39262d743 Consolidate the prometheus Counters into a shared CounterVec and remove
the "code" label from the latencies SummaryVec.
2015-02-10 22:47:56 +00:00
Clayton Coleman
06656efe62 Merge pull request #4283 from ncdc/allow-proxy-to-resource-root-path
Allow proxying to a resource at /
2015-02-10 17:45:31 -05:00
Zach Loafman
6b3bb763f0 Merge pull request #4287 from derekwaynecarr/docker_group_gone
Docker 1.4.1 on Fedora no longer provisions a docker group
2015-02-10 14:28:02 -08:00