Commit Graph

5670 Commits

Author SHA1 Message Date
Davanum Srinivas
7b8c9acc09
remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
caiweidong
31f751c9f6 Kubectl describe xxx suport PriorityClassName 2019-04-19 01:08:08 +08: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
SataQiu
4c713e94d9 fix golint failures of pkg/kubectl/apps 2019-04-17 19:37:35 +08: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
WanLinghao
7fbd71835e 'kubectl auth can-i` command would not hint user when they try to access
some resource out of scope. For example, try get namespace inside defaut namespace.
It would be reject by api-server but `kubectl auth can-i get namespace --namespace=default`
would give a `yes`. After this patch, a warning info would be given.
For more detail, please refer issue #75950
2019-04-10 13:12:45 +08:00
Kubernetes Prow Robot
b8b7ab39ec
Merge pull request #76272 from liggitt/cleanup-legacy-printers
Remove legacy table printing and decoding
2019-04-08 22:31:17 -07:00
WanLinghao
d0138ca3fe This commit does two things in pkg package:
1. Remove unused ptr functions.
2. Replace ptr functions with k8s.io/utils/pointer
2019-04-09 10:56:35 +08:00
Kubernetes Prow Robot
3409a5362a
Merge pull request #76062 from apelisse/rollout-restart
Create `kubectl rollout restart deployment/$deployment` to do a rolling restart
2019-04-08 14:40:44 -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
Antoine Pelisse
1bf99e2e4e Create kubectl rollout restart deployment/$deployment to do a rolling restart 2019-04-06 21:14:40 -07:00
Kubernetes Prow Robot
9c2df998af
Merge pull request #75820 from YoubingLi/bugfix
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-06 11:00:27 -07:00
Kubernetes Prow Robot
150a501750
Merge pull request #73557 from bsalamat/use_priority_ga
Update usages of PriorityClass to V1
2019-04-06 09:36:27 -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
Bobby (Babak) Salamat
16a7cbd320 generated files 2019-04-05 14:30:52 -07:00
Bobby (Babak) Salamat
8574e3e3f4 Use Scheduling V1 API instead of Scheduling v1beta1 2019-04-05 14:21:45 -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
Jordan Liggitt
959c56d325 Install meta.k8s.io/v1beta1 types into kubectl scheme 2019-04-05 01:19:57 -04:00
Clayton Coleman
7f9dfe58f4
Use CodecFactory.WithoutConversion() everywhere
Clarifies that requesting no conversion is part of the codec factory, and
future refactors will make the codec factory less opionated about conversion.
2019-04-03 22:19:13 -04:00
Kubernetes Prow Robot
d99f49d2a7
Merge pull request #76021 from soltysh/fix_create_docs
Fix create secret generic paths examples
2019-04-02 11:49:55 -07:00
Kubernetes Prow Robot
c23115dff9
Merge pull request #75903 from juanvallejo/jvallejo/allow-non-fatal-errors-when-fetching-pod-logs
allow for non-fatal errors when requesting and following multiple log streams
2019-04-02 11:49:32 -07:00
Kubernetes Prow Robot
aa52140928
Merge pull request #75346 from seans3/version-fix
kubectl: removes pkg/version dependency
2019-04-02 10:19:18 -07:00
Maciej Szulik
0341fa248a
Fix create secret generic paths examples 2019-04-02 13:31:29 +02:00
Kubernetes Prow Robot
7d15d41eb8
Merge pull request #74159 from dlipovetsky/issue-73249-revise-parsetaint
Update v1.Taint parser to accept the form `key:effect` and `key=:effect-`
2019-04-02 01:36:35 -07:00
Youbing Li
c438d7b495 Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource 2019-04-02 00:49:40 -04:00
juanvallejo
ac4eebeeb5 allow for non-fatal errors when requesting and following multiple log streams 2019-04-01 13:05:59 -07:00
Kubernetes Prow Robot
483cd0db09
Merge pull request #75483 from gsadhani/describe-output-fix
Skip smart label in kubectl describe if field has special chars
2019-04-01 04:54:33 -07:00
Kubernetes Prow Robot
afefc0b2c5
Merge pull request #73737 from odino/owner-references-in-create-job
Attaching owner references to jobs create via "--from=cronjob/xyz"
2019-03-30 18:22:45 -07:00
Kubernetes Prow Robot
30165e40dd
Merge pull request #75863 from cwdsuzhou/optimize-describe-pvc-organization
Optimize describe pvc output organization
2019-03-29 11:49:03 -07:00
Kubernetes Prow Robot
f8cd676f09
Merge pull request #75210 from deads2k/scale-toleration
make kubectl scale work without a GET if a precodition isn't requested
2019-03-29 11:48:12 -07:00
Girish Sadhani
029582d339 Skip smart label in kubectl describe if field has special chars
Attempts to create smart label for fields containing special chanracter ends
up looking very odd. This change skips creating smart labels for fields
containing special characters other than '-'.
2019-03-29 23:00:08 +05:30
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
Kubernetes Prow Robot
a0e6bd21c6
Merge pull request #74695 from qingsenLi/k8s190228-delete-code
delete unused code in proxy_server.go
2019-03-29 10:28:14 -07:00
caiweidong
732ef847e8 Optimize descrive pvc output organization 2019-03-29 11:29:09 +08:00
Sean Sullivan
d4d6e19f1e kubectl: removes pkg/version dependency 2019-03-28 16:08:34 -07:00
Kubernetes Prow Robot
194114e45e
Merge pull request #75513 from cwdsuzhou/fix-incline-csivolume
Kubectl: support inline csi volume
2019-03-27 18:40:57 -07:00
Kubernetes Prow Robot
81985203bf
Merge pull request #74802 from WanLinghao/zh_bindata_fix
Remove 404 link in kubectl help information
2019-03-27 17:22:19 -07:00
Kubernetes Prow Robot
ffd8f3dacb
Merge pull request #73255 from ds-ms/golint
Fix linting issues in pkg/kubectl/cmd/version
2019-03-22 17:02:08 -07:00
Kubernetes Prow Robot
265f80eef9
Merge pull request #75176 from mars1024/bugfix/hpa_not_working_in_kubectl_since_v1.13
make describers of different versions work properly when autoscaling/v2beta2 is not supported
2019-03-22 05:22:17 -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
Kubernetes Prow Robot
068daa54b0
Merge pull request #73970 from droslean/better-errors
kubectl: error logging as string instead of []byte
2019-03-20 11:08:01 -07:00
caiweidong
af5d6518ff Kubectl: support inline csi volume 2019-03-20 23:56:25 +08:00
Nikolaos Moraitis
45ac899894 error logging as string instead of []byte 2019-03-20 10:30:52 +01:00
Kubernetes Prow Robot
046dcbd1ed
Merge pull request #73917 from droslean/cleanup
replace loops with go idiomatic.
2019-03-19 19:01:04 -07:00
Jordan Liggitt
a6034e511c Restore username and password kubectl flags 2019-03-18 17:16:49 -04:00
Daniel Lipovetsky
ab6d901497 Update kubectl taint usage
- Explain that the value is optional.
- Add example of adding a taint with no value to kubectl taint usage.
2019-03-11 14:20:59 -07:00
Daniel Lipovetsky
f5ac239289 Copy changes from pkg/util/taints to pkg/kubectl/cmd/taint 2019-03-11 14:20:59 -07:00
Antoine Pelisse
eb904d8fa8 Add "fieldManager" to flag to PATCH/CREATE/UPDATE
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".

