Daniel Smith
bbe5299371
Merge pull request #23798 from nak3/bash-completion
...
Bash completion updates
2016-04-14 16:59:48 -07:00
deads2k
ac4c545b91
add act-as powers
2016-04-14 12:49:10 -04:00
Kenjiro Nakayama
c9d34870ed
Update bashcompletion codes for kubectl expose
2016-04-14 23:43:48 +09:00
k8s-merge-robot
9b6e4aa9b4
Merge pull request #23116 from metral/recursive-visit
...
Automatic merge from submit-queue
allow kubectl cmds to process files recursively, when given a dir
This PR accomplishes two things:
1. It creates a `--recursive` flag for use with certain `kubectl` commands that _currently_ do not process files beyond their first level of children, as seen in the issue https://github.com/kubernetes/kubernetes/issues/19767
2. It enables the ability to use the `--recursive` flag in the `kubectl` commands that currently _only_ support processing a directory up to its first level of children.
2016-03-30 05:07:47 -07:00
Phillip Wittrock
4d2f3c1c17
Update docs to reflect kubectl run
creates deployments by default instead of replicatino controllers.
2016-03-28 16:25:02 -07:00
Mike Metral
7403878ac0
allow kubectl cmd to process dirs recursively
...
reqs:
- the kubectl cmd must support the -f | --filename flag
- the kubectl cmd must support visiting a dir one level deep,
or using more than one resource
2016-03-28 12:44:21 -07:00
Janet Kuo
e93b855242
Update kubectl help for 1.2 resources
2016-03-22 14:14:35 -07:00
AdoHe
57534eaec9
update expose command description to add deployment
2016-03-19 13:51:21 -04:00
Madhusudan.C.S
67b70d7c89
Add a Deployment example for kubectl expose.
2016-03-18 17:05:49 -07:00
nikhiljindal
593b78f925
Deprecating --api-version flag
2016-03-11 10:12:44 -08:00
AdoHe
9cc668f7c6
update commented examples just remove $
2016-02-29 09:41:09 -05:00
AdoHe
81103a07c2
fix --sort-by help bug
2016-02-14 22:31:13 -05:00
Madhusudan.C.S
293793cf0d
Allow replica set to be exposed as a service and add kubectl command tests for replica sets.
2016-02-10 16:20:08 -08:00
AdoHe
714d12cf72
kubectl add show-labels flag to make it more readable
2016-02-04 02:08:44 -05:00
Janet Kuo
5088d0e147
Record kubectl commands
2016-02-03 10:19:05 -08:00
Tim Hockin
5002b784f9
Clarify --external-ip in kubectl expose docs
...
Also fix a couple minor punctuation issues.
2016-01-10 23:29:57 -08:00
hurf
1270764eb9
Fix description errro for client-certificate option
...
From "client key file" to "client certificate file".
2015-11-24 09:33:35 +08:00
Janet Kuo
a6a64820d7
Make generation of the apply annotation optional
2015-11-06 15:08:50 -08:00
Jerzy Szczepkowski
bbee6cfcd7
Merge pull request #15461 from kargakis/relax-exposing-multiport-objects
...
expose: Enable exposing multiport objects
2015-10-27 10:25:54 +01:00
kargakis
7d0e691520
expose: Enable exposing multiport objects
...
The generated service will inherit all the ports from the exposed object.
2015-10-19 11:25:14 +02:00
feihujiang
f3673b8f31
Hide deprecated shorthand in man page
2015-10-15 01:29:13 +08:00
kargakis
4b23bf602d
expose: Minor cleanup
2015-10-10 16:16:41 +02:00
feihujiang
98689a99ec
Limit the type for kubectl expose command
2015-09-15 11:17:04 +08:00
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07:00
Dai Zuozhuo
2e2ef3e830
change -o template to -o go-template=...
2015-09-05 22:30:47 +08:00
Eric Paris
bf7646bd9e
Update docs based on new spf13/cobra
2015-09-04 19:20:03 -04:00
feihujiang
0427711c42
Fixes upper case letters in kubectl examples
2015-09-03 12:00:21 +08:00
Janet Kuo
18e87724c5
Deprecated kubectl flag "create-external-load-balancer"
2015-08-28 00:54:33 -07:00
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