Kubernetes Prow Robot
12e462b21a
Merge pull request #80656 from seans3/move-kubectl-version
...
Move pkg/kubectl/version to staging
2019-07-27 07:33:56 -07:00
Sean Sullivan
fb44be2d97
Move pkg/kubectl/version to staging
2019-07-26 15:48:09 -07:00
Sean Sullivan
49f5b423cf
Move pkg/kubectl/describe to staging
2019-07-26 10:41:49 -07:00
Sean Sullivan
70984d8385
Moves pkg/kubectl/util/i18n to staging
2019-07-25 23:09:34 -07:00
Kubernetes Prow Robot
6fc8a01544
Merge pull request #80562 from seans3/move-drain-staging
...
Move pkg/kubectl/drain to staging
2019-07-25 22:36:24 -07:00
Sean Sullivan
775b670e8b
Move some pkg/kubectl into polymorphichelpers
2019-07-25 11:36:04 -07:00
Sean Sullivan
eaea71cf84
Move pkg/kubectl/drain to staging
2019-07-25 10:23:32 -07:00
Sean Sullivan
309de42878
Move pkg/kubectl/apply.go to staging
2019-07-24 20:40:25 -07:00
Sean Sullivan
7083332c63
Move pkg/kubectl/util to staging
2019-07-24 13:18:34 -07:00
Tim Allclair
9ba6fe8810
refactors to kubernetes cp command
2019-07-22 13:25:13 -07:00
M00nF1sh
bad1802892
refactors to kubernetes CP command
2019-07-22 10:33:19 -07:00
Sean Sullivan
67140f13fe
Updated dependencies: BUILD/modules.txt
2019-07-18 15:43:26 -07:00
Sean Sullivan
140c62cd4c
Update all imports to scheme in staging
2019-07-18 15:32:27 -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
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
Kubernetes Prow Robot
6dfc996156
Merge pull request #77423 from apelisse/rollout-restart-other-workloads
...
Implement rollout restart for statefulset and daemonset
2019-05-16 16:27:06 -07:00
Antoine Pelisse
145935d815
Implement rollout restart for statefulset and daemonset
2019-05-16 08:50:42 -07:00
Kubernetes Prow Robot
74469297fe
Merge pull request #77589 from soltysh/fix_exec_use
...
Update kubectl exec use to put flags in the right place
2019-05-14 03:51:13 -07:00
Kubernetes Prow Robot
6d94a23f30
Merge pull request #77542 from yanghaichao12/dev0507
...
Refactor:move clean method to suitable place
2019-05-09 14:14:00 -07:00
Kubernetes Prow Robot
c948cc8088
Merge pull request #77405 from sftim/20190503_kubectl_rename_context_typo_fix
...
Fix kubectl rename-context description grammar
2019-05-09 14:13:47 -07:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Kubernetes Prow Robot
7673b2d161
Merge pull request #72999 from nuistzyw/word
...
Fix a spelling error
2019-05-07 20:44:32 -07:00
Maciej Szulik
c1cd89f5cd
Update kubectl exec use to put flags in the right place
2019-05-07 21:47:03 +02:00
yanghaichao12
e21ce73fba
Refactor:move clean method to suitable place
2019-05-07 14:23:30 -04:00
Kubernetes Prow Robot
19b83c3526
Merge pull request #73230 from Fedosin/cli_exec_auth
...
Allow to define exec credential plugin config options from kubectl
2019-05-06 11:09:43 -07:00
SataQiu
d413e3f18d
fix golint failures of pkg/kubectl/cmd/help pkg/kubectl/cmd/proxy pkg/kubectl/cmd/util/openapi
2019-05-05 23:40:09 +08:00
Tim Bannister
ea37acfbc4
Fix kubectl rename-context description grammar
2019-05-03 16:48:55 +01:00
Mike Fedosin
a556e4fcd1
Allow to define exec credential plugin config options from kubectl
...
This commit adds support of setting config options to the exec plugin
from cli.
Next options are added:
* --exec-command new command for the exec credential plugin
* --exec-api-version API version of the exec credential plugin.
* --exec-arg new arguments for the exec credential plugin command
* --exec-env add, update or remove environment values for the exec credential plugin
2019-05-03 14:08:03 +02:00
Kubernetes Prow Robot
3b5e2285b0
Merge pull request #77112 from SataQiu/fix-golint-kubectl-20190427
...
Fix some golint failures of pkg/kubectl/cmd/attach pkg/kubectl/cmd/autoscale
2019-05-01 20:42:44 -07:00
Mitch Kelley
0ccfdf5cc3
small typo
2019-04-30 20:41:29 -04:00
Kubernetes Prow Robot
1e015237c7
Merge pull request #77267 from liggitt/kubectl-set-local-namespace
...
Preserve existing namespace when using kubectl set --local
2019-04-30 16:11:21 -07:00
Jordan Liggitt
2fae80c27c
Preserve existing namespace when using kubectl set --local
2019-04-30 10:39:29 -04:00
Kubernetes Prow Robot
b95fca093d
Merge pull request #76788 from soltysh/tar-fixes
...
Clean links handling in cp's tar code
2019-04-30 07:05:52 -07:00
Sean Sullivan
bbc2886a3b
Rename NewHumanReadablePrinter to NewTablePrinter
2019-04-29 11:42:04 -07:00
SataQiu
6f7690e139
fix some golint failures of pkg/kubectl/cmd/attach pkg/kubectl/cmd/autoscale
2019-04-29 17:25:34 +08:00
Kubernetes Prow Robot
e5dd4521a8
Merge pull request #73664 from prksu/kubectl-exec-resource-name
...
Kubectl exec support resource/name format
2019-04-27 09:06:21 -07:00
Maciej Szulik
7962231a80
Properly handle links in tar
2019-04-26 22:19:44 +02:00
Tim Allclair
a867b399af
Test kubectl cp escape
2019-04-26 22:19:39 +02:00
Kubernetes Prow Robot
7511e93371
Merge pull request #71906 from Pingan2017/remove-deprecatedAlias
...
remove unused func deprecatedAlias
2019-04-25 10:18:48 -07:00
Ahmad Nurus S
0c39d7d380
Kubectl exec support resource/name format
2019-04-25 17:44:01 +07:00
Kubernetes Prow Robot
36e06bbb1f
Merge pull request #77010 from soltysh/fix_cp
...
Check error when copying from pod
2019-04-24 14:21:31 -07:00
Maciej Szulik
12066b069c
Check error when copying from pod
2019-04-24 15:30:07 +02:00
Maciej Szulik
825cb677bf
Make the error slightly more readable
2019-04-24 15:14:17 +02:00
Arthur Mello
b61e46f1ce
Add --sort-by option to kubectl top command
...
- Add ability to sort kubectl top nodes/pod by either CPU or memory usage
2019-04-24 08:24:52 -03:00
Kubernetes Prow Robot
b1fea1bdf5
Merge pull request #76662 from stuart-mclaren/version-fix
...
Fix kubectl version --client=true
2019-04-20 15:39:44 -07:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Kubernetes Prow Robot
e8bf254db8
Merge pull request #76724 from xichengliudui/constant-block-kubectl
...
Use constant blocks to define constants in pkg/kubectl
2019-04-17 22:58:36 -07:00
Maciej Szulik
1c71a2312b
Warn to stderr when we encounter PathError listing plugins
2019-04-17 15:16:31 +02:00
Kubernetes Prow Robot
90b9ccf7f4
Merge pull request #74447 from WanLinghao/builder_ptr_replace
...
Remove and replace ptr functions
2019-04-16 16:19:38 -07:00
Stuart McLaren
d4ee919fb5
Fix kubectl version --client=true
...
Getting the client version fails if the kubeconfig is invalid:
$ kubectl version --client=true
Error in configuration:
* unable to read client-cert .../client.crt: no such file or directory
* unable to read client-key .../client.key: no such file or directory
* unable to read certificate-authority .../ca.crt: no such file or directory
Update to match behaviour on v1.10.13 and earlier:
$ kubectl version --client=true
Client Version: version.Info{Major:"1", ...}
2019-04-16 18:56:53 +01:00
aaa
119400ad71
Use constant blocks to define constants in pkg/kubectl
2019-04-11 12:16:29 -04:00
Pingan2017
c1243ddd05
remove unused func deprecatedAlias
2019-04-11 10:17:49 +08:00