The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
David Eads
838721b0aa make kubectl scale work without a GET if a precodition isn't requested 2019-03-08 14:47:12 -05:00
Kubernetes Prow Robot
f229aa0ad6
Merge pull request #75044 from errordeveloper/move-cli-runtime-subpackages
Move printers & resources packages
2019-03-08 05:43:26 -08:00
Bruce Ma
814e1ca73f make describers of different versions work properly when autoscaling/v2beta2 is not supported 2019-03-08 20:29:49 +08: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
Tomas Nozicka
d9e511e261 Generated: Update Bazel 2019-03-07 11:13:10 +01:00
Tomas Nozicka
2e7242aac8 Fix kubectl run watches in waitForPod 2019-03-07 11:12:13 +01:00
Kubernetes Prow Robot
14b671b24b
Merge pull request #71651 from Pingan2017/cronjob-add
add subcommand `kubectl create cronjob`
2019-03-07 01:07:00 -08:00
Maciej Szulik
ee7edb7765
Fix panic in kubectl cp command 2019-03-06 15:43:15 +01:00
Kubernetes Prow Robot
997c981d3b
Merge pull request #74789 from cwdsuzhou/kubectl_invalid
Bugfix: kubectl shows last<invalid> if pv, pod or pvc is terminating using kubectl describe xxxx
2019-03-06 00:44:28 -08:00
Pingan2017
41536d7d02 add subcommand kubectl create cronjob 2019-03-06 15:12:21 +08:00
caiweidong
bdfd420c6d Bugfix: kubectl shows last<invalid> if pv, pod, pvc is terminating
fix describe ut
2019-03-05 14:03:34 +08:00
WanLinghao
1133f24b7a Remove 404 link in kubectl help information 2019-03-01 18:17:08 +08:00
Kubernetes Prow Robot
caaad1be26
Merge pull request #72526 from justinsb/testdata_should_not_be_executable
Remove executable permission from testdata
2019-02-28 20:35:56 -08:00
Maciej Szulik
b4f81285bf
Fix flag template when both visible and explicit flags are specified 2019-02-27 22:35:03 +01:00
Kubernetes Prow Robot
81e6407393
Merge pull request #74140 from Liujingfang1/kflag
add -k flag in cli-runtime and kubectl to process kustomization directories
2019-02-26 19:40:16 -08:00
Kubernetes Prow Robot
be8a9b9637
Merge pull request #74422 from liggitt/client-version-methods
Remove deprecated versionless client interface methods
2019-02-26 12:44:24 -08:00
Kubernetes Prow Robot
e9a8d27bd4
Merge pull request #73266 from awh/kubectl-run-suppress-resource-deletion-messages-when-quiet
kubectl run --quiet suppresses deletion messages
2019-02-26 11:05:21 -08:00
Kubernetes Prow Robot
fc1e528c4a
Merge pull request #72678 from rmohr/cr-autoscale
Add Custom Resource support to "kubectl autoscale"
2019-02-26 11:05:09 -08:00
Jordan Liggitt
d1e865ee34 Update client callers to use explicit versions 2019-02-26 08:36:30 -05:00
Takashi Sasaki
c3838f0efd Add new Japanese translations for kubectl 2019-02-26 12:21:15 +09:00
Kubernetes Prow Robot
1ddfd8ff73
Merge pull request #67573 from m1kola/52218_watching_selectors
Allows to combine the `-f` and `-l` flags in kubectl logs
2019-02-25 18:47:45 -08:00
Jingfang Liu
b38cf738d6 update kubectl subcommand with -k changes 2019-02-25 16:30:50 -08:00
Jingfang Liu
0c026bfac1 add -k flags to kubectl subcommands 2019-02-25 16:30:27 -08:00
Adam Harrison
c9dd2a2a45 kubectl run --quiet suppresses deletion messages
The `--quiet` option should prevent kubectl run from polluting the
output from an attached container - make it apply to the resource
deletion messages caused by `--rm`.
2019-02-25 11:10:07 +00:00
Ilya Dmitrichenko
8c09a71e1d
Refactor core functionality of kubectl drain as a library
- structured pod filter functions
- naming improvements
  - consistent use of daemonSets and DaemonSets
  - rename field to reflect its usage
