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
juanvallejo
901c798681
prevent sorting of PATH dirs
...
This patch allows the `kubectl plugin list` command to display discovered
plugin paths in the same order as they appear in a user's PATH.
Prior to this patch, discovered plugin paths were sorted before being
displayed.
Additionally, any errors encountered while reading from any directory in a
user's PATH will now be printed to stderr at the end of the command's
output.
2018-10-30 14:13:13 -04:00
Pingan2017
eea9994112
code cleanup for kubectl top
2018-10-30 15:01:24 +08:00
k8s-ci-robot
975e6c0a73
Merge pull request #70039 from liggitt/deployment-rollback
...
Switch kubectl rollout to directly rolling back deployments
2018-10-29 18:52:51 -07:00
Jordan Liggitt
57df11bc0f
Switch kubectl rollout to directly rolling back deployments
2018-10-26 23:48:44 -04:00
k8s-ci-robot
117c6177c4
Merge pull request #70278 from jhvhs/master
...
Documentation re-formatting
2018-10-26 13:32:00 -07:00
Maciej Szulik
fdcd6de9c0
Update deprecation warning for kubectl run
2018-10-26 16:22:33 +02:00
Konstantin Semenov
84ba7e8f69
Documentation re-formatting
...
The closing bracket in the link was automatically included in the link HREF.
Myself and @lurraca used standard markdown formatting to prevent that from happening.
2018-10-26 11:32:36 +01:00
k8s-ci-robot
b6fd5d93b2
Merge pull request #69389 from smarterclayton/wait_error
...
kubectl wait must handle errors returned by watch
2018-10-25 09:40:41 -07:00
k8s-ci-robot
dad07683b1
Merge pull request #69013 from ibrasho-forks/switch-to-http.Error
...
Update usages of http.ResponseWriter.WriteHeader to use http.Error
2018-10-23 15:31:55 -07:00
k8s-ci-robot
1af393d58e
Merge pull request #69866 from xichengliudui/fix181016
...
Remove duplicate words
2018-10-22 15:35:36 -07:00
k8s-ci-robot
34196ac946
Merge pull request #69692 from seans3/deployment-util-fix
...
kubectl: copy deployment util dependency into kubectl
2018-10-19 06:07:40 -07:00
k8s-ci-robot
d8f9b5b668
Merge pull request #69958 from Pingan2017/cleanup-kubectl-delete
...
remove unneed if block for kubectl delete command
2018-10-18 19:50:53 -07:00
k8s-ci-robot
85e460e362
Merge pull request #69809 from sc14aec/create-context-error-messages
...
Fix error messages suggesting invalid flag
2018-10-18 19:50:43 -07:00
k8s-ci-robot
34db40fbf5
Merge pull request #67930 from AdamDang/patch-15
...
Fix the returned messaged: statefullset->statefulset
2018-10-18 18:39:03 -07:00
k8s-ci-robot
007ad9179c
Merge pull request #69760 from Pingan2017/validate-args
...
validate args for kubectl api-versions/api-resources command
2018-10-18 14:44:00 -07:00
k8s-ci-robot
00dd32b167
Merge pull request #69573 from bjhaid/master
...
Opt out of chowning and chmoding from kubectl cp.
2018-10-18 14:43:49 -07:00
Sean Sullivan
ffd4ea963d
kubectl: copy deployment util dependency into kubectl
2018-10-18 12:02:39 -07:00
k8s-ci-robot
4d66eeb922
Merge pull request #69709 from seans3/kubectl-translate-fix
...
kubectl: move translated data into kubectl
2018-10-18 10:25:18 -07:00
bjhaid
44bed94f0e
Opt out of chowning and chmoding from kubectl cp.
...
`kubectl cp` relies on tar to extract the copied file/directory in the
container, tar by default attempts to chown/chmod the extracted file
after extraction if the user is the "superuser"(root)
```
--same-owner
try extracting files with the same ownership as exists in the archive
(default for superuser)
-p, --preserve-permissions, --same-permissions
extract information about file permissions (default for superuser)
```
This fails in environment where the container runs as root but is not
granted the OWNER or CHOWN capability.
Before this patch below was the behavior of `kubectl cp`
```
kubectl cp README.md foo-67b6fcbd4c-qjlt6:/tmp
tar: README.md: Cannot change ownership to uid 1000, gid 1000: Operation
not permitted
tar: Exiting with failure status due to previous errors
command terminated with exit code 2
kubectl exec -it foo-67b6fcbd4c-qjlt6 -- ls -l /tmp/README.md
-rw------- 1 1000 1000 3179 Oct 7 22:00 /tmp/README.md
```
After this patch
```
kubectl cp -x a foo-67b6fcbd4c-qjlt6:/
kubectl exec -it foo-67b6fcbd4c-qjlt6 -- ls -l /tmp/README.md
-rw-r--r-- 1 root root 3179 Oct 7 22:00 /tmp/README.md
```
2018-10-18 14:16:06 +00:00
Pingan2017
797f0ac660
remove unneed if block for kubectl delete command
2018-10-18 11:33:45 +08:00
Sean Sullivan
b7f8369da2
kubectl: move translated data into kubectl
2018-10-17 10:34:21 -07:00
Sean Sullivan
a76b6ee56a
kubectl: remove internalclientset dependency
2018-10-17 10:23:55 -07:00
k8s-ci-robot
0d6f6a680b
Merge pull request #68441 from smarterclayton/describe_dependency
...
Move versioned generators into their own package
2018-10-17 04:24:06 -07:00