Commit Graph

26 Commits (563f2965babfa19ec0ea53a816b629ed02667500)

Author SHA1 Message Date
deads2k 6344cf3c3a refactor to move kubectl.cmd.Factory to kubect/cmd/util 2015-04-07 14:43:50 -04:00
Piotr Szczesniak 5c6439d449 Removed PodStatus.Host
Fixes #6165
2015-04-02 16:38:45 +02:00
Jeff Lowdermilk 243de3a472 Fix kubectl log for single-container pods 2015-03-27 12:26:00 -07:00
Tamer Tas b39e31d8a3 Remove cmd from kubectl/cmd/factory 2015-03-18 14:23:14 +02:00
Jeff Lowdermilk a5746c9a0e Fix md generation for kubectl docs
Display usage string, not long help, as code, remove angle brackets from
output (.md interprets as tags and hides).
2015-03-11 16:42:40 -07:00
Jeff Lowdermilk cd7d78b696 Make kubectl commands return errors and centralize exit handling 2015-03-10 10:19:43 -07:00
Brendan Burns f505a33998 Differentiate between server error messages and client error messages in kubectl 2015-03-07 11:39:23 +01:00
Brendan Burns eefaafc214 Prompt the user to select a container if they don't provide one
and we can't infer it.
2015-02-24 06:50:22 -08:00
Eric Paris d508395828 Change all cobra commands to use the example section
This will output the examples in their own section, rather than as part
of the 'long' synposis.
2015-02-20 16:41:31 -05:00
MikeJeffrey ca1e9f8061 Comments go above the sample line in kubectl docs. 2015-02-12 15:49:25 -08:00
MikeJeffrey e5459c8802 Clean up kubectl help for auto-gen'd kubectl.md 2015-02-10 12:02:05 -08:00
Jeff Lowdermilk d46ae5d841 Refactor kubectl/cmd helpers into pkg/kubectl/cmd/util
Allows helpers to be used by config commands.
2015-02-05 09:39:42 -08:00
deads2k dd01137138 add namespace to kubeconfig file 2015-01-20 16:07:54 -05:00
Clayton Coleman 8a4f225941 Make expandResourceShortcuts part of RESTMapper on client 2015-01-09 11:59:11 -05:00
deads2k 480635bb72 Revert "Revert "add kubeconfig types""
This reverts commit 02dbad7094.
2015-01-08 09:42:30 -05:00
Brendan Burns 02dbad7094 Revert "add kubeconfig types" 2015-01-07 12:39:37 -08:00
deads2k 0e688dc271 add kubeconfig file 2015-01-07 13:09:10 -05:00
Clayton Coleman e355f54eda Update references from Path() to the appropriate segment use 2014-12-29 15:38:52 -05:00
jhadvig 019ca75fc6 Streaming container logs 2014-12-15 12:12:11 +01:00
Dylan Carney ba5c18816e Updates kubectl log cmd per PR feedback 2014-12-11 17:44:44 -08:00
Dylan Carney 3f88f27d7b Modifies kubectl log cmd to not require container arg for single-container pods (for #2847) 2014-12-11 12:32:18 -08:00
Michal Fojtik 17e24aed47 Export GetKubeNamespace function from kubectl 2014-12-03 13:15:48 +01:00
deads2k 2dbfb80349 add utility for binding flags and building api server clients 2014-11-26 07:50:51 -05:00
derekwaynecarr f41a44278d Log function use namespace 2014-11-25 13:10:32 -05:00
markturansky 8af4ccb111 v1beta3 Pod refactor 2014-11-18 09:25:42 -05:00
Brendan Burns b0c5d3b022 Add support for a 'log' command to kubectl. 2014-11-02 19:54:19 -08:00