Commit Graph

524 Commits (044e0a92aa373e28a8bae891c0abe075c4e211bf)

Author SHA1 Message Date
nikhiljindal c849730116 Fixing the error message 2015-07-16 23:33:16 -07:00
Brian Grant 5540917094 Merge pull request #11366 from davidopp/doc1
Move docs/services-firewalls.md into docs/user-guide/ and make small
2015-07-16 22:48:13 -07:00
Brian Grant cb58e8e43b Merge pull request #11350 from thockin/munge-check-kubectl-dash-f
Add munger to verify kubectl -f targets
2015-07-16 22:46:37 -07:00
nikhiljindal 496f30a92f Introduce a new service generator that leaves service port unnamed 2015-07-16 20:40:40 -07:00
Tim Hockin f7512d007b Add munger to verify kubectl -f targets, fix docs 2015-07-16 15:39:45 -07:00
David Oppenheimer fd2c3695e3 Move docs/services-firewalls.md into docs/user-guide/ and make small
wording changes to api.md
2015-07-16 13:21:14 -07:00
Eric Tune 2e848ed707 Merge pull request #10585 from caesarxuchao/fix-alias
Add boundary check before accessing os.Args[1]
2015-07-15 15:00:09 -07:00
Tim Hockin fe89298c09 Fix load-balancer firewall messages 2015-07-14 21:07:46 -07:00
hurf 6dd8a1dfa4 Add a better help message for kubectl describe
When resource type isn't given in the command, print the possible
resource types. Also added the resource type description in help
strings.
2015-07-14 16:22:42 +08:00
Tim Hockin 2d8c9d6c5e Merge pull request #10913 from feihujiang/fixSmallNitsForPortForwardCommand
Fix small nits for kubectl port-forward command
2015-07-13 12:55:34 -07:00
Brendan Burns 7620041ed4 Fix a small typo. 2015-07-13 09:38:40 -07:00
Zach Loafman ca21fca74a Fix TestRunExposeService
No longer emits "you will also need to explicitly open a firewall"
after #10974.

Fixes #11105
2015-07-13 06:48:58 -07:00
Brendan Burns a8f02e5472 Automatically open a firewall when creating a GCE load balancer. 2015-07-10 14:35:29 -07:00
Chao Xu 48679d21d2 add boundary check before access os.Args 2015-07-09 16:15:42 -07:00
Joe Beda 0426ab3290 Update list of resources for 'kubectl get' help output. 2015-07-09 08:59:32 -07:00
Joe Beda c15953662e Fix up alignment of columns w/ namespaces.
Fixes #10842

All issues for types that use "extra lines" for extended information.  Two issues fixed: (1) When namespaces are listed an extra column isn't inserted for extra lines and (2) trailing tabs aren't inserted when label columns are specified.

This code should probably move to a more explicit model of putting data into "cells".