- new cordon/uncordon helper
  - use Core API client direcly instead of generic CLI runtime
2019-02-25 08:15:07 +00:00
Xiang Dai
36065c6dd7 delete all duplicate empty blanks
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Kubernetes Prow Robot
3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Kubernetes Prow Robot
95e5705faf
Merge pull request #73315 from Zyqsempai/wait-cmd-detailed-output
Added resource name to timeout error output on WAIT cmd
2019-02-22 16:14:37 -08:00
Bobby (Babak) Salamat
453498fe2c Graduate PriorityClass to GA 2019-02-22 10:51:13 -08:00
danielqsj
998147de59 fix shellcheck in pkg/kubectl/cmd/edit/testdata/record_testcase.sh 2019-02-22 15:10:38 +08:00
Kubernetes Prow Robot
651faf2e0d
Merge pull request #74250 from SataQiu/fix-golint-20190219
Fix golint failures on pkg/kubectl/cmd/completion, pkg/kubectl/cmd/cp, pkg/kubectl/cmd/edit
2019-02-21 22:17:36 -08:00
Kubernetes Prow Robot
bad9f6341a
Merge pull request #72137 from YoubingLi/master
Issue 71769: Correctly display '_' in the help message
2019-02-21 03:54:11 -08:00
Jordan Liggitt
f139218ac0 generated files 2019-02-20 23:32:46 -05:00
Jordan Liggitt
8c28d3f63c Add networking.k8s.io/v1beta1 Ingress 2019-02-20 16:41:14 -05:00
Kubernetes Prow Robot
f99728e6f3
Merge pull request #74156 from gaorong/descirbe-mirror-pod
kubectl: fix a bug where "describe" cannot obtain the event messages for a static pod
2019-02-20 03:32:48 -08:00
Kubernetes Prow Robot
b473d5c111
Merge pull request #73201 from YoubingLi/bugfix
Fixes #73077 - Allow to convert type across all version
2019-02-20 02:23:21 -08:00
Kubernetes Prow Robot
e1b8cb515c
Merge pull request #74239 from tossmilestone/fix-dup-container-param
Fix duplicate container query param on exec pod command
2019-02-19 15:06:00 -08:00
SataQiu
e2c1f43551 fix golint failures on pkg/kubectl/cmd/completion pkg/kubectl/cmd/cp pkg/kubectl/cmd/edit 2019-02-19 17:39:39 +08:00
He Xiaoxi
4c8d0a3cd4 Fix duplicate container query param on exec pod command
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-02-19 15:58:43 +08:00
Clayton Coleman
a5ba311260
api: Correct a typo in the API docs for rolling update strategy 2019-02-18 22:46:37 -05:00
qingsenLi
90382d407d delete unused code in proxy_server.go 2019-02-18 13:20:58 +08:00
gaorong
5efbdb02bf fix kubectl describe static pod cann't get event messages 2019-02-16 13:01:06 +08:00
Marek Counts
160ed26c20 autogen files to support new project structure. 2019-02-15 10:29:31 -05:00
Marek Counts
7744f90830 Moved flag and globalflag
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Youbing Li
0756781994 Fixes #73077 - Allow to convert type across all version 2019-02-15 04:03:35 -05:00
Kubernetes Prow Robot
cc09bd971a
Merge pull request #74029 from soltysh/explain_nil2
Add missing VisitArbitrary methods in kubectl explain
2019-02-14 10:25:59 -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
Maciej Szulik
22a3f6de5e
Add missing VisitArbitrary methods in kubectl explain 2019-02-14 13:06:20 +01:00
Kubernetes Prow Robot
d8f0146138
Merge pull request #72214 from caesarxuchao/move-discovery
Move cached discovery clients to their own packages
2019-02-13 23:07:00 -08:00
Kubernetes Prow Robot
a92729a301
Merge pull request #64820 from WanLinghao/ctl_selfsubjectrulesreview_support
Add `kubectl auth can-i --list` option which could help users know what actions they can do in specific namespace
2019-02-12 23:22:23 -08:00
Kubernetes Prow Robot
ce4fd07b06
Merge pull request #71564 from liggitt/reconcile-details
Improve reconcile output to explain what changes are being made
2019-02-12 18:45:13 -08:00
tanshanshan
e959d477bb fix cp time stamp is in the future error 2019-02-13 09:47:47 +08:00
Kubernetes Prow Robot
66149bd61d
Merge pull request #73033 from Liujingfang1/kustomizeSubcommand
add kustomize as a subcommand in kubectl
2019-02-12 15:10:36 -08:00
Chao Xu
1f2e2e61cf generated 2019-02-12 15:04:57 -08:00
Chao Xu
3f21ca029a changing imports 2019-02-12 10:06:04 -08:00
Dr. Stefan Schimanski
618050e35d client-go: extend discovery intf with ServerGroupsAndResources 2019-02-12 14:28:19 +01:00
odino
5d372e2e4e Attaching owner references to jobs create via "--from=cronjob/xyz" 2019-02-12 11:12:22 +04:00
Jingfang Liu
8d6ab20753 add kustomize as a subcommand in kubectl 2019-02-11 16:43:57 -08:00
Davanum Srinivas
1d430a4a73
Remove unnecessary prefixes from various .import-restrictions files
Found using script:
https://gist.github.com/dims/384dea60754042f61d79233603034038

Just run using:
`find . -name .import-restrictions | xargs python ~/junk/sanitize-import-boss.py`

The removed entries are either packages that got moved/renamed/deleted
but are still not cleaned up from .import-restrictions files.

