Commit Graph

5089 Commits (f90ad573cf86834072d8484518c9c94f92cb9550)

Author SHA1 Message Date
Paul Morie fd834ae84d Pods should see services only from their own ns 2015-01-14 17:06:36 -05:00
Dawn Chen 009c5e1129 Using ExtractObj instead of ExtractToList since BoundPods is not a List type 2015-01-14 14:05:47 -08:00
Tim Hockin d28b51f89f Document fields, fix presubmit 2015-01-14 14:01:18 -08:00
Tim Hockin e86d4cd3c6 Use a strong type for UID fields 2015-01-14 13:53:43 -08:00
Daniel Smith 4e539001df Merge pull request #3473 from zmerlynn/fix_pd_sh
GKE: Fix unbound variable when pd.sh fails
2015-01-14 13:43:54 -08:00
Joe Beda ddcd2e1d2b Merge pull request #3463 from jlowdermilk/gendocs
Autogenerate markdown docs for kubectl
2015-01-14 13:32:38 -08:00
Zach Loafman 9117260bfd Merge pull request #3475 from zmerlynn/revert_v_4
Revert "Add --v=4 to e2e bash executions by default"
2015-01-14 13:23:11 -08:00
Jeff Lowdermlk 250c948ae7 Autogenerate markdown docs for kubectl
Add test to verify generated docs are up to date.
2015-01-14 13:21:14 -08:00
Zach Loafman 0c4119fb07 Revert "Add --v=4 to e2e bash executions by default"
This reverts commit abc621759a, which
interacts weirdly with Jenkins on the GKE provider. Tactical revert
until that can be figured out:

https://github.com/GoogleCloudPlatform/kubernetes/issues/3474
2015-01-14 13:10:45 -08:00
Daniel Smith 36320f02fb Merge pull request #3471 from brendandburns/shell
Add tests for run command and generate.
2015-01-14 12:39:41 -08:00
derekwaynecarr 7f724867c2 Admission control plugin for resource defaults 2015-01-14 15:28:59 -05:00
Zach Loafman 8cf93288fa GKE: Fix unbound variable when pd.sh fails
In the other providers, MINION_NAMES is bound early and detect_minions
is actually only used to detect the IPs of the minions, which is why I
didn't expect to need to call it. Move the initialization to
config-common.sh in GKE as well.

This follows the pattern of cluster/gce/config-{default,test}.sh
2015-01-14 12:18:47 -08:00
bgrant0607 6459b1a1f3 Merge pull request #3468 from smarterclayton/better_log_on_empty_delete
Write to STDERR when Delete contains no resources
2015-01-14 11:46:55 -08:00
Daniel Smith dbe1bd9b15 Merge pull request #3469 from fabianofranz/fixes_proxier
When choosing a host interface proxier must only consider the ones with an address assigned
2015-01-14 11:22:30 -08:00
Daniel Smith 5b7369720d Merge pull request #3462 from dchen1107/cleanup
Fix Event.Source for hostname_override case.
2015-01-14 11:21:24 -08:00
Clayton Coleman da2b03d8d8 Write to STDERR when Delete contains no resources
Also test that this occurs
2015-01-14 14:10:15 -05:00
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
Daniel Smith 87cf7a5e30 Merge pull request #3457 from mnagy/fix-doc-typo
Remove a duplicate 'its'
2015-01-14 10:26:12 -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
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