Kubernetes Prow Robot
bd6f58cfcb
Merge pull request #80337 from draveness/feature/remove-deprecated-include-uninitialized-flag
...
feat: remove deprecated include uninitialized flag
2019-09-10 14:29:15 -07:00
Maciej Szulik
09ecba5213
Fix handling empty result when invoking kubectl get
2019-08-16 16:51:48 +02:00
Wei Huang
a4d97cc47d
kubectl: eliminate unnecessary blank ending line ( #81229 )
...
* kubectl: eliminate unnecessary blank ending line
* address comments and add more tests
2019-08-13 04:50:20 -07:00
draveness
f18f86ad9a
feat: remove deprecated include uninitialized flag
2019-08-04 22:39:52 +08:00
Ted Yu
e1ee01af48
Omit namespace when kubectl get is for the cluster
2019-08-02 14:13:52 -07:00
Sean Sullivan
6c96a059dd
Move pkg/kubectl/cmd/util and subdirs to staging
2019-07-29 13:08:41 -07:00
Sean Sullivan
70984d8385
Moves pkg/kubectl/util/i18n to staging
2019-07-25 23:09:34 -07:00
Tara Gu
75b18e20d5
Don't print non-error (blank lines in this case) to stdout, and don't print blank lines for empty resources
2019-07-13 21:23:28 -04:00
Sukeesh
b7d2478ac9
flush current namespace when resources are not found
2019-07-10 16:12:48 +09:00
Kubernetes Prow Robot
5625eadd2a
Merge pull request #72416 from liggitt/watch-event-type
...
Include event type in `kubectl get -w` output
2019-07-09 13:46:24 -07:00
David Eads
09c55bd117
make kubectl --raw consistent for create, update, get, delete
2019-07-09 09:03:56 -04:00
Jordan Liggitt
13273468b4
Add ability to output watch events from kubectl get
2019-06-28 16:24:54 -07:00
Jordan Liggitt
cf3e75de70
Remove internal object printing from kubectl
2019-06-28 10:54:50 -07:00
Jordan Liggitt
5d508760e3
Fix --watch-only of a single item with table output
2019-06-24 09:34:15 -07:00
Mike Dame
5f3818230d
Move pkg/util/printers to staging and update refs
2019-06-20 20:35:38 -04:00
Peter Swica
123fa89f21
Moved pkg/kubectl/util/term, pkg/kubectl/util/templates, pkg/kubectl/util/interrupt, and pkg/kubectl/util/interrupt to staging
2019-06-20 15:50:16 -04:00
Kubernetes Prow Robot
c082ace102
Merge pull request #76161 from liggitt/kubectl-watch-table
...
use server-side printing in `kubectl get -w`
2019-04-08 08:58:48 -07:00
Kubernetes Prow Robot
eaa506c0b4
Merge pull request #75516 from seans3/interrupt-fix
...
kubectl: Removes dependency on util/interrupt by copying this code into kubectl
2019-04-05 16:46:29 -07:00
Jordan Liggitt
7013827309
Stop special-casing tables in kubectl get to print 'No resources found'
2019-04-05 01:20:01 -04:00
Jordan Liggitt
1c3adedf1c
Request and handle server-side printing when watching with kubectl
2019-04-05 01:20:01 -04:00
Jordan Liggitt
34e9d80b87
Refactor kubectl table printing for watch
...
Warn if sorting and watching are requested together
2019-04-05 01:19:57 -04:00
Kubernetes Prow Robot
857cf88a6a
Merge pull request #75165 from qingsenLi/k8s190308-fix-error
...
fix a mistake in get.go
2019-03-29 10:28:27 -07:00
Sean Sullivan
2345831b82
kubectl: Removes dependency on util/interrupt by copying this code into kubectl
2019-03-20 11:39:57 -07:00
qingsenLi
0c247c9305
fix a mistake
2019-03-08 17:48:18 +08:00
Ilya Dmitrichenko
6d7a9048b6
Move printers & resources packages
...
These packages deserve to live at the top level of `k8s.io/cli-runtime`,
as they are potentially of wider use than genericclioptions.
2019-03-07 23:00:24 +00:00
Jingfang Liu
b38cf738d6
update kubectl subcommand with -k changes
2019-02-25 16:30:50 -08:00
Kubernetes Prow Robot
120bcd7ddd
Merge pull request #73787 from soltysh/deprecate_export
...
Deprecate --export flag from get command
2019-02-14 05:18:24 -08:00
WanLinghao
4a1a2c9017
Add a case to illustrate how to use kubectl get -o custom-columns
2019-02-10 14:42:13 +08:00
Maciej Szulik
3f3316be31
Deprecate --export flag from get command
2019-02-06 15:04:57 +01:00
Jordan Liggitt
17aa60686e
Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options
2019-01-23 16:34:43 -05:00
Jordan Liggitt
2b1a2d361f
Use tabwriter with remembered column widths
2019-01-01 22:27:36 -05:00
Maciej Szulik
885bed15da
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:37:43 +01:00
Jordan Liggitt
4611bb448e
Fix sort-by regression
2018-12-06 12:32:30 -05:00
Kubernetes Prow Robot
b1aed1593e
Merge pull request #70682 from idealhack/fix-golint-pkg-kubectl-cmd
...
Fix some golint errors for packages in `pkg/kubectl/cmd`
2018-12-04 00:49:09 -08:00
k8s-ci-robot
1e50c57113
Merge pull request #70740 from mfpierre/fix-kubectl-get-sort-out-of-range
...
Fix index out of range error when sorting kubectl get
2018-11-24 12:19:06 -08:00
Yang Li
141d33a2a5
Fix some golint errors for packages in pkg/kubectl/cmd
...
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
Sean Sullivan
e0b712d428
kubectl: move custom columns printers and flags
2018-11-12 14:31:59 -08:00
k8s-ci-robot
3bcbc5da79
Merge pull request #70887 from seans3/kubectl-get-fix
...
kubectl get: remove internal resource dependency
2018-11-12 13:20:08 -08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Sean Sullivan
c814f61510
kubectl get: remove internal resource dependency
2018-11-09 11:33:11 -08:00
Pierre
3b6d8e8373
Fix index out of range error when sorting kubectl get
2018-11-07 11:52:39 +01:00
Maciej Szulik
21789b85a6
Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates
2018-10-11 22:01:03 +02:00
Sean Sullivan
54a73630f1
kubectl factory client access: Moves remaining internal references into callers
2018-10-09 13:34:30 -07:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
juanvallejo
c32d10f3cf
add prototype sorting for table rows
2018-08-30 16:09:05 -04:00
Maciej Szulik
5b55e1f8ed
Create cli-runtime staging repository
2018-08-21 17:08:30 +02:00
Kubernetes Submit Queue
d3a0bb6a84
Merge pull request #67137 from juanvallejo/jvallejo/usability-fix-kube-get
...
Automatic merge from submit-queue (batch tested with PRs 67137, 67372, 67505, 67373, 67357). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
prevent "No resources found" output on forbidden error
**Release note**:
```release-note
NONE
```
This was originally fixed in https://github.com/kubernetes/kubernetes/pull/35115 , but made its way back. Added a small test
cc @soltysh
2018-08-16 10:34:11 -07:00
juanvallejo
df0077f362
prevent "No resources found" output on forbidden error
2018-08-15 13:54:23 -04:00
Tomas Nozicka
3d4a02abb5
Rename Until to UntilWithoutRetry and move to using context so it's
...
cancelable
2018-08-10 09:55:41 +02:00
Chao Wang
e954f9706e
fix the watch status when -o=yaml|json option is specfied
2018-07-24 16:37:47 +08:00