Change-Id: I92c400f74e6f012cc75539311ed4de280e25e918
2019-02-11 16:47:28 -05:00
Nikolaos Moraitis
6e820cdcaf replace loops with go idiomatic. 2019-02-11 11:21:52 +01:00
Kubernetes Prow Robot
69cf2684bb
Merge pull request #73669 from WanLinghao/add_get_case
Add a case to illustrate how to use `kubectl get -o custom-columns`
2019-02-10 20:47:26 -08:00
Youbing Li
373c42d1c5 Issue 71769: Correctly display '_' in the help message 2019-02-10 20:45:06 -05:00
Mikalai Radchuk
4ee2010111 Fixes address parsing in port-forward
The rules for address parsing are:

* Explicitly specified addresses must bind successfully
* `localhost` is pinned to `127.0.0.1` and `::1` and at least one of those must bind successfully

This change also makes output of the command consistent
between runs with the same arguments.
Previously the command was using the range via map of addresses
which sometimes was producing different output because the order
of values is not guaranteed in Go.
2019-02-10 12:48:52 +00:00
WanLinghao
4a1a2c9017 Add a case to illustrate how to use kubectl get -o custom-columns 2019-02-10 14:42:13 +08:00
Kubernetes Prow Robot
37a402a3bc
Merge pull request #72806 from zgfh/patch-3
fix typo "udp" -> "UDP"
2019-02-08 13:14:15 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
bpopovschi
892f15d9a2 Added resource name to timeout error output on WAIT cmd 2019-02-08 18:10:43 +02:00
juanvallejo
e8df247597
fix --local panic in set commands 2019-02-07 16:56:32 -05:00
Roman Mohr
c9479990b3 Add Custom Resource support to "kubectl autoscale"
Generalize the autoscsale command to simply let the dynamic client check
if a scale subresource is registered for the supplied type. This allows
using the autoscale command for built in types as well as custom
resources.
2019-02-07 12:28:59 +01:00
Maciej Szulik
3f3316be31
Deprecate --export flag from get command 2019-02-06 15:04:57 +01:00
Kubernetes Prow Robot
fcb0d60d4c
Merge pull request #73716 from deads2k/delete-all
add --all-namespaces to kubectl delete
2019-02-06 01:20:15 -08:00
David Eads
66b1f5ba67 add --all-namespaces to 2019-02-05 13:37:14 -05:00
Roy Lenferink
a18371964a Generated bindata.go 2019-02-05 19:00:39 +01:00
Antoine Pelisse
b55417f429 Plugin FieldManager in CRD handler, change to API 2019-02-04 13:51:49 -08:00
Antoine Pelisse
0e1d50e70f API Machinery, Kubectl and tests 2019-02-04 13:51:48 -08:00
Roy Lenferink
b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot
9d6ebf6c78
Merge pull request #73467 from ashishranjan738/newpackage
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
2019-02-04 11:43:14 -08:00
Kubernetes Prow Robot
6ea70a036e
Merge pull request #73694 from soltysh/rename_polymorphichelper
Rename AttachableLogsForObjectFunc -> AttachablePodForObjectFunc to better reflect its purpose
2019-02-04 08:24:02 -08:00
Kubernetes Prow Robot
b4a02c359b
Merge pull request #71746 from rctl/rctl-wait-all
Add support for waiting by label selector or on all resources
2019-02-04 06:21:00 -08:00
Maciej Szulik
0a04bbbd92
Rename AttachableLogsForObjectFunc -> AttachablePodForObjectFunc to better reflect its purpose 2019-02-04 13:18:02 +01:00
Ashish Ranjan
7be223e798 Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
Kubernetes Prow Robot
1d4861ee3d
Merge pull request #71397 from liggitt/reconcile-doc
Clarify reconcile command documentation
2019-02-03 12:02:35 -08:00
Rasmus Jönsson
4c31e9855d Add support for waiting by label selector or on all resources
Add test for multiple deletions in kubectl watch
2019-02-02 16:26:00 +01:00
Kubernetes Prow Robot
8e05f0904b
Merge pull request #73642 from juanvallejo/jvallejo/allow-reusability-plugins-handler
allow re-usability of plugin handler
2019-02-01 16:02:19 -08:00
Kubernetes Prow Robot
c65198ffb0
Merge pull request #61468 from tianshapjq/remove-consts-element.go
clean code
2019-02-01 14:31:30 -08:00
juanvallejo
0257a2bcee
allow re-usability of plugin handler, allow support for multiple valid plugin filename prefixes 2019-02-01 16:17:47 -05:00
Kubernetes Prow Robot
b8b0dbcb7d
Merge pull request #73599 from tedyu/master
Add ps1 to windows executable extensions
2019-02-01 06:32:01 -08:00
Kubernetes Prow Robot
a3f74bd583
Merge pull request #72872 from arjunrn/object-average-value
Added functionality for specifying target average value for object me…
2019-02-01 06:31:50 -08:00
Kubernetes Prow Robot
ad58fb1ea0
Merge pull request #73542 from juanvallejo/jvallejo/log-missing-dir-errors
make missing-directory errors non fatal
2019-02-01 04:45:12 -08:00
Ted Yu
9e227af65c Add ps1 to windows executable extensions 2019-01-31 09:21:01 -08: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
Kubernetes Prow Robot
1f7e9fd9a2
Merge pull request #73488 from andrewsykim/replace-utils-file
Replace pkg/util/file with k8s.io/utils/path
2019-01-30 17:50:16 -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
juanvallejo
de015167a9
make missing-directory errors non fatal 2019-01-30 15:45:32 -05:00
Danny Shemesh
aae1944a07 Added windows executable extensions to Kubectl plugins
Currently, the kubectl plugins system - when running under Windows - will determine that a plugin is executable
by looking at its extension, comparing it to '.exe'.

I think we should allow plugins w/ a few more known extensions (.bat, .com, .cmd; for example) -
This would give more of a similar experience to plugins under *nix, where shell scripts are often used.

Moreover, there were two windows-specific behaviors that were redundant,
which I've removed:

