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
Kubernetes Prow Robot
12c5e2037e
Merge pull request #79968 from sukeesh/improveNoResource
...
Flush out current namespace when resources are not found
2019-07-10 22:58:54 -07:00
Sukeesh
b7d2478ac9
flush current namespace when resources are not found
2019-07-10 16:12:48 +09:00
Daisuke Taniwaki
4200d6c2cc
Avoid conflicts with other cobra auto completion
2019-07-10 13:32:29 +09:00
John Harris
4b8437b9cf
Fix 'concurrency' logs typo
...
Signed-off-by: John Harris <joharris@vmware.com >
2019-07-09 19:13:14 -07: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
Kubernetes Prow Robot
b130ff4502
Merge pull request #79724 from deads2k/update-raw
...
make kubectl --raw consistent for create, update, get, delete
2019-07-09 08:26:17 -07:00
David Eads
09c55bd117
make kubectl --raw consistent for create, update, get, delete
2019-07-09 09:03:56 -04:00
Kubernetes Prow Robot
dd9ae9a1d2
Merge pull request #76227 from sawlanipradeep/window-plugin-fix
...
Replace syscall.Execve with exec.Command.
2019-07-08 13:00:36 -07:00
Pradeep Sawlani
13be373ce7
For windows, use exec.Command instead of syscall.Execve.
...
sycall.Execve is not supported on windows.
2019-07-08 10:09:51 -07:00
Kubernetes Prow Robot
75a39b7007
Merge pull request #73982 from tanshanshan/fixcp
...
fix cp time stamp is in the future error
2019-07-02 22:48:29 -07:00
Kubernetes Prow Robot
bf86300241
Merge pull request #74943 from JishanXing/bug-fix
...
Fix #74900 - kubectl logs --selector supports --tail=-1
2019-06-30 19:17:20 -07:00
Kubernetes Prow Robot
a574bd63ed
Merge pull request #79442 from seans3/move-kubectl-validation
...
Move pkg/kubectl/validation to staging
2019-06-28 17:21:10 -07:00
Jordan Liggitt
13273468b4
Add ability to output watch events from kubectl get
2019-06-28 16:24:54 -07:00
Sean Sullivan
9cef1fb27b
Update dependencies BUILD/go.mod/go.sum
2019-06-28 11:56:18 -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
Sean Sullivan
4a95e689c3
Updated import statements to reflect move to staging
2019-06-28 09:53:20 -07:00
Kubernetes Prow Robot
4745946525
Merge pull request #79345 from liggitt/kubectl-printing
...
Add meta Table tests, fix --watch-only with single item
2019-06-27 20:09:33 -07:00
Mike Dame
76d7f58c06
update vendor
2019-06-25 15:28:52 -04:00
Mike Dame
a507ca338a
Move pkg/util/rbac to staging and update refs
2019-06-25 15:25:23 -04: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
Kubernetes Prow Robot
ad0904c335
Merge pull request #79123 from tedyu/wait-all
...
Redundant call to WithAll in NewWaitFlags
2019-06-19 14:57:02 -07:00
Kubernetes Prow Robot
12ff2fe3f5
Merge pull request #78887 from joshmsamuels/master
...
Inverted error handling to ensure server-side apply does not fall bac…
2019-06-18 10:10:21 -07:00
Ted Yu
df08310d6b
Redundant call to WithAll in NewWaitFlags
2019-06-17 20:30:58 -07:00
Kubernetes Prow Robot
af9d54db76
Merge pull request #79000 from pswica/415
...
kubectl config set hangs on some invalid property names #415
2019-06-15 08:52:51 -07:00
Josh Samuels
1ec87e2220
Updated code with gofmt
2019-06-13 19:27:06 -07:00
Peter Swica
ae386f3143
kubectl config set hangs on some invalid property names #415
2019-06-13 20:29:39 -04:00
Josh Samuels
62b8b1702c
Replaced klog with an error wrapper
2019-06-12 23:15:13 -07:00
Josh Samuels
4b29036db9
Inverted error handling to ensure server-side apply does not fall back on client-side apply when there is an error
2019-06-10 20:33:59 -07:00
Peter Swica
6a3ac35b54
added defer keyword to wg.Done() in logs.go
2019-06-09 22:00:33 -04:00
Ji Shan Xing
d2896d6198
74900, kubectl logs selector supports tail=-1
2019-06-02 08:48:21 -04:00
Kubernetes Prow Robot
48f2be9cff
Merge pull request #76713 from prksu/remove-exec-deprecated-pod-flag
...
Remove kubectl exec deprecated -p/--pod flag
2019-06-01 01:02:19 -07:00
Kubernetes Prow Robot
834db16c9b
Merge pull request #75202 from obitech/fix_linting_kubectl_apply
...
Fix linting kubectl apply
2019-05-31 17:44:21 -07:00
Kubernetes Prow Robot
3d871df19a
Merge pull request #75920 from artmello/kubectl_top_sortby
...
Add --sort-by option to kubectl top command
2019-05-31 07:13:11 -07:00
wangqingcan
52f3380ef3
change preempting to PreemptionPolicy
2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691
non-preempting-priorityclass
...
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io >
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn >
2019-05-31 12:37:07 +08:00
Kubernetes Prow Robot
38afd9815e
Merge pull request #78445 from soltysh/remove_job_scale
...
Remove kubectl scale job
2019-05-30 02:24:33 -07:00
Maciej Szulik
85d8b0ce3f
Remove kubectl scale job
2019-05-28 15:24:38 +02:00
yameiwang
23b7d5e606
fix some spelling error
2019-05-25 06:51:31 +08:00
Ahmad Nurus S
a59b476805
Remove kubectl exec deprecated -p/--pod flag
2019-05-23 20:43:36 +07:00
obitech
ae41c0202b
Revert change on ApplyOptions
...
Change back `Options` to `ApplyOptions`, as well as remove
`pkg/kubectl/cmd/apply/apply.go` from `.golint_failures` again
2019-05-23 13:30:11 +02:00
obitech
994d7fc90d
Fix golint issues in pkg/kubectl/cmd/apply
2019-05-23 13:30:11 +02:00
Quan Tian
efcca8f357
Fix missing pod name for kubectl attach and exec
...
The pod name is missing in suggested cmd usage when executing kubectl attach
and exec:
"Defaulting container name to master.
Use 'kubectl describe pod/ -n default' to see all of the containers in this pod."
The PodName is empty in func Complete as the attached Pod isn't populated yet,
causing suggested cmd usage imcomplete. This patch renders PodName after it is
populated.
2019-05-17 09:58:57 -07:00