Sean Sullivan
eaea71cf84
Move pkg/kubectl/drain to staging
2019-07-25 10:23:32 -07:00
Kubernetes Prow Robot
81684586db
Merge pull request #80558 from seans3/move-apply-util
...
Move pkg/kubectl/apply.go to staging
2019-07-25 07:36:34 -07:00
Sean Sullivan
309de42878
Move pkg/kubectl/apply.go to staging
2019-07-24 20:40:25 -07:00
Sean Sullivan
1b52c6180b
Move pkg/kubectl/apps to staging
2019-07-24 20:10:31 -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
Sean Sullivan
be3b2cc1a4
Moved files from pkg/kubectl/scheme to staging
2019-07-18 15:32:12 -07:00
Kubernetes Prow Robot
c1ebabed42
Merge pull request #80230 from tedyu/rolling-sel
...
Skip unnecessary copy of Selector
2019-07-18 07:08:25 -07:00
Ted Yu
f463011961
Skip unnecessary copy of Selector
2019-07-16 13:27:38 -07:00
Kubernetes Prow Robot
a10eced56b
Merge pull request #80183 from tedyu/desc-check-ret
...
Check return value of LabelSelectorAsSelector in describe
2019-07-16 13:23:12 -07:00
Ted Yu
801f703add
Check return value of LabelSelectorAsSelector in describe
2019-07-16 02:56:16 -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
3dd8add5d2
Merge pull request #79549 from liggitt/admission-webhooks-v1
...
Promote admission webhook API to v1
2019-07-11 17:01:34 -07: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
Kubernetes Prow Robot
ca43c670a5
Merge pull request #79960 from tedyu/desc-ref
...
Remove incorrect ampersand in front of AverageValue in describeHorizontalPodAutoscalerV2beta2
2019-07-10 16:25:06 -07:00
Jordan Liggitt
b15aed6409
Generated
2019-07-10 17:38:09 -04: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
Ted Yu
062b503165
Remove incorrect ampersand in front of AverageValue in describeHorizontalPodAutoscalerV2beta2
2019-07-09 20:29:23 -07: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
f56cfbeb6d
Merge pull request #79725 from jaypipes/issue79721
...
Output boolean for AllowPrivilegeEscalation
2019-07-09 10:12:29 -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
Jordan Liggitt
e24377f190
Install/register v1 admission registration types
2019-07-08 09:49:29 -04:00
Jay Pipes
ee72142730
Output boolean for AllowPrivilegeEscalation
...
`kubectl describe psp` was incorrectly outputting the hex-encoded value
of the pointer to bool AllowPrivilegeEscalation field of the PSP. This
patch simply fixes the output to be a stringified boolean value of the
field.
Fixes Issue #79721
2019-07-03 12:15:08 -04: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
Khaled Henidak(Kal)
54d42e6a65
types modifications + conversion + conversion testing
2019-07-02 15:39:05 +00: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
Kubernetes Prow Robot
39c20fdcf1
Merge pull request #79530 from liggitt/remove-print-internal
...
Remove internal object printing from kubectl
2019-06-28 16:09:42 -07:00
Kubernetes Prow Robot
d020a037b5
Merge pull request #79198 from damemi/kubectl-logs
...
Move pkg/kubectl/util/logs to staging
2019-06-28 12:43:07 -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
Sean Sullivan
5eac54e755
Move pkg/kubectl/validation 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
f11e120978
update vendor
2019-06-27 15:18:46 -04:00
Mike Dame
a710a83aa9
Move pkg/util/logs to staging and update ref
2019-06-27 15:15:55 -04:00
Mike Dame
18ea637d09
update vendor
2019-06-27 15:12:55 -04:00
Mike Dame
5f7dbefa03
Move pkg/util/slice and update refs
2019-06-27 15:09:37 -04:00
Sean Sullivan
c32921672f
Update BUILD files
2019-06-27 10:06:54 -07:00
Sean Sullivan
e3a74bafc8
Update imports for the files moved to staging
2019-06-27 09:53:13 -07:00
Sean Sullivan
6274ef995f
Move pkg/kubectl/util/fieldpath to staging
2019-06-27 09:52:26 -07:00
Sean Sullivan
85e83512b0
Updated BUILD dependency to use staging
2019-06-26 14:53:06 -07:00
Sean Sullivan
d31972a0e5
Removes unused BUILD file
2019-06-26 14:28:53 -07:00
Sean Sullivan
541cb300c7
Move pkg/kubectl/util/certificate to staging
2019-06-26 14:28:53 -07:00
Sally O'Malley
c4cb265e5c
Updates to dependencies including go.mod, go.sum, and BUILD files
2019-06-26 15:59:30 -04:00
Sally O'Malley
7e253e1d0e
Move pkg/kubectl/util/resource to staging
2019-06-26 15:59:30 -04:00
Sally O'Malley
7ac89bfe4c
Updates to dependencies including go.mod, go.sum, and BUILD files
2019-06-26 08:51:27 -04:00
Sally O'Malley
8d70e1b25a
Removes unused BUILD file
2019-06-26 08:51:27 -04:00
Sally O'Malley
acd3b91f9e
Move pkg/kubectl/util/qos to staging
2019-06-26 08:51:27 -04:00
Peter Swica
d8362f7508
Moving pkg/kubectl/util/storage to staging
2019-06-26 00:11:16 -04:00
Sean Sullivan
949060dac0
Dependency changes
2019-06-25 15:22:20 -07:00
Sean Sullivan
f7a443f316
Update imports after moving util/event to staging
2019-06-25 14:57:00 -07:00
Sean Sullivan
d4a5b75a67
Move pkg/kubectl/util/event into staging
2019-06-25 14:55:21 -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
Sean Sullivan
e397b04ca1
Update go.mod, go.sum, and BUILD dependencies
2019-06-25 12:04:06 -07:00
Sean Sullivan
ff176aac2f
Update import statements to reference code moved to staging
2019-06-25 12:02:26 -07:00
Sean Sullivan
7aa214d2c3
Move pkg/kubectl/util/hash to staging
2019-06-25 12:02:26 -07:00
Sean Sullivan
6f120f9660
Updated publishing dependencies rules
2019-06-24 12:42:54 -07:00
Sean Sullivan
2c536a2c33
Updates to dependencies including go.mod, go.sum, and BUILD files
2019-06-24 12:36:33 -07:00
Sean Sullivan
11c5bd1b2f
Updated imports for util/deployment
2019-06-24 12:32:59 -07:00
Sean Sullivan
c3f6418b59
Moved pkg/kubectl/util/deployment to staging
2019-06-24 12:32:13 -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
Sally O'Malley
d6af3f2653
Update go.mod, go.sum, and BUILD file dependencies
2019-06-24 08:17:47 -04:00
Sally O'Malley
a2691d8e93
Removes unused BUILD file
2019-06-24 08:17:47 -04:00
Sally O'Malley
4c58308b4e
Move pkg/kubectl/util/podutils to staging
2019-06-24 08:17:47 -04:00
Kubernetes Prow Robot
5f88b0d187
Merge pull request #79200 from damemi/kubectl-printers
...
Move pkg/kubectl/util/printers to staging
2019-06-21 18:53:03 -07:00
Kubernetes Prow Robot
baa5293890
Merge pull request #79230 from dims/move-to-github.com/go-bindata/go-bindata
...
updating github.com/go-bindata/go-bindata to v3.1.1
2019-06-21 10:03:48 -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
Davanum Srinivas
df3f9f1047
updating github.com/go-bindata/go-bindata to v3.1.1
...
Change-Id: I66c047a4e5e72632042f43a9f4b33ab9f5bf7ef1
2019-06-20 11:30:30 -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
Kubernetes Prow Robot
14b6dce953
Merge pull request #78825 from pswica/logs-wg
...
Adding defer wg.Done() Statement To logs.go
2019-06-14 20:46:49 -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
aaa
3025b3097a
Fixed some minor errors in openapi
...
update pull request
2019-06-03 21:45:48 -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
Vladimir Vivien
8e0cf65310
Enforce pod security policy for CSI inline
2019-05-29 15:38:21 -04: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
274876ef9a
Merge pull request #77448 from smarterclayton/api_serve
...
Support meta.k8s.io/v1 Table and PartialObjectMetadata requests to the API
2019-05-10 21:30:37 -07:00
Kubernetes Prow Robot
33f44a29b8
Merge pull request #77617 from cmluciano/cml/extensiontonetworking
...
ingress: migrate extensions.Ingress to networking.Ingress
2019-05-10 17:56:12 -07:00
Clayton Coleman
33a3e325f7
API server should offer metav1 Table/Partial transforms
...
Now that internal types are equivalent, allow the apiserver to serve
metav1 and metav1beta1 depending on the client. Test that in the
apiserver integration test and ensure we get the appropriate responses.
Register the metav1 type in the appropriate external locations.
2019-05-10 15:29:07 -04:00
Christopher M. Luciano
d9e4933da3
ingress: migrate extensions.Ingress to networking.Ingress
...
This is a find/replace within my editor. I made the import
networkingv1beta1 so that it will be easier to replace for
the future v1 migration.
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-10 13:18:53 -04: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
aafac3cfca
Merge pull request #77380 from SataQiu/fix-golint-apis-20190503
...
Fix golint failures of pkg/apis/scheduling, pkg/apis/storage/util, etc
2019-05-06 15:30:32 -07: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
SataQiu
ed04c5f459
fix golint failures of pkg/apis/scheduling pkg/apis/storage/util pkg/apis/storage/v1/util pkg/apis/storage/v1beta1/util
2019-05-03 15:54:24 +08:00
danielqsj
7e4dbbac40
Fix describe error of Successful Job History Limit
2019-05-03 00:20:42 +08: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
0ca27bfee2
Merge pull request #76139 from SataQiu/fix-golint-kubectl-20190404
...
Fix golint failures of pkg/kubectl/apps
2019-04-22 10:43:44 -07:00
caiweidong
653708b836
fix duplicated pod priorityClassName
2019-04-22 21:34:04 +08: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
Kubernetes Prow Robot
29163600fe
Merge pull request #76796 from dims/remove-unused-methods
...
Remove unused code
2019-04-19 11:09:55 -07:00