Commit Graph

18 Commits

Author SHA1 Message Date
Janet Kuo
682734bcc7 Implement 'kubectl get ... -o wide' 2015-06-30 14:06:47 -07:00
kargakis
0fba4820f5 expose: Better error formatting and generic flag message
Re error formatting:
$ osc expose svc frontend --port=5432 --generator='service/v2' --name=test

Before:
error: generator %!!(MISSING)q(<nil>) not found.
see 'osc expose -h' for help.

Now:
error: generator "services/v2" not found.
see 'openshift cli expose -h' for help.
2015-06-02 13:06:21 +02:00
Anastasis Andronidis
5eae2378d6 Warn for every _ flag user or cmd defined
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Justin Santa Barbara
973c2e4819 Add Type to ServiceSpec: ClusterIP or LoadBalancer 2015-05-22 19:14:21 -04:00
kargakis
30958f892d expose: Use resource builder
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
kargakis
ac652d16e6 expose: Re-use labels in case none was specified 2015-05-15 11:54:41 +02:00
deads2k
19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
Rohit Jnagal
0a8b136ee6 Fix typo in 'kubectl expose' examples. 2015-04-30 06:02:16 +00:00
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