Erik Wilson
765fd253f6
Update vendor
2019-08-19 09:17:28 -07:00
Darren Shepherd
297b309740
Remove kustomize
2019-08-19 08:33:22 -07:00
Darren Shepherd
26785edb74
Remove openapi/swagger
2019-08-19 08:33:22 -07: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
Pierre
bb9ea69195
Add unit test case for empty list
2018-11-08 18:35:52 +01:00
Minhan Xia
c987e95282
add readiness gates column in the wide printout for pod
2018-11-07 16:45:49 -08:00
Pierre
3b6d8e8373
Fix index out of range error when sorting kubectl get
2018-11-07 11:52:39 +01:00
Maciej Szulik
61899e1654
Generated changes
2018-10-11 22:01:06 +02: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
Maciej Szulik
1d9617d8e1
Generated changes
2018-10-06 18:44:05 +02:00
Maciej Szulik
55d5df8a36
React to moves
2018-10-06 18:44:05 +02:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Sean Sullivan
b49a7a3193
kubectl get test: remove testapi dependencies and cleanups
2018-10-02 22:20:26 -07:00
Pingan2017
d1a280df44
remove --show-all
2018-09-29 17:09:05 +08:00
Brad Hoekstra
ac8799a80d
kubelet: Make service environment variables optional
2018-09-17 16:27:36 -04:00
Kubernetes Submit Queue
10b1b83893
Merge pull request #67965 from smarterclayton/slim_output
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md .
Reduce the minwidth of the cli table printer
For a few columns we want to have a smaller width and 10 is excessive. The example is CPU and memory for nodes.
2018-09-01 00:24:59 -07:00
Clayton Coleman
02099f445b
Reduce the minwidth of the cli table printer
...
For a few columns we want to have a smaller width and 10 is excessive.
2018-08-31 14:13:48 -04: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
4d7747a5a3
Update Bazel
2018-08-10 09:55:41 +02: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
David Eads
8a1eae451b
stop adding internal types to external schemes
2018-08-03 09:47:04 -04:00
David Eads
937d45a809
remove legacy scheme from create
2018-08-02 14:49:31 -04:00
David Eads
dd2af1c8a4
snip legacy scheme uses we don't need
2018-08-02 14:17:17 -04:00