Commit Graph

72 Commits (a1ea3df0f1a59b3a68e43cfc20b46f0896bd5035)

Author SHA1 Message Date
Cesar Wong cb872e9243 Rename 'kubectl log' to 'kubectl logs' 2015-05-26 08:28:16 -04:00
Masahiro Sano 8ce64ec69e add --all-namespaces flag to request across all namespaces 2015-05-22 23:25:12 +09:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
deads2k 6498fc1fda remove cmd respect for auth-path 2015-05-08 16:33:33 -04:00
Rohit Jnagal 9cbfb0c3f9 Add --hostport to run-container.
This helps as a starting point to show a single-machine container.
Its easier to use this as an example to show where host port mapping breaks and move on to
services.
2015-05-01 23:45:03 +00:00
Prashanth Balasubramanian c8ea0c27e9 Fix rollingupdate --image 2015-04-30 11:28:18 -07:00
Rohit Jnagal 0a8b136ee6 Fix typo in 'kubectl expose' examples. 2015-04-30 06:02:16 +00:00
Brendan Burns e1256c0802 Make delete actually stop resources by default.
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Tim Hockin a3d45fada8 Change flags to use dashes in help 2015-04-27 15:11:03 -07:00
Brendan Burns 217e6ff0d0 First part of improved rolling update, allow dynamic next replication controller generation. 2015-04-24 15:19:00 -07:00
Jeff Lowdermilk fa6ce7b7bf Add a --raw flag to kubectl config view
Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
2015-04-23 09:19:45 -07:00
Fabio Yeon c6ef2ddf8a Fix "validate-cluster.sh" to use "kubectl get componentstatus". 2015-04-17 11:59:53 -07:00
deads2k de4be5422c change kubeconfig loading order 2015-04-16 13:05:09 -04:00
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