The test for this hits https://github.com/golang/go/issues/6416 and so I introduced a "LineDelimiter" writer filter to make white space more visible.
2015-07-09 08:59:32 -07:00
Janet Kuo 524e70d501 Make "age" of pod print example static 2015-07-08 11:26:13 -07:00
feihujiang eca0ae08c5 Fix small nits for kubectl port-forward command 2015-07-08 15:53:53 +08:00
Jeff Lowdermilk 229cbd472d Update kubectl describe help to document prefix matching behavior 2015-07-07 16:57:37 -07:00
Brendan Burns 988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Yu-Ju Hong 4d86127098 Merge pull request #10644 from erictune/noslash
NAMESPACE in own column: kubectl --all-namespaces
2015-07-06 11:40:02 -07:00
Yu-Ju Hong 04018f9ca2 Merge pull request #10619 from andronat/rename_REASON
Rename REASON column to STATUS for kubectl get
2015-07-06 11:39:16 -07:00
Yu-Ju Hong d5ae8192fc Merge pull request #10654 from nikhiljindal/getToPostClient
Updating kubectl to use POST instead of GET for port-forward and exec
2015-07-06 10:54:27 -07:00
Eric Tune 88fa471d06 NAMESPACE in own column: kubectl --all-namespaces 2015-07-02 22:23:52 -07:00
Nikhil Jindal 91fc591e5e Merge pull request #10598 from feihujiang/nameInsteadOfID
Using NAME to replace ID in help string
2015-07-02 15:26:24 -07:00
Nikhil Jindal 09a57fadfb Merge pull request #10532 from feihujiang/outputErrorWhenUsingDescribeForNonexist
Output error when using kubectl describe for a nonexisting resource
2015-07-02 11:07:19 -07:00
Zach Loafman 5dbe90f0ba Merge pull request #10493 from krousey/namespace
Unify command line namespace resolution
2015-07-01 19:33:44 -07:00
nikhiljindal b38d8b18a5 Updating kubectl to use POST instead of GET 2015-07-01 17:07:24 -07:00
nikhiljindal 274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Kris Rousey ffa764d60b Unify command line namespace resolution
This change allows the namespace in kubeconfig to be overridden by
specifying the namespace in the spec file. If namespace is explicitly
provided in the command line flags and the spec file has a different
namespace, this will cause an error.
2015-07-01 12:59:17 -07:00
Zach Loafman 9e23ad7102 Merge pull request #10510 from mikedanese/kubectl-context-err
make use-context return error when context does not exist
2015-07-01 12:01:24 -07:00
Anastasis Andronidis 7480077f2b Rename REASON column to STATUS for kubectl get
Fixes #10560
2015-07-01 17:38:27 +02:00
Zach Loafman b42cac69cb Merge pull request #10519 from JanetKuo/kubectl-c
Enable -c for kubectl logs container arg
2015-07-01 08:36:38 -07:00
feihujiang 70036069ee Using NAME to replace ID in help string 2015-07-01 15:35:08 +08:00
Mike Danese aea3403734 make use-context return error when context does not exist 2015-06-30 19:08:55 -07:00
Janet Kuo 682734bcc7 Implement 'kubectl get ... -o wide' 2015-06-30 14:06:47 -07:00
Janet Kuo 62b488359f Enable -c for kubectl logs container arg 2015-06-30 13:25:54 -07:00
feihujiang 55db7ec369 Output error when using kubectl describe for a nonexisting resource 2015-06-30 14:12:58 +08:00
Chao Xu 7f89a29aad add "kubectl patch". It will replace "kubectl udpate --patch" in the future 2015-06-29 16:36:45 -07:00
Alex Robinson 764d34d363 Merge pull request #10468 from caesarxuchao/add-cmd-replace
Add command "kubectl replace"
2015-06-29 16:06:33 -07:00
Alex Robinson 68bbf6c129 Merge pull request #10447 from feihujiang/helpfulErrorForUnsupportedVersion
Provide more helpful error when using unsupported api version
2015-06-29 15:00:58 -07:00
Alex Robinson 10a0dc9aae Merge pull request #9928 from jlowdermilk/version-negotiate-tests
Unittest for #9762
2015-06-29 13:34:13 -07:00
Chao Xu 9b3d42c090 Add command "kubectl replace". "kubectl update" is still supported as an alias.
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
feihujiang 878a72228f Provide more helpful error when using unsupported api version 2015-06-29 15:32:54 +08:00
Robert Bailey f9db614f95 Merge pull request #10234 from mikedanese/rolling-update-weird
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Robert Bailey 508f7f1697 Merge pull request #10358 from caesarxuchao/add-force-update
Add --force to `kubectl update`
2015-06-26 10:49:04 -07:00
Chao Xu ef5de91fd7 add "--force" flag to "kubectl update";
update relevant tests
2015-06-25 17:16:20 -07:00
Maxwell Forbes 03121c2536 Merge pull request #10252 from akramer/patch-1
Fixing spacing in documentation comments
2015-06-25 15:09:41 -07:00
Mike Danese 0c8f71aa0b make rolling update check if the replication controller has been defaulted 2015-06-25 12:29:21 -07:00
Maxwell Forbes d90895adfd Merge pull request #10221 from feihujiang/addSourceForErrorFromServerMessage
Add source in “error from server” message when using kubectl
2015-06-25 10:56:46 -07:00