hurf
ca300c180c
Add printer options to Annotate
...
1. add return message as "resource name annotated"
2. add printer options to annotate
3. move all parameter into AnnotateOptions to make sure runT
function has no parameter.
2015-11-14 03:07:21 +08:00
Janet Kuo
88d9106705
Add help text for rollback in kubectl rolling-update
2015-11-11 13:29:54 -08:00
Jeff Lowdermilk
6868382072
Reword misleading help text for kubectl patch
2015-11-10 13:00:04 -08:00
Wojciech Tyczynski
d80e0e837c
Merge pull request #10707 from kargakis/logs-with-resource-builder
...
logs: Use resource builder
2015-11-09 16:40:10 +01:00
k8s-merge-robot
afe121669b
Merge pull request #16852 from feiskyer/kubectl-desc-ep
...
Auto commit by PR queue bot
2015-11-09 05:21:12 -08:00
Janet Kuo
37f35d9342
Make kubectl apply create resources if not found
2015-11-08 22:47:40 -08:00
feisky
3adb929eb9
Add kubectl describe for endpoints
2015-11-07 14:58:12 +08:00
Janet Kuo
a6a64820d7
Make generation of the apply annotation optional
2015-11-06 15:08:50 -08:00
k8s-merge-robot
4566e039bf
Merge pull request #16716 from huangyuqi/add_res_types_kubctl_get
...
Auto commit by PR queue bot
2015-11-06 02:20:27 -08:00
kargakis
4fdb6d1331
logs: Use resource builder
2015-11-05 14:54:55 +01:00
huangyuqi
1bf2f869c7
add valid resource types for kubectl get
2015-11-04 10:12:30 +00:00
Eric Tune
0bde95f1ce
Fix incorrect flag in example.
2015-10-30 15:40:05 -07:00
Daniel Smith
6219b50280
Merge pull request #16160 from kargakis/windows-fixes-for-edit
...
edit: Windows fixes
2015-10-27 15:44:26 -07: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
73713ce268
edit: Windows fixes
...
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
k8s-merge-robot
570a9dc18f
Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
...
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Tim Hockin
5c903dbcac
Merge pull request #16073 from caesarxuchao/fix-htmlpreview-on-head
...
fix htmlpreview links to point to subdictory
2015-10-23 13:32:29 -07:00
k8s-merge-robot
a10ed3e2b1
Merge pull request #15908 from jlowdermilk/rolling-update-doc
...
Auto commit by PR queue bot
2015-10-23 00:52:37 -07:00
Chao Xu
eb3a80156a
let kubectl api-versions use the discovery client
2015-10-22 10:19:34 -07:00
Chao Xu
316bd058d0
fix htmlpreview links to point to subdictory
2015-10-21 15:46:52 -07:00
Jeff Lowdermilk
d4de35e177
Merge pull request #15921 from brendandburns/fix2
...
Add a --expose flag to kubectl run
2015-10-21 13:17:26 -07:00
Jeff Lowdermilk
5bf993bf28
Validate image name for `kubectl rolling-update NAME --image=IMAGE`
...
Require distinct image from current one when starting a new
rolling-update, and exit with error if an existing in-progress update
is targeting a different image.
2015-10-21 11:48:39 -07:00
Brendan Burns
54fd60727e
add a --expose flag to kubectl run
2015-10-20 20:21:09 -07:00
Janet Kuo
02e451b08c
Update generated docs
2015-10-20 17:22:37 -07:00
k8s-merge-robot
e90a890e19
Merge pull request #15608 from feihujiang/removeDeprecatedShorthandInManPage
...
Auto commit by PR queue bot
2015-10-20 16:48:26 -07:00
Janet Kuo
8105aa44a0
Implement kubectl autoscale
2015-10-19 09:59:22 -07: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
Clayton Coleman
e9a465d635
Make kubectl run attach behave like docker run
...
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04:00
Janet Kuo
f47c2be539
Change kubectl proxy --api-prefix default to allow /apis/
2015-10-14 15:49:52 -07:00
feihujiang
f3673b8f31
Hide deprecated shorthand in man page
2015-10-15 01:29:13 +08:00
Dawn Chen
075c3a2c71
Merge pull request #15061 from kargakis/fix-dry-run-in-expose
...
Fix dry run in expose
2015-10-12 12:53:04 -07:00
kargakis
4b23bf602d
expose: Minor cleanup
2015-10-10 16:16:41 +02:00
Clayton Coleman
554ce403e4
Prevent attach from being served by default via the proxy
2015-10-09 14:33:40 -04:00
hurf
e1b88c6942
Integrate convertion tool to kubectl
...
Added 'convert' subcommand to kubectl to convert config files
between different API versions.
2015-10-09 10:15:30 +08:00
jackgr
703a3e19aa
Add the kubectl apply command.
2015-10-07 17:14:51 -07:00
k8s-merge-robot
7f9c18d646
Merge pull request #14819 from mesosphere/sttts-add-kubectl-bind-address
...
Auto commit by PR queue bot
2015-10-02 08:05:57 -07:00
Brendan Burns
44a16834d8
Merge pull request #14087 from brendandburns/kubectl
...
Move the default schema cache to the home directory
2015-09-30 11:30:32 -07:00
Dr. Stefan Schimanski
687e2d8c8e
Update docs
2015-09-30 15:54:01 +02:00
Brendan Burns
e827934d78
Merge pull request #12677 from andronat/kubectl_doc_cmd
...
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
Brendan Burns
afea127a3e
Move the default schema cache to the home directory
2015-09-28 16:26:48 -07:00
feihujiang
e31bc89232
Fix minor bugs in kubectl command
2015-09-28 13:58:31 +08:00
Anastasis Andronidis
e8b9dde623
new kubectl explain command
2015-09-26 14:25:53 +03:00
hurf
c4dc056105
Improve message from kubectl config
...
1.use Fprintf instead of Printf
2.output simple success messages
3.lowercase all error messages
2015-09-23 16:10:21 +08:00
Clayton Coleman
c2e90cd154
Support extended pod logging options
...
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.
Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
Janet Kuo
5a608446ba
pull "kubectl edit" from openshift upstream
2015-09-15 19:16:23 -07:00
Jeff Lowdermilk
ebc0b02b7d
Merge pull request #13613 from eparis/rework-doc-generation
...
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
feihujiang
98689a99ec
Limit the type for kubectl expose command
2015-09-15 11:17:04 +08:00
k8s-merge-robot
04837579ad
Merge pull request #13460 from derekwaynecarr/run_requests
...
Auto commit by PR queue bot
2015-09-11 18:19:17 -07:00
k8s-merge-robot
cb481b4a00
Merge pull request #13837 from brendandburns/kubectl2
...
Auto commit by PR queue bot
2015-09-11 17:18:29 -07:00
Eric Paris
58d6b29e97
Rework doc generation to simplify and centralize
...
Just do all doc generation in the hack::util::gen-docs instead of spread
around. We also only track the generated docs in a single file for the
whole tree.
2015-09-11 19:32:08 -04:00
Brendan Burns
9ba13ff361
Address comments
2015-09-11 13:55:16 -07:00
derekwaynecarr
295b8cdf16
Add requests and limits to kubectl run
2015-09-11 10:57:21 -04:00
Brendan Burns
d9e1a00a14
Add caching for swagger schemas
2015-09-10 21:18:52 -07: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
Avesh Agarwal
6d6f338fac
Adds servicesaccounts to kubectl get/describe cli help and docs.
2015-09-09 12:15:25 -04:00
feihujiang
84e94e39cd
Support setting env vars in kubectl run
2015-09-08 14:31:29 +08: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
Quinton Hoole
be19554bae
Merge pull request #13383 from hurf/label_drun
...
Add --dry-run option for label command
2015-09-04 14:03:14 -07:00
hurf
46e7f5684c
Add --dry-run option for label command
...
With --dry-run option, label command will print the object locally
without update it on server side.
2015-09-03 21:37:11 +08:00
feihujiang
0427711c42
Fixes upper case letters in kubectl examples
2015-09-03 12:00:21 +08:00
Abhi Shah
642ebb4994
Merge pull request #13099 from JanetKuo/kubectl-expose-deprecate-create-external-load-balancer
...
Deprecated kubectl flag "create-external-load-balancer"
2015-09-02 15:16:08 -07:00
Janet Kuo
18e87724c5
Deprecated kubectl flag "create-external-load-balancer"
2015-08-28 00:54:33 -07:00
hurf
961d7f995a
Remove unused parameters and flags
...
Some params and flags are set but not used, remove them.
2015-08-27 10:40:40 +08: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
Nikhil Jindal
e690f3b3e8
Merge pull request #12900 from feihujiang/deleteMultipleResourcesWithTheSameName
...
Allow delete multiple resources with the same name
2015-08-24 10:40:41 -07:00
Janet Kuo
0bcb3147f6
Deprecated -t for --template to make it --tty
2015-08-24 02:16:01 -07:00
feihujiang
943c57ff4e
Allow delete multiple resources with the same name
2015-08-24 15:14:01 +08:00
feihujiang
7291bde309
Kubectl annotate command accepts a filename param
2015-08-21 15:08:29 +08: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
Saad Ali
14eadcccac
Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam
...
Kubectl scale command accepts a filename param
2015-08-19 15:00:26 -07:00
Janet Kuo
44a7a52a94
Hide failed/succeeded pods in 'kubectl get pods' by default
2015-08-18 13:47:19 -07:00
Kenjiro Nakayama
c50d7dd1d5
Modify kubectl exec help to set -c CONTAINER as optional
2015-08-18 23:14:24 +09:00
Brendan Burns
eed655a6e6
Merge pull request #12511 from feihujiang/kubectlGetAcceptFileNameParam
...
Kubectl get command accepts a filename param
2015-08-14 14:21:56 -07:00
Jerzy Szczepkowski
f29d52114b
Merge pull request #12326 from feihujiang/kubectlLabelAcceptFileNameParam
...
Kubectl label command accepts a filename param
2015-08-14 12:38:37 +02:00
Brendan Burns
22a2a76ab8
Merge pull request #12571 from brendandburns/kubectl2
...
Auto commit by PR queue bot
2015-08-13 13:56:14 -07:00
Brendan Burns
586931fe16
Add optional arguments to kubectl run ...
2015-08-13 09:41:51 -07:00
feihujiang
1e10a7cc59
Kubectl scale command accepts a filename param
2015-08-13 14:26:25 +08:00
feihujiang
18a1400928
Kubectl get command accepts a filename param
2015-08-13 14:12:29 +08:00
feihujiang
0110f3176b
Kubectl patch command accepts a filename param
2015-08-13 11:13:31 +08:00
feihujiang
4b9afc516e
Kubectl label command accepts a filename param
2015-08-13 10:21:38 +08:00
CJ Cullen
a6148e79c3
Merge pull request #12610 from mikedanese/rewrite-kubectl
...
rewrite kubectl command references to GoogleCloudPlatform
2015-08-12 17:17:23 -07:00
Brendan Burns
99b8df1812
Add field based sorting to the kubectl command line.
2015-08-12 16:51:36 -07:00
Mike Danese
fe0e758d4d
rewrite kubectl command references to GoogleCloudPlatform
2015-08-12 14:52:13 -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
hurf
1d1f1fd97c
Synchronize help message between describe and get
...
small nits, change 'resources' to 'resource types'
2015-08-12 15:27:11 +08:00
Alex Robinson
5836d455b8
Merge pull request #12239 from eparis/bash-completions-rolling-update
...
Bash completion annotations for rollingupdates
2015-08-10 15:02:48 -07:00
Alex Robinson
9bda3c5998
Merge pull request #11138 from feihujiang/portForwardWithoutP
...
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Alex Robinson
933c855fba
Merge pull request #12354 from mjibson/replace-cascade-fix
...
Fix flag docs for replace cascade
2015-08-10 11:06:41 -07:00
Alex Robinson
462fed62b7
Merge pull request #12189 from feihujiang/describeKindNoArguments
...
kubectl describe <kind> work with no arguments
2015-08-10 11:05:34 -07:00
Matt Jibson
2c0f32e9b8
Fix flag docs for replace cascade
2015-08-10 12:03:43 -04:00
Marek Grabowski
9ddcfb7d54
Merge pull request #12421 from jlowdermilk/replace-help-text
...
Clarify help text of kubectl replace
2015-08-10 16:34:17 +02:00
Marek Grabowski
5f9cefc1d8
Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
...
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Eric Paris
9de64328a5
Bash completion annotations for rollingupdates
2015-08-10 10:26:18 -04:00
Marek Grabowski
e27787c9d3
Merge pull request #12292 from brendandburns/stdin3
...
Add support for `--restart`
2015-08-10 14:54:54 +02:00
feihujiang
73b694e6c1
kubectl describe <kind> work with no arguments
...
Add describe_resource_assert to test describe <kind> with no object arg
2015-08-10 14:08:38 +08:00