Commit Graph

11569 Commits

Author SHA1 Message Date
fabianofranz
0235bca2d3 When choosing a host interface proxier must only consider the ones with an address assigned 2015-01-14 17:09:27 -02:00
Clayton Coleman
6894d4feed Merge pull request #3460 from mnagy/handle-selector-error
Fix panic if selector uses malformed syntax
2015-01-14 13:49:22 -05:00
Zach Loafman
e14d5f3416 Merge pull request #3464 from smarterclayton/fix_invalid_json_in_services.sh
Fix e2e invalid JSON, ensure CLI communicates invalid JSON errors effectively
2015-01-14 10:26:34 -08:00
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
Martin Nagy
9340781d21 Fix panic if selector uses malformed syntax 2015-01-14 17:13:58 +01:00
Brendan Burns
de886591b5 Add tests for run command and generate. 2015-01-14 07:12:32 -08:00
saadali
826b61c76d Address nits from PR #3423 2015-01-13 23:34:37 -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
Tim Hockin
ca89aa6528 Make data dirs for all pods when syncing 2015-01-13 17:18:21 -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
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
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
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
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
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
Abhishek Gupta
40df5f6db8 Added a more formal comment for the service affinity predicate 2015-01-13 09:41:28 -08:00
Abhishek Gupta
6fd0b181e3 Rebased onto the latest changes to the scheduler code 2015-01-13 09:41:25 -08:00
Abhishek Gupta
9e75a05df0 Implementing PR feedback 2015-01-13 09:34:45 -08:00
Abhishek Gupta
3f722a3d8e Adding service affinity predicate 2015-01-13 09:34:45 -08:00
Abhishek Gupta
9dd7d2a0a1 Adding label checker predicates and test cases 2015-01-13 09:34:45 -08:00
Abhishek Gupta
04db076e5f Enhancements to scheduler priority functions
- Modified the existing spreading priority to consider service pods explicitly
 - Added a new priority function to spread pods across zones
2015-01-13 09:34:42 -08:00
saadali
110ab6f1bd Split up kubelet "source seen" logic 2015-01-12 21:48:55 -08:00
Alex Robinson
be6b1cf0e2 Push the full channel logic into the implementation of the broadcaster
in watch/mux.go rather than being in the client event recording code.
2015-01-13 02:22:30 +00:00
Alex Robinson
702a6f96b4 Improve client recording of events such that clients are
(1) less likely to drop events if the master is unavailable
(2) less likely to have goroutines block while trying to record an
event.

Done as part of #3163 to ensure that minions operate well even while the
master is down.
2015-01-13 02:22:30 +00:00
Joe Beda
16d0a837f2 Merge pull request #3414 from liggitt/cafile
Use CAFile even if client certificate is not specified
2015-01-12 17:44:51 -08:00
nikhiljindal
87c9c374b7 Swagger UI: Updating swagger-ui.js to list the resources and operations
in sorted order.
2015-01-12 17:29:07 -08:00
Dawn Chen
26a6628d8a Merge pull request #3374 from lavalamp/fix
Fix minion listing
2015-01-12 16:36:46 -08:00
Daniel Smith
3e75195ff3 make minion registry not intolerably slow 2015-01-12 16:20:52 -08:00
Daniel Smith
f0b5fba988 Improve cache behavior
* don't block while filling cache
* make cache wait for pending calls
2015-01-12 16:20:25 -08:00
Brendan Burns
82afbab334 Merge pull request #3418 from nikhiljindal/swagger-ui
Fixing broken swagger-ui
2015-01-12 16:07:49 -08:00
Daniel Smith
6e70853e83 genericize ip cache 2015-01-12 16:04:43 -08:00
Daniel Smith
55653568ae Merge pull request #3385 from erictune/source_api
Added kubelet config source from apiserver.
2015-01-12 15:47:15 -08:00
Eric Tune
18bcef5235 Added kubelet config source from apiserver. 2015-01-12 15:29:16 -08:00