Commit Graph

30 Commits (cc4f448dc138d2376864ef176655411e25898898)

Author SHA1 Message Date
hurf d2d96ff6e1 Add -o name for commands which use printer to output results
Added a new printer which prints 'resource/name' pair of a given
object.
2015-08-26 17:04:23 +08:00
Janet Kuo 5823ef771b Make --validate default on and shows how to turn if off 2015-08-25 03:18:32 -07:00
Abhishek Shah b6b8e99393 External IPs support. 2015-08-20 16:10:01 -07:00
Dai Zuozhuo 85972c44a4 jsonpath user guide docs 2015-08-20 09:11:04 +08:00
Dai Zuozhuo b61a905b19 add jsonpath to kubectl 2015-08-20 08:57:24 +08:00
Janet Kuo 44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Brendan Burns 99b8df1812 Add field based sorting to the kubectl command line. 2015-08-12 16:51:36 -07:00
Peeyush Agarwal 05e069d038 Use bash comments in kubectl examples
Comments in kubectl examples should use bash comments, not Go comments.
So, replaces // by # for example strings.
2015-08-12 19:56:23 +00:00
feihujiang c0b2098844 Kubectl expose command accepts a filename param 2015-08-12 16:16:37 +08:00
Brendan Burns c9bc1456ff Add session affinity flags to kubectl expose 2015-07-31 10:34:52 -07:00
nikhiljindal c849730116 Fixing the error message 2015-07-16 23:33:16 -07:00
nikhiljindal 496f30a92f Introduce a new service generator that leaves service port unnamed 2015-07-16 20:40:40 -07:00
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