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
3e7f6e508a
Add client-side status object handling
2019-06-28 11:55:31 -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
Jordan Liggitt
2b65c74b94
Add kubectl get/list/watch tests for table output
2019-06-24 08:49:28 -07:00
Jordan Liggitt
ead86cf350
Test humanreadable table output
2019-06-24 08:34:36 -07:00
Jordan Liggitt
fe339d2420
Fix short buffer error in get test
2019-06-24 08:27:14 -07:00
Mike Dame
084f7f35ac
hack/update-vendor.sh
2019-06-20 20:37:38 -04: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
Sean Sullivan
bbc2886a3b
Rename NewHumanReadablePrinter to NewTablePrinter
2019-04-29 11:42:04 -07:00
Jordan Liggitt
c758f0af0a
Remove legacy table printing and decoding
2019-04-08 12:31:38 -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
53e55d314a
Make sorting printer sort tables in place
2019-04-05 01:20:06 -04: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
Jordan Liggitt
135d2f197a
Add unit test for sort-by table output
2019-04-05 01:19:57 -04:00
Jordan Liggitt
a347826b4f
Add unit test for empty table results
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
Kubernetes Prow Robot
29e9ff36a9
Merge pull request #73063 from WanLinghao/kubectl_get_custom_clomuns_fix
...
Improve custom-columns option of `kubectl get ` command
2019-01-31 01:39:49 -08:00
WanLinghao
97ec74df03
The client-go library supports user get Object info in the form of .spec.containers[0:3].name.
...
But kubectl get command doesn't support this.
This patch fix this, now users could get object info like:
a. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0:3].name
b. kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[-2:].name
2019-01-31 09:38:04 +08:00
Kubernetes Prow Robot
2cbb16bc8d
Merge pull request #73243 from andrewsykim/update-utils-vendor
...
Update vendor k8s.io/utils and remove internal utils
2019-01-24 16:30:14 -08:00
Kubernetes Prow Robot
e28c757e87
Merge pull request #72972 from liggitt/remove-alpha-initializers
...
Remove use of alpha initializers
2019-01-24 14:54:52 -08:00
Andrew Kim
0bc5508aca
replace client-go/util/integer with k8s.io/utils/integer
2019-01-24 15:34:21 -05:00
Kubernetes Prow Robot
2cd88258c7
Merge pull request #69255 from Pingan2017/remove-show-all
...
remove --show-all
2019-01-24 06:30:43 -08: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
ef4983fb52
Update generated files
2019-01-15 13:33:06 -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
k8s-ci-robot
68b4be3e19
Merge pull request #70775 from freehan/pod-ready-cli
...
add readiness gates in kubectl extended output for pods
2018-11-13 14:59:18 -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