Commit Graph

60 Commits

Author SHA1 Message Date
Tim Hockin
f928f52a4a Alias --container-port to --target-port in kubectl 2015-03-26 17:59:46 -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
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
fabioy
401451c510 Add "--labels" option to the "expose" kubectl command. 2015-03-17 09:47:57 -07: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
Eric Paris
421da2043a Generate new docs with the new changes 2015-02-20 16:41:31 -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
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