Commit Graph

6039 Commits

Author SHA1 Message Date
Clayton Coleman
b2d50ce1cc Merge pull request #4329 from smarterclayton/bindings_incorrectly_removed
Bindings were not correctly removed across namespaces on pod update and delete
2015-02-12 11:43:22 -05:00
Saad Ali
42f04587d0 Merge pull request #4363 from yujuhong/defaulting_tests
Add defaulting tests for API v1beta2 and v1beta3
2015-02-12 07:56:23 -08:00
Saad Ali
b5f4849a53 Merge pull request #4364 from vmarmol/cleanup
Minor clarification of --server flag.
2015-02-12 07:54:39 -08:00
Saad Ali
35a62fb89a Merge pull request #4373 from vishh/3391
Improve error handling for '/containerLogs' API in kubelet.
2015-02-12 07:51:53 -08:00
Saad Ali
c216b2660c Merge pull request #4367 from vmarmol/print-client
Print client version before evaluating server's.
2015-02-12 07:48:24 -08:00
Clayton Coleman
7d43971614 Merge pull request #4326 from yujuhong/phantom_pods
Allow AtomicUpdate() to surface the error when the key doesn't exist
2015-02-12 10:19:09 -05:00
Saad Ali
8557cd617b Merge pull request #4374 from ghodss/update-walkthrough
Update walkthrough to support kubectl create
2015-02-12 07:09:21 -08:00
Clayton Coleman
0a2d713803 Merge pull request #4263 from smarterclayton/simplify_apiserver
Remove layers of indirection between apiinstaller and resthandler
2015-02-12 10:03:41 -05:00
Clayton Coleman
e6fdac1365 Return an error when names are empty 2015-02-12 09:45:13 -05:00
Clayton Coleman
371349f858 Merge pull request #4125 from derekwaynecarr/store_by_namespace
Enable look-up by secondary index in cache
2015-02-12 09:44:26 -05:00
Yu-Ju Hong
6813683ee2 Allow AtomicUpdate() to surface the error when the key doesn't exist
In some cases, when the key doesn't exist, AtomicUpdate should simply fail and
surface the error. This change adds a new function parameter "ignoreNotFound"
for this purpose.
2015-02-11 21:56:28 -08:00
Eric Tune
52bf48cac2 Merge pull request #4369 from jlowdermilk/fix-kube-up
Fix kube-up bug introduced by #4353
2015-02-11 20:47:07 -08:00
Sam Ghods
b10bd7c0d7 Update walkthrough to support kubectl create 2015-02-11 19:53:25 -08:00
Vishnu Kannan
922881fcd2 Improve error handling for '/containerLogs' API in kubelet. 2015-02-12 02:22:26 +00:00
Jeff Lowdermilk
41547a1152 Fix kube-up bug introduced by #4353 2015-02-11 17:44:28 -08:00
Victor Marmol
d158bbd62a Print client version before evaluating server's.
This will allow the client version to be printed even if the server
version is not available.

