Commit Graph

59 Commits (835a87aed2478ee441f2dbfab15124315ddd880a)

Author SHA1 Message Date
Xiang Li 5f4b2f5551 docs: generate docs 2015-04-14 12:53:37 -07:00
deads2k bac5cbbe82 add flattening and minifying options to config view 2015-04-14 10:23:10 -04:00
Eric Paris faf60a3cab update docs using spf13/cobra generator 2015-04-12 15:04:39 -04:00
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Clayton Coleman 0dd625ffd3 Order the commands in kubectl by importance and function
Move the client config commands towards the bottom, keep the primary
verbs near the top.  Version goes at the bottom.
2015-03-26 10:19:06 -04:00
Young 63f7d47ffd update docs after update apis 2015-03-17 16:30:53 +00: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
Piotr Szczesniak e92192d379 Added new command clusterinfo to kubectl
This is first version of the command. It prints IPs of master and cluster
services. Should be improved once generalized labels are implemented #341.

It requires label kubernet.io/cluster-service=true set for cluster services.

Follow up cl after discussion in #4417.
2015-03-03 20:14:24 +01:00
Eric Paris 421da2043a Generate new docs with the new changes 2015-02-20 16:41:31 -05:00
Andy Goldstein 5bd0e9ab05 Add streaming command execution & port forwarding
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
Daniel Smith 2c30455048 fix docs 2015-02-19 13:22:29 -08:00
Brendan Burns d9d5837510 Merge branch 'kubectl-man' of https://github.com/eparis/kubernetes into eparis-kubectl-man
Conflicts:
	docs/kubectl.md

    COMMIT_BLOCKED_ON_GENDOCS
2015-02-19 11:53:38 -08:00
Jordan Liggitt abb38cf793 Let .kubeconfig populate ca/cert/key data, and basic-auth username/password in client configs 2015-02-19 11:29:42 -05:00
Jeff Lowdermilk b786c116b6 Make kubectl stop take -f flag (for filename|url|directory) 2015-02-17 11:27:47 -08:00
Clayton Coleman 0e07e61a53 Merge pull request #4381 from sdminonne/bug_fix
kubectl delete resource : remove all resources
2015-02-17 12:25:56 -05:00
Salvatore Dario Minonne fda17c1b7a kubectl delete resource : remove all resources 2015-02-13 18:25:41 +01:00
Brendan Burns f63cf05d21 Add some docs to the template format. 2015-02-12 18:29:11 -08:00
Eric Paris a6beb2e7df Autogenerate md documentation for kubectl
This does away with the giant dump from cobra for kubectl and instead
generates md files which contain similar information, but one per verb.
This might work well as part of the cobra project, instead of doing it
in kube, but this gets us nice, linked, documentation right now.  If
people like it, I will try to get something similar into cobra.
2015-02-12 19:08:57 -05:00
Eric Paris 9e9fb9457f automatically generate man pages for kubectl
generate man pages for kubectl using the cobra.Command information.
This will directly create files in (by default) docs/man/man1/ called
kubectl*.1.  Each child verb/cobra command will gets its own man page.
2015-02-12 19:08:52 -05:00
MikeJeffrey 710f01cf2e Running run-gendocs to regenerate kubectl.md 2015-02-12 16:03:09 -08:00
Victor Marmol 0a64fecaf5 Minor clarification of --server flag.
Fixes #3425.
2015-02-11 17:04:41 -08:00
Victor Marmol c759264442 Updating docs with new CLI flag output. 2015-02-11 15:47:53 -08:00
MikeJeffrey e5459c8802 Clean up kubectl help for auto-gen'd kubectl.md 2015-02-10 12:02:05 -08:00
Jeff Lowdermilk 96c9a15ed5 Merge pull request #4279 from jimmidyson/proxy-tweaks
Configurable API prefix for kubectl proxy
2015-02-10 11:21:22 -08:00
Jimmi Dyson f4a9b62d06 Configurable API prefix for kubectl proxy 2015-02-10 13:58:46 +00:00
Brendan Burns ac35aa5e32 Add a label command. 2015-02-09 20:09:02 -08:00
Jeff Lowdermilk 6021dcba30 Merge pull request #4213 from smarterclayton/use_name_from_server
Use name from server when displaying create/update
2015-02-09 09:41:20 -08:00
Clayton Coleman 52c6c60b15 Use name from server when displaying create/update
Allows generated names from files to be displayed so users can
interact with them.
2015-02-08 21:40:47 -05:00
Jeff Lowdermilk 5a702ad123 Allow --output formatting of kubectl config view, make merge default 2015-02-05 10:44:16 -08:00
Brian Grant 42fec8ec4e Merge pull request #4110 from jimmidyson/proxy-tweaks
kubectl proxy: make static prefix configurable
2015-02-05 07:08:07 -08:00
Jeff Lowdermilk 6acac8f761 Merge pull request #3754 from deads2k/deads-remove-ns-path
remove --ns-path option from .kubeconfig file
2015-02-04 08:10:21 -08:00
Jimmi Dyson e2baf049c0 kubectl proxy: make static prefix configurable 2015-02-04 15:57:21 +00:00
Jeff Lowdermilk 1f2c907991 Merge pull request #4053 from deads2k/deads-add-envvar-flag
add flag to manage $KUBCONFIG files
2015-02-03 14:49:05 -08:00
deads2k affa85fab0 add flag to manage $KUBECONFIG files 2015-02-03 16:12:02 -05:00
deads2k bc93de314a remove --ns-path option from .kubeconfig file, kick tests 2015-02-03 14:22:55 -05:00
Brian Grant 4eb41b2330 Merge pull request #3592 from brendandburns/cli
Add a service generator and a command to easily expose services.
2015-02-03 09:07:05 -08:00
Alex Robinson 8fc228700a Merge pull request #4023 from fabianofranz/master
Fix typos
2015-02-02 09:57:38 -08:00
fabianofranz de14a6ff08 Fix typos 2015-02-02 14:25:00 -02:00
Brendan Burns 7e48b26ff5 Address comments, fix tests. 2015-01-30 20:51:40 -08:00
Martin Nagy b6ddd6548c Use new resource builder in kubectl update 2015-01-30 16:05:20 +01:00
Brendan Burns 250b9ccd74 Address comments. Rebase. 2015-01-27 10:23:28 -08:00
Brendan Burns 09166f5252 Add a service generator and a command to easily expose services. 2015-01-27 10:06:08 -08:00
deads2k 05bc508a13 make all kubectl config set-* easier to use 2015-01-26 15:16:54 -05:00
Jeff Lowdermilk 201e99e0ee Add a kubectl stop command 2015-01-22 09:46:53 -08:00
Filipe Brandenburger b1727b0330 Revert "Add a kubectl stop command" 2015-01-22 09:00:50 -08:00
Brian Grant a921086507 Merge pull request #3662 from jlowdermilk/kubectl-stop
Add a kubectl stop command
2015-01-22 06:58:29 -08:00
Jeff Lowdermilk b1aa037990 Add a kubectl stop command 2015-01-20 19:01:32 -08:00
deads2k dd01137138 add namespace to kubeconfig file 2015-01-20 16:07:54 -05:00
Andrew Seidl 8248e6bef6 Fix typos in kubectl docs, via gendocs 2015-01-18 02:20:00 -06:00
bgrant0607 52cd620da8 Merge pull request #3537 from brendandburns/cli
Add inline JSON patching to kubectl update ...
2015-01-15 17:08:51 -08:00