1. In plugin.go - There's no need to differentiate between windows and
under OS-es when looking at the PATH variable; It can be refered as 'PATH'
in Windows as well

2. In cmd.go - There's no need to append a suffix when looking up
plugins on windows; One can safely use 'exec.LookPath' without a suffix
on Windows - and get automatic resolving for known executable types
2019-01-30 19:24:16 +02:00
Andrew Kim
84191eb99b replace pkg/util/file with k8s.io/utils/path 2019-01-29 15:20:13 -05:00
Kubernetes Prow Robot
a5e424dc17
Merge pull request #72923 from saschagrunert/dedent-update
Update dedent to latest release
2019-01-25 18:32:23 -08:00
Jordan Liggitt
89b0b0b84b Clean up initializer-related comments, test data 2019-01-25 12:37:45 -05:00
Kubernetes Prow Robot
408d4c0cb8
Merge pull request #72588 from prksu/kubectl-config-set-example
Add kubectl config set example
2019-01-25 06:41:31 -08:00
Ahmad Nurus S
69ad3dbeb7 Add kubectl config set example 2019-01-25 20:21:24 +07: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
Andrew Kim
2ea82cea20 replace pkg/util/nsenter with k8s.io/utils/nsenter 2019-01-24 13:49:04 -05:00
Andrew Kim
123590d911 replace pkg/util/io with k8s.io/utils/io 2019-01-24 13:49:04 -05:00
Kubernetes Prow Robot
9ecce4fdcf
Merge pull request #72641 from dixudx/cp_file_wildcard
kubectl supports copying files with wild card
2019-01-24 10:37:15 -08: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
Kubernetes Prow Robot
b18fc08ca7
Merge pull request #73153 from WanLinghao/apply_dry_run_warning
Add warning info against `kubectl apply --dry-run` which direct people use --server--dry-run instead
2019-01-24 02:56:18 -08:00
ds-ms
0417d23a4c Fix linting issues in pkg/kubectl/cmd/version
Signed-off-by: ds-ms <desattir@microsoft.com>
2019-01-24 12:26:15 +05:30
WanLinghao
66931c57e8 Add warning info against kubectl apply --dry-run which direct people use --server--dry-run instead 2019-01-24 13:18:50 +08:00
Jordan Liggitt
1a15d80967 generated 2019-01-23 16:34:44 -05:00
Jordan Liggitt
17aa60686e Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options 2019-01-23 16:34:43 -05:00
Arjun Naik
c99d505001 Added functionality to use target average value for object metrics
Signed-off-by: Arjun Naik <arjun.rn@gmail.com>
2019-01-23 21:00:05 +01:00
Jordan Liggitt
dc1fa870bf Remove alpha InitializerConfiguration types, Initializers admission plugin 2019-01-23 11:37:39 -05:00
Kubernetes Prow Robot
e8a10abd31
Merge pull request #72605 from WanLinghao/port_forward_description_improve
Improve portforward command's description
2019-01-22 13:40:56 -08:00
Kubernetes Prow Robot
2300d7d923
Merge pull request #73144 from juanvallejo/jvallejo/deduplicate-user-path
add PATH de-duplication when searching for plugins
2019-01-22 08:46:01 -08:00
Di Xu
6576e1f790 kubectl supports copying files with wild card 2019-01-22 15:56:13 +08:00
Di Xu
37b9bd36f7 rename temp variable filepath to fpath 2019-01-22 15:48:53 +08:00
Kubernetes Prow Robot
0a7d8ec6cc
Merge pull request #73035 from juanvallejo/jvallejo/make-apiresource-discovery-nonfatal
make api-resource discovery errors non-fatal
2019-01-21 14:20:43 -08:00
juanvallejo
7f0303faf2
update bazel 2019-01-21 14:16:16 -05:00
juanvallejo
dbf9aa5009
add PATH de-duplication when searching for plugins 2019-01-21 13:00:42 -05:00
Mikalai Radchuk
2a230cc119 Allows to read from multiple logs simultaneously
Which makes possible to combile the `-f` and `-l` flags in kubectl logs
2019-01-20 13:50:22 +00:00
Kubernetes Prow Robot
9d58c8fbcf
Merge pull request #71117 from dixudx/read_kubeconfig_once
loads kubeconfig only once
2019-01-19 02:25:26 -08:00
WanLinghao
d4f5228b81 Add kubectl auth can-i --list option which could help users know what actions they can do in specific namespace. 2019-01-19 15:58:44 +08:00
juanvallejo
23d52b4829
update bazel 2019-01-18 17:28:09 -05:00
Kubernetes Prow Robot
2540969b64
Merge pull request #73024 from soltysh/fix_createjob
Image is a required parameter
2019-01-17 17:11:49 -08:00
juanvallejo
b20a8c6b04
make api-resource discovery errors non-fatal 2019-01-17 13:58:45 -05:00
Maciej Szulik
2f59dd752c Image is a required parameter 2019-01-17 15:58:41 +01:00
Kubernetes Prow Robot
af31a202ea
Merge pull request #72276 from vithati/users/vithati/kubectlissue503
Allow setting images for 'InitContainers' through kubectl set command.
2019-01-17 05:18:04 -08:00
Kubernetes Prow Robot
9cc39a5614
Merge pull request #69279 from dtaniwaki/print-size-limit
Print SizeLimit of EmptyDir
2019-01-17 04:06:31 -08:00
Sascha Grunert
ba7aaa911d
Update dedent to latest release
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-01-17 08:30:07 +01:00
Zhao Yuwei
1a2b4fb60f word
Signed-off-by: Zhao Yuwei <zhaoyw-fnst@cn.fujitsu.com>
2019-01-16 17:00:10 +08:00
Kubernetes Prow Robot
7a8ac58756
Merge pull request #72924 from liggitt/remove-swagger
Remove swagger 1.2, swagger-ui
2019-01-15 20:19:20 -08:00
Kubernetes Prow Robot
ce19aad22b
Merge pull request #70527 from qingsenLi/git181101
remove repetitive word in annotation
2019-01-15 20:19:09 -08:00
WanLinghao
71bf483618 Improve portforward command's description which hint the requirment of 'socat' command 2019-01-16 09:24:23 +08:00
Jordan Liggitt
ef4983fb52 Update generated files 2019-01-15 13:33:06 -05:00
Jordan Liggitt
9229399bd6 Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 13:33:06 -05:00
Kubernetes Prow Robot
1d8960798b
Merge pull request #72142 from hchenxa/hchenxa
only use system namespace when default backend not defined
2019-01-15 07:17:43 -08:00
Kubernetes Prow Robot
08bee2cc84
Merge pull request #72825 from liggitt/wait-resource-version
Find current resourceVersion for waiting for deletion/conditions
2019-01-11 13:37:05 -08:00
Jordan Liggitt
c12d8a56f8 Find current resourceVersion for waiting for deletion/conditions 2019-01-11 15:24:05 -05:00
Alan
45e332c1fd
fix typo "udp" -> "UDP" 2019-01-11 13:25:44 +08:00
Vikranth Thati
f72072cd60 Allow setting images for initContainers through kubectl set command. 2019-01-10 22:28:26 +05:30
Thomas Hartland
1bcab05f7d Dereference number of replicas in describe statefulset 2019-01-10 14:56:18 +01:00
Kubernetes Prow Robot
1edd44bbe3
Merge pull request #72448 from nak3/attach-completion
Fix wrong completion for kubectl attach
2019-01-07 17:56:14 -08:00
Kubernetes Prow Robot
1831babae8
Merge pull request #72352 from liggitt/prune-apps-v1
Prune apps/v1 resources
2019-01-04 14:09:41 -08:00
Kubernetes Prow Robot
62e8a1bf40
Merge pull request #71313 from wozniakjan/kubectl/fix_pv_describe_openstack
kubectl: fix PV describe output for Cinder
2019-01-04 06:39:45 -08:00
Justin SB
19a5528a65
Remove executable permission from testdata 2019-01-03 12:21:31 -05:00
Jordan Liggitt
2b1a2d361f Use tabwriter with remembered column widths 2019-01-01 22:27:36 -05:00
Kenjiro Nakayama
f7aca76bac Fix wrong completion for kubectl attach
Although `kubectl attach POD_NAME <tab>` completes container name,
kubectl attach needs `-c` option so the command causes error as:

```
$ kubectl attach nginx-7cdbd8cdc9-b5rhr nginx
error: the server doesn't have a resource type "nginx-7cdbd8cdc9-b5rhr"
```

This patch changes the completion to the same way as `kubectl exec`.
2018-12-31 13:34:56 +09:00
Jordan Liggitt
9186a81489 Prune apps/v1 resources 2018-12-27 00:44:09 -05:00
Kubernetes Prow Robot
dfaf10f469
Merge pull request #72321 from Pingan2017/kubectl-config-type
code cleanup for kubectl config
2018-12-26 13:19:48 -08:00
Jordan Liggitt
e243e646fc Fix create secret docker-registry compatibility 2018-12-26 11:11:29 -05:00
Pingan2017
672cad60e9 code cleanup for kubectl config 2018-12-25 15:24:57 +08:00
Kubernetes Prow Robot
e2f2ca2b29
Merge pull request #70599 from caesarxuchao/kubectl-wait-all
Enable --all flag for kubectl wait
2018-12-21 20:19:21 -08:00
Kubernetes Prow Robot
6da32b078f
Merge pull request #72006 from soltysh/allnamespaces_shorthand
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:13:40 -08:00
Jordan Liggitt
0ff455e340 generated files 2018-12-19 11:19:12 -05:00
Jordan Liggitt
fd9e9b01b1 Remove uses of extensions/v1beta1 clients 2018-12-19 11:18:53 -05:00
Weibin Lin
842bd1e1ec update deployment, daemonset, replicaset, statefulset to apps/v1 2018-12-19 10:46:45 -05:00
Maciej Szulik
885bed15da Introduce -A as a shorthand for --all-namespaces in kubectl 2018-12-19 14:37:43 +01:00
Hui Chen
c06194337c only use system namespace when default backend not defined 2018-12-18 14:10:16 +08:00
Kubernetes Prow Robot
483dfc4902
Merge pull request #71934 from annehwatson/typo
Fix typo
2018-12-12 16:02:37 -08:00
Kubernetes Prow Robot
05183bffe5
Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
Antoine Pelisse
95eec905c7 diff: Make filename cross-platform compatible 2018-12-11 15:36:26 -08:00
Antoine Pelisse
b6135f63aa diff: Fix overlapping filenames
The filename can overlap when multiple resources have the same name (but
obviously are of a different type). Include the name of the type in the
file name to prevent the overlap.
2018-12-11 09:19:52 -08:00
annehwatson
0a8a07f666 Fix typo 2018-12-10 20:16:17 -08:00
yuexiao-wang
f3353c358d [scheduler cleanup phase 2]: Rename to
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Kubernetes Prow Robot
9a9497d7af
Merge pull request #71854 from apelisse/fix-dryrun-detection
apply: fix detection of non-dry-run enabled servers
2018-12-07 16:52:12 -08:00
Kubernetes Prow Robot
e94befab0a
Merge pull request #71844 from soltysh/describe_cronjob
Add failed and successful history limits to cronjob describe
2018-12-07 13:14:28 -08:00
Antoine Pelisse
f9ca4aafc6 apply: fix detection of non-dry-run enabled servers
Apply only checks that the server supports dry-run in the create path,
not the update path, which is pretty bad.
2018-12-07 10:54:03 -08:00
Kubernetes Prow Robot
1a82272782
Merge pull request #71684 from danielqsj/typo-fix
Fix typos like limitting
2018-12-07 07:58:09 -08:00
Maciej Szulik
14aa4b8c73 Add failed and successful history limits to cronjob describe 2018-12-07 14:34:54 +01:00
Di Xu
4b524ef995 kubectl loads config file once and uses persistent client config 2018-12-07 15:41:40 +08: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
danielqsj
3c055aa4b4 Fix typos like limitting 2018-12-04 11:01:40 +08:00
Kubernetes Prow Robot
dde084fc55
Merge pull request #71553 from WanLinghao/token-projected-volume-fix
fix a bug in 'kubectl describe'
2018-12-02 22:44:15 -08:00
Jordan Liggitt
74ecf8d978 Improve reconcile output to explain what changes are being made 2018-11-29 10:55:38 -05:00
WanLinghao
a8639e5b93 Before this patch, the projected volume in kubectl describe command looks like:
...
    Volumes:
      kube-api-access-jp24b:
        Type:                    Projected (a volume that contains injected data from multiple sources)
        TokenExpirationSeconds:  0xc00071bee0
    ...

After this patch, it looks like:
    ...
    Volumes:
      kube-api-access-jp24b:
        Type:                    Projected (a volume that contains injected data from multiple sources)
        TokenExpirationSeconds:  3600
    ...
2018-11-29 17:06:47 +08:00
k8s-ci-robot
b385742d8f
Merge pull request #70127 from dtaniwaki/print-sub-path
Fix SubPath printing
2018-11-28 23:31:31 -08:00
k8s-ci-robot
64b96d426a
Merge pull request #69885 from clickyotomy/master
Fix local copy path for `kubectl cp'.
2018-11-28 23:31:21 -08:00
Jordan Liggitt
2fd10764c8 Clarify reconcile command documentation 2018-11-27 23:27:15 -05:00
Daisuke Taniwaki
deeb4c1403
Print sizeLimit 2018-11-27 12:11:59 +09: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
28182b6606
Merge pull request #71156 from apelisse/race-condition-diff
Optimistic-locking on diff
2018-11-21 03:35:04 -08:00
Jan Wozniak
be8eeaa5e6 kubectl: fix PV describe output for Cinder 2018-11-21 11:11:22 +01:00
Antoine Pelisse
a889f37505 Optimistic-locking on diff
There is currently a race-condition when diffing, where we get the
object and then run a server-side dry-run patch and compare the two
results. If something changes the object on the server between the get
and the patch, the diff is going to show unrelated changes. We can now
specify the exact revisionversion that we want to patch, and that will
return a conflict, and we can retry multiple times to get a
non-conflicting diff. Eventually (after 3 times), we diff without
checking the version and throw a warning that the diff might be
partially wrong.
2018-11-20 14:34:37 -08:00
Antoine Pelisse
89daa462ff Allow kubectl patcher to patch specific version
Give a new "ResourceVersion" option to the patch so that the patch can
be forced against a specific version. Also there is no way to customize
how many retries the patcher should do on conflicts, so also add a
"Retries" option that let's one customize it.
2018-11-20 14:34:08 -08:00
k8s-ci-robot
e26b730143
Merge pull request #71103 from Pingan2017/autoscale-sts-kubectl
support statefulset in kubectl autoscale command
2018-11-16 12:03:51 -08:00
k8s-ci-robot
1b059e577c
Merge pull request #71101 from seans3/qos-resource-fix
kubectl: small internal to external type fix
2018-11-16 12:03:41 -08:00
Daisuke Taniwaki
49d762d929
Fix SubPath printing 2018-11-17 01:41:44 +09:00
k8s-ci-robot
7c4d097faf
Merge pull request #71104 from yue9944882/chore/follow-up-cli-describer-externalization
Follow-up of #70950: Duplicated versioned client in describer
2018-11-16 07:34:39 -08:00
k8s-ci-robot
1cdc918e11
Merge pull request #70728 from Pingan2017/remove-kubectl-run-container
Remove deprecated kubectl command aliases 'run-container'
2018-11-16 01:53:11 -08:00
zuoxiu.jm
5ede82cdc7 fixes duplicated describer client 2018-11-16 11:30:05 +08:00
Pingan2017
c3bb1c4601 support statefulset in kubectl autoscale command 2018-11-16 10:42:39 +08:00
Sean Sullivan
6a57de315d kubectl: small internal to external type fix 2018-11-15 16:45:17 -08:00
k8s-ci-robot
e615df9d23
Merge pull request #70950 from yue9944882/chore/prune-cli-describer-internal
Use versioned types in kubectl describer
2018-11-15 15:00:12 -08:00
k8s-ci-robot
7cf211d7de
Merge pull request #69196 from CaoShuFeng/job.yaml
fix kubectl wait with no resource name provided
2018-11-15 14:59:42 -08:00
zuoxiu.jm
da9387131e prune internal clients from kubectl describer 2018-11-16 00:11:10 +08:00
k8s-ci-robot
012a438dbe
Merge pull request #68655 from goodluckbot/kubectl-cordon-drain-uncordon
Support multiple arguments for cordon and drain
2018-11-14 20:34:48 -08:00
k8s-ci-robot
4c4a76557d
Merge pull request #70956 from apelisse/add-diff-test
Add test for CRD server-dry-run and fix bug
2018-11-13 19:45:53 -08:00
k8s-ci-robot
54243e1921
Merge pull request #69344 from zegl/improve-kubectl-apply-prune-output
Fix dry-run output in kubectl apply --prune
2018-11-13 19:45:34 -08:00
k8s-ci-robot
d00cb23c8d
Merge pull request #71006 from liggitt/kubectl-run-apps-v1
update kubectl run to generate apps/v1 deployments
2018-11-13 16:14:23 -08:00
k8s-ci-robot
709e6ac3e2
Merge pull request #70413 from Pingan2017/kubectl-config-view
validate args for kubectl config view
2018-11-13 16:13:45 -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
Jordan Liggitt
03f26e4612 update kubectl run to generate apps/v1 deployments 2018-11-13 14:39:25 -05: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
Antoine Pelisse
d3d4d268ac Add test for CRD server-dry-run and fix bug
Add a new test to make sure we can server-dry-run CRDs and also fix a
typo now that we have a test, we could notice that it doesn't work.
2018-11-12 11:06:27 -08:00
goodluckbot
df31468ce7 Support multiple arguments for cordon and drain 2018-11-12 00:28:36 +08:00
Gustav Westling
37c253aba1 Fix the TestRunApplyPrintsValidObjectList test
The fake webclient should return one ConfigMap per request, not the whole ConfigMapList

Also added additional tests to the output
2018-11-11 15:19:29 +01:00
Gustav Westling
74e63c8f00 Fix dry-run output in kubectl apply --prune
Makes dry-run output match what would happen when running in non dry-run mode.

Objects would only get added to visitedUids if running in non dry-run mode.

visitedUids is used by prune() to know if an action should be taked on the item or not.

Fixes #67863
2018-11-11 15:06:38 +01: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
k8s-ci-robot
7872a1db2f
Merge pull request #70856 from lojies/cleanuptaint
code cleanup for kubectl taint
2018-11-10 00:14:22 -08:00
k8s-ci-robot
2dcdad297e
Merge pull request #70883 from seans3/printing-test-remove
kubectl: remove redundant test
2018-11-09 16:23:13 -08:00
Sean Sullivan
c814f61510 kubectl get: remove internal resource dependency 2018-11-09 11:33:11 -08:00
Sean Sullivan
6b0f66d864 kubectl: remove redundant test 2018-11-09 11:12:20 -08:00
lojies
e3d69d8c33 code cleanup for kubectl taint 2018-11-09 16:22:00 +08:00
Sean Sullivan
62ec499d6f kubectl convert: add deprecation warning for 1.13 2018-11-08 11:50:49 -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
Davanum Srinivas
43f523d405
Switch to sigs.k8s.io/yaml from ghodss/yaml
Change-Id: Ic72b5131bf441d159012d67a6a3d87088d0e6d31
2018-11-07 13:17:32 -05:00
k8s-ci-robot
1f56cd801e
Merge pull request #70713 from deads2k/kubectl-15-wait
kubectl version should print just client information in the absence of kubeconfig
2018-11-07 09:06:18 -08:00
Pierre
3b6d8e8373 Fix index out of range error when sorting kubectl get 2018-11-07 11:52:39 +01:00
Pingan2017
07696b6014 Remove deprecated kubectl command aliases kubectl run-container 2018-11-07 14:22:20 +08:00
David Eads
4efb020860 kubectl version should print just client information in the absence of kubeconfig 2018-11-06 16:25:39 -05:00
Jordan Liggitt
9ae79f9653 authorizers subproject approvers/reviewers 2018-11-06 00:57:38 -05:00
k8s-ci-robot
5656ac754d
Merge pull request #70577 from WanLinghao/kubectl_logs_fix
fix a bug that --tail option does not take effects in 'kubectl logs --selector xx=xx --tail 3'
2018-11-05 16:32:53 -08:00
k8s-ci-robot
8fe6eb3076
Merge pull request #70420 from idealhack/fix-golint-pkg-kubectl
Fix some golint errors for packages in `pkg/kubectl`
2018-11-05 06:53:55 -08:00
Ibrahim Mbaziira
dba032d5e7
improve sorting efficiency 2018-11-05 14:13:37 +03:00
Chao Xu
3873d828bc enable --all flag for kubectl wait 2018-11-02 14:10:37 -07:00
Sean Sullivan
68cea87cfd kubectl: remove unnecessary internal->external conversion before PrintObj 2018-11-02 10:03:52 -07:00
WanLinghao
ea7065d471 fix a bug that --tail option does not take effects in 'kubectl logs --selector xx=xx --tail 3' 2018-11-02 18:20:58 +08:00
Pingan2017
f824b58ba2 validate args for kubectl config view 2018-11-02 16:17:43 +08:00
Yang Li
3d0c961d57 Fix some golint errors for packages in pkg/kubectl
- Fix some golint errors for `pkg/kubectl`
- Fix a golint error for `pkg/kubectl/apps`
- Fix all golint errors for `pkg/kubectl/cmd`
- Fix some golint errors for `pkg/kubectl/generate/versioned`
- Fix a golint error for `pkg/kubectl/generate`
- Fix some golint errors for `pkg/kubectl/metricsutil`
- Fix all golint errors for `pkg/kubectl/util`
- Fix all golint errors for `pkg/kubectl/util/slice`
2018-11-02 11:55:40 +08:00
k8s-ci-robot
bce51cc574
Merge pull request #70412 from Pingan2017/kubectl-top
code cleanup for kubectl top
2018-11-01 15:17:55 -07:00
qingsenLi
3ac9b27b2a remove repetitive word in annotation 2018-11-02 00:54:41 +08:00
Sean Sullivan
1e161bb329 kubectl: change legacyscheme codecs to direct codecs (no conversion) 2018-10-31 15:24:22 -07:00
Sean Sullivan
d5865240c5 kubectl: fixes expose bug for workload without selectors 2018-10-30 19:27:10 -07:00
k8s-ci-robot
d7de3e5369
Merge pull request #70428 from vithati/users/vithati/kubectlissue546
Fix for the 'kubectl explain crd --recursive' goes into an infinite loop issue
2018-10-30 17:41:23 -07:00
Vikranth Thati
05a461c17b Fix for the 'kubectl explain crd --recursive' goes into an infinite loop issue 2018-10-31 03:30:46 +05:30