Fixes #4098.
2015-02-11 17:11:25 -08:00
Victor Marmol
0a64fecaf5 Minor clarification of --server flag.
Fixes #3425.
2015-02-11 17:04:41 -08:00
Filipe Brandenburger
f9a4471eca Merge pull request #4356 from filbranden/hack_e2e_clustersize_output
Simplify ValidateClusterSize() to use cmd.Output() directly
2015-02-11 16:55:30 -08:00
Filipe Brandenburger
854a3d1fad Merge pull request #4294 from zmerlynn/util_funcs
Utility functions for Gingko By and Fail
2015-02-11 16:53:38 -08:00
Zach Loafman
6b3746896f Add a Failf utility function for 'Fail(fmt.Sprintf())' and convert one file 2015-02-11 16:46:36 -08:00
Zach Loafman
251bb585bd Add a Logf utility function to print INFO: lines to GinkgoWriter, convert new file to it 2015-02-11 16:45:44 -08:00
roberthbailey
3d89c23516 Merge pull request #4361 from erictune/cleanup_etcd_1
Don't set --etcd_servers argument for kubelet.
2015-02-11 16:28:01 -08:00
Yu-Ju Hong
4bce52a5f6 Add defaulting tests for API v1beta2 and v1beta3
This commit also add more tests in v1beta1/defaults_test.go
2015-02-11 16:08:52 -08:00
Victor Marmol
8c5f77f302 Merge pull request #4360 from a-robinson/yaml
Remove the now-unused open-golang dependency. It was only being used by kubecfg
2015-02-11 16:03:35 -08:00
Alex Robinson
1fa696ceb2 Merge pull request #4355 from vmarmol/cmd
Update github.com/spf13/cobra to HEAD.
2015-02-11 15:56:29 -08:00
Eric Tune
59a06b5073 Don't set --etcd_servers argument for kubelet.
This is ignored by all recent kubelet versions when api_servers is
set.  And it is set in this salt file.
2015-02-11 15:53:26 -08:00
Alex Robinson
87c9fc2f4f Remove the now-unused open-golang dependency. It was only being used by kubecfg,
which is now completely gone.
2015-02-11 23:50:56 +00:00
Victor Marmol
c759264442 Updating docs with new CLI flag output. 2015-02-11 15:47:53 -08:00
Victor Marmol
ca5a9581dd Update github.com/spf13/cobra to HEAD.
This allows us to break down flags in the usage section by
command-specific and global.

Fixes #4142.
2015-02-11 15:47:35 -08:00
roberthbailey
4c4b4261d4 Merge pull request #4354 from simon3z/master
ovirt: fix IPAddress lookup implementation
2015-02-11 15:32:03 -08:00
roberthbailey
0194ed8575 Merge pull request #4353 from erictune/fix_get_password
Don't fail get-password when no current-context.
2015-02-11 15:25:24 -08:00
roberthbailey
2ed888592b Merge pull request #4351 from rajatchopra/master
democratize restart-apiserver method across clouds
2015-02-11 15:23:06 -08:00
roberthbailey
0ddbb52717 Merge pull request #4344 from GoogleCloudPlatform/erictune-patch-1
Update README.md
2015-02-11 15:19:27 -08:00
roberthbailey
b9d6b3b547 Merge pull request #4345 from vmarmol/noports
Don't include port in config when not specified.
2015-02-11 15:07:43 -08:00
Filipe Brandenburger
43543faaa7 Simplify ValidateClusterSize() to use cmd.Output() directly
This is a first step towards getting rid of finishRunningWithOutputs and
using the native os/exec methods directly where possible.
2015-02-11 15:02:24 -08:00
Federico Simoncelli
45bc19beb5 ovirt: fix IPAddress lookup implementation
The ovirt instance is reported using its hostname. The IPAddress
implementation should lookup the ip (instead of parsing it as if
it was already an address).

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-11 17:47:26 -05:00
Eric Tune
c348b30f62 Update util.sh 2015-02-11 14:32:41 -08:00
Filipe Brandenburger
aef5c3410d Merge pull request #4350 from zmerlynn/jenkins_4177
Unpatch Jenkins now that #4177 is fixed
2015-02-11 14:26:24 -08:00
Eric Tune
549504dfff Don't fail get-password when no current-context. 2015-02-11 14:25:15 -08:00
roberthbailey
0019a0d1eb Merge pull request #4338 from a-robinson/timecache
Fix bad config in flaky test documentation and add script to help check for flakes
2015-02-11 14:18:47 -08:00
roberthbailey
91095a38f1 Merge pull request #4336 from KyleAMathews/patch-1
typos
2015-02-11 14:11:17 -08:00
Clayton Coleman
8f6e3607a9 Add monitoring as a filter 2015-02-11 17:07:23 -05:00
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