Commit Graph

5069 Commits

Author SHA1 Message Date
Clayton Coleman
ccdc20d90c Ignore empty objects from streams and error when nothing passed to create
Passing zero objects to create should be an error
2015-01-14 13:12:33 -05:00
bgrant0607
312de43ace Merge pull request #3444 from lavalamp/fix
eliminate possibility of double-calling
2015-01-14 10:12:26 -08:00
bgrant0607
78d18aa70c Merge pull request #3424 from brendandburns/run
Basic "Run" command
2015-01-14 10:08:53 -08:00
Dawn Chen
0716df8f2b Fix Event.Source for hostname_override case. 2015-01-14 09:43:13 -08:00
Clayton Coleman
31413c8727 Add more tests around JSON/YAML decoding from the CLI
Switch the ignore stream errors behavior to print a Warningf on
failure to parse, not v(2)
2015-01-14 12:38:36 -05:00
Clayton Coleman
abc621759a Add --v=4 to e2e bash executions by default
Will allow more debugging output to be available in CLI
2015-01-14 12:37:40 -05:00
Clayton Coleman
d986028cf7 Remove trailing commas from e2e services.sh 2015-01-14 12:36:25 -05:00
Martin Nagy
9340781d21 Fix panic if selector uses malformed syntax 2015-01-14 17:13:58 +01:00
Zach Loafman
1f210d4961 Merge pull request #3438 from zmerlynn/fix_pd_sh
Deflake pd.sh: Try really, really hard to detach and delete PD
2015-01-14 07:57:39 -08:00
Zach Loafman
21e81de190 Deflake pd.sh: Try really, really hard to detach and delete PD, up pod-up timeout 2015-01-14 07:48:34 -08:00
Eric Tune
28555bb653 Merge pull request #3455 from saad-ali/followup3423
Address nits from PR #3423
2015-01-14 07:33:10 -08:00
Brendan Burns
de886591b5 Add tests for run command and generate. 2015-01-14 07:12:32 -08:00
Martin Nagy
9a04ceb661 Remove a duplicate 'its' 2015-01-14 15:42:11 +01:00
saadali
826b61c76d Address nits from PR #3423 2015-01-13 23:34:37 -08:00
Daniel Smith
ff908a0d72 Merge pull request #3451 from smarterclayton/fix_yaml_streaming
Fix streaming YAML from STDIN in kubectl
2015-01-13 23:25:39 -08:00
Clayton Coleman
ec803cb809 Allow resource.Builder to stream YAML from the CLI
Add both JSON and YAML STDIN tests in test-cmd
2015-01-14 00:50:13 -05:00
Clayton Coleman
22cf8b94e6 Add a package for doing YAML-to-JSON streaming, one document at a time
Will be moved upstream soon
2015-01-14 00:50:07 -05:00
Alex Robinson
90e1d58fa6 Add a unit test for watch.Broadcaster DropIfChannelFull and a couple small fixes 2015-01-14 04:36:29 +00:00
Brendan Burns
1ce6c27f3d Add an initial run command 2015-01-13 20:00:29 -08:00
Daniel Smith
30be0eeac7 eliminate possibility of double-calling 2015-01-13 18:09:13 -08:00
Dawn Chen
10d596b771 Merge pull request #3397 from thockin/make-data-dirs
Make data dirs for all pods when syncing
2015-01-13 17:33:37 -08:00
Tim Hockin
ca89aa6528 Make data dirs for all pods when syncing 2015-01-13 17:18:21 -08:00
Daniel Smith
e84fc6a517 Merge pull request #3442 from smarterclayton/cleanup_test_cmd
hack/test-cmd.sh can be easier to read if we set PATH
2015-01-13 17:17:13 -08:00
Satnam Singh
c93fb4e309 Merge pull request #3443 from roberthbailey/remove-loop
Remove unnecessary loop.
2015-01-13 16:28:54 -08:00
Daniel Smith
6f1a3accf7 Merge pull request #3440 from ghodss/upgrade-yaml
Upgrade from gopkg.in/v2/yaml to gopkg.in/yaml.v2 everywhere
2015-01-13 16:11:20 -08:00
Clayton Coleman
be8d97077e hack/test-cmd.sh can be easier to read if we set PATH
instead of using a replacement var.  Makes cut and paste testing
easier.
2015-01-13 19:04:47 -05:00
Robert Bailey
df03cc3e0c Remove unnecessary loop. 2015-01-13 16:03:30 -08:00
Daniel Smith
55b005732d Merge pull request #3441 from smarterclayton/fix_object_versioning_bug
Fix broken hack/cluster-validate.sh because output-versions were not locked
2015-01-13 16:01:24 -08:00
Clayton Coleman
30743b8195 The get command should properly handle users providing invalid apiversions
Add more guards against bad behavior.  A follow up commit will ensure that
when the flags for api-version are specified, they default to the correct
values that client.SetKubernetesDefaults would use.
2015-01-13 18:51:55 -05:00
Clayton Coleman
b5c33e1c8c Prevent internal conversion in the printer directly (as per implicit contract) 2015-01-13 18:51:33 -05:00
Clayton Coleman
87970bc356 Use the new client.SetKubernetesDefaults methods to properly default config object 2015-01-13 18:50:36 -05:00
Clayton Coleman
80260f4cb9 Improve hack/test-cmd.sh tests to check versions and default API behavior 2015-01-13 18:46:13 -05:00
Sam Ghods
7845ab90f8 Upgrade from gopkg.in/v2/yaml to gopkg.in/yaml.v2 everywhere 2015-01-13 15:06:25 -08:00
Eric Tune
f589ee98e0 Merge pull request #3423 from saad-ali/fix3371
Split up kubelet "source seen" logic
2015-01-13 14:43:59 -08:00
bgrant0607
662a72d476 Merge pull request #3198 from smarterclayton/allow_delete_to_span_resources
Allow delete to work from directories and multiple sources
2015-01-13 14:41:24 -08:00
Daniel Smith
d6f5dd7c6b Merge pull request #3389 from ddysher/update-scheduler
Filter out unhealthy node in scheduler
2015-01-13 14:37:23 -08:00
Deyuan Deng
153dbd30a3 Filter out unhealthy node in scheduler 2015-01-13 17:09:07 -05:00
Jeff Lowdermilk
82d8ae747d Merge pull request #3275 from deads2k/deads-add-kubectl-config-api-objects
add kubectl config
2015-01-13 13:56:38 -08:00
deads2k
b51a717f6e add kubectl config 2015-01-13 16:19:57 -05:00
bgrant0607
de2e298fa9 Merge pull request #3196 from smarterclayton/allow_create_to_span_resources
Allow create to handle multiple resources, remove createall
2015-01-13 12:23:50 -08:00
Rahul
d3b917fcda Use UI instead of UX
Replace all instances of UX with UI as that is what was meant.
2015-01-13 11:49:40 -08:00
Alex Robinson
3eaf362f8e Switch the client event recorder from exponential backoff to one random
sleep on the first failed request followed by a constant amount on all
subsequent consecutive failed requests.
2015-01-13 19:48:41 +00:00
Daniel Smith
224a8d634b Merge pull request #3384 from derekwaynecarr/list_watch_by_namespace
Add ability to listwatch a resource in an optional namespace
2015-01-13 11:15:27 -08:00
bgrant0607
bb140d636a Merge pull request #3004 from smarterclayton/allow_get_to_span_resources
Allow kubectl get to fetch multiple resource types by label
2015-01-13 11:07:34 -08:00
Daniel Smith
8ac93fe15c Merge pull request #3421 from nikhiljindal/sort_swagger
Swagger UI: Updating swagger-ui.js to list the resources and operations in sorted order
2015-01-13 10:54:37 -08:00
Paulo Pires
3f5b30abf5 Updated to latest CoreOS alpha version available on AWS and GCE. 2015-01-13 18:50:22 +00:00
Paulo Pires
3b339653c1 Writes to etcd should wait for it to be ready. Flannel is happy now. 2015-01-13 18:49:55 +00:00
Paulo Pires
9e9b06ce00 Updated to Kubernetes 0.8.1 with some flags love. 2015-01-13 18:49:04 +00:00
Abhishek Gupta
dbac18a909 Rebasing onto latest code and fixing issues 2015-01-13 10:09:33 -08:00
Abhishek Gupta
c20d062d16 Added comments and minor changes based on PR feedback 2015-01-13 09:41:28 -08:00