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
26149bd83d
Doc generation should remove old doc files
...
Right now, our doc generation scripts notice if you make changes and
don't regen docs, don't include new docs, etc. But they miss it if your
changes should have REMOVED a doc. Both kubectl-apiversion and
kubectl-clusterinfo should have been removed, but weren't.
This patch starts tracking all generated doc files and will cause
problems if files should be removed and aren't.
2015-04-13 17:48:24 -04:00
deads2k
b2e3f2185e
make kubectl config behave more expectedly
2015-04-09 15:43:57 -04:00
Jeff Lowdermilk
ca6f1a1bc7
Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
...
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
nikhiljindal
fe60be3179
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 13:08:13 -07:00
deads2k
5c4b6583e4
fix kubectl config view to respect serialization formats
2015-04-07 08:07:24 -04:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Sam Ghods
ca18e86877
Make naming of kubectl subcommands consistent
2015-04-02 16:14:53 -07:00
Alex Robinson
68ca910c1b
Fix the kubectl docs at head.
2015-04-01 21:59:26 +00:00
Tim Hockin
f928f52a4a
Alias --container-port to --target-port in kubectl
2015-03-26 17:59:46 -07:00
Jeff Lowdermilk
653b7e629d
Merge pull request #5977 from smarterclayton/allow_expose_to_handle_other_resources
...
Allow `kubectl expose` to be polymorphic to the source of the selector
2015-03-26 13:23:21 -07:00
Jeff Lowdermilk
fc2eb66d9f
Merge pull request #5976 from smarterclayton/support_resource_builder_on_label
...
`kubectl label` should support resource builder
2015-03-26 13:21:56 -07:00
Clayton Coleman
64f91f7dac
Allow `kubectl expose` to be polymorphic to the source of the selector
...
Allows exposing new resource types to be exposed (OpenShift deployment
controllers, copying services, and other resources that will have
pod label selectors).
Also fixed a bug where the selector wasn't exposed because of parameter
defaulting.
2015-03-26 14:36:53 -04:00
Clayton Coleman
1e496696ca
Merge pull request #5903 from smarterclayton/support_resources_by_type_and_name
...
Allow resource.Builder commands to take arguments by type/name
2015-03-26 14:23:03 -04:00
Clayton Coleman
68c46e7f52
`kubectl label` should support resource builder
...
Allow applying labels to all resources, by existing selector, and
soon allow multiple selection.
2015-03-26 14:01:05 -04: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
Clayton Coleman
581d7cd789
Allow resource.Builder commands to take arguments by type/name
...
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00
Brendan Burns
a18ec3be88
Update spf13/cobra with recent commits.
2015-03-23 21:06:45 -07:00
Brendan Burns
c66caa5336
Revert "Revert "Update cobra/pflag. Also update generated kubectl documentation.""
...
This reverts commit 69432e8b2f
.
COMMIT_BLOCKED_ON_GENDOCS
2015-03-23 21:06:45 -07:00
CJ Cullen
f6d8d5f800
Merge pull request #5522 from fabioy/expose-label.fix
...
Add "--labels" option to the "expose" kubectl command.
2015-03-19 14:40:15 -07:00
fabioy
401451c510
Add "--labels" option to the "expose" kubectl command.
2015-03-17 09:47:57 -07:00
Young
63f7d47ffd
update docs after update apis
2015-03-17 16:30:53 +00:00
Piotr Szczesniak
69432e8b2f
Revert "Update cobra/pflag. Also update generated kubectl documentation."
2015-03-16 12:21:20 +01:00
Brendan Burns
cf213ab79c
Update generated docs, given upstream cobra/pflag changes.
2015-03-13 14:22:06 -07: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
Jerzy Szczepkowski
110ab79f05
Added support for labels to "kubectl stop".
...
Added support for labels and --all to "kubectl stop". Fixes #5178 .
2015-03-11 09:43:29 +01:00
Yu-Ju Hong
748bebe46f
Fix typos in docs/man/README.md
2015-03-06 14:01:26 -08:00
Eric Tune
662189ebc2
Merge pull request #4967 from jlowdermilk/kubeconfig
...
Simplify generating kubeconfig with embeded cert data
2015-03-04 08:38:43 -08:00
Jeff Lowdermilk
6e704d174d
Simplify generating kubeconfig with embeded cert data
2015-03-03 12:18:07 -08: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
Deyuan Deng
660428bb00
Add missing flag description; regenerate man1
2015-02-26 11:15:01 -05: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
Radek Simko
40e99a3a33
Fix a typo (peroid => period)
2015-02-23 18:39:29 +00: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
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
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
Ravi Sankar Penta
3a5ef05f64
Make periodic sync nodes from cloud provider optional.
...
--sync_nodes=false gives user flexibility to add/remove nodes in the
cluster using REST api/kubectl cli and at the same time can use
cloud provider for other resources like persistent disks, etc.
2015-02-09 13:42:44 -08:00
Joe Beda
6bdede6925
Convert kube-apiserver to hyperkube.
...
Part of #108 .
Also:
* Added hyperkube cmd (not built by default yet).
* Added version support to hyperkube
* Remove health_check_minions flag from apiserver as it is no longer used with #3733
2015-01-30 13:06:28 -08:00
Mrunal Patel
19e0605f5b
Replace "net" by "pod infra" in docs and format strings.
2015-01-28 15:03:06 -08:00
Deyuan Deng
c263a79d3e
Add node sync period flag
2015-01-22 19:14:02 -05:00
Joe Beda
228659a177
Fix up for posix flags
2015-01-15 09:12:19 -08:00
Deyuan Deng
f1a569872a
Fix minion_cache_ttl and minion_regexp flag change.
2014-11-02 00:36:34 -04:00
Brendan Burns
8d34231381
Fix a bunch of places where the -machines flag was still attached to the apiserver.
2014-11-01 20:38:45 -07:00
Eric Paris
6522d2d506
remove systemd example files from man pages
...
We have contrib/init to talk about how to set up init systems. Do not
include it in the man page. Instead give an actual example.
2014-10-29 13:42:23 -04:00
Colin Walters
13e1a5d28d
Update systemd unit and docs for s/minion_port/kubelet_port
...
This appears to have changed in
3160500940
2014-10-29 11:05:54 -04:00
Daniel Smith
f8071a6e25
Merge pull request #1764 from scollier/readme-fix
...
cleaning up README to reflect current file list
2014-10-13 17:08:46 -07:00
scollier
2e3766b67b
fixing tabs
2014-10-13 18:21:24 -05:00
Daniel Smith
8007614085
Remove untested and unused code
2014-10-13 16:06:44 -07:00
scollier
e6246fc708
cleaning up README to reflect current file list
2014-10-13 18:02:17 -05:00
scollier
8eefd707ba
Man pages - initial release
2014-10-13 15:57:26 -05:00