Douglas Schilling Landgraf
bafd13fd9f
kubectl: allow users to use args with KUBECTL_EXTERNAL_DIFF
...
Currently, if users try to use external diff command with arguments
will fail because the entire command won't be available through $PATH.
This patch allow users to use external diff tools with args (or not)
via KUBECTL_EXTERNAL_DIFF env.
Reference: https://github.com/kubernetes/kubectl/issues/937
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Kubernetes-commit: a6158c01b9add5b580059d24cb66e54c37ea2531
2020-10-04 23:29:27 -04:00
Kubernetes Publisher
35a99657d6
Merge pull request #91934 from SataQiu/fix-kubectl-20200609
...
kubectl: improve the warning message when doing kubectl apply to the resource without expected annotation
Kubernetes-commit: d8185e583bf342b4afa25128aa8dc73f19933c2c
2020-10-04 04:27:43 +00:00
Kubernetes Publisher
1c974c079f
Merge pull request #93901 from jpbetz/atomic-structs
...
Treat LabelSelectors as atomic by Server Side Apply to fix #92913
Kubernetes-commit: 90c9f7b3e198e82a756a68ffeac978a00d606e55
2020-10-04 00:33:39 +00:00
Kubernetes Publisher
265a8df785
Merge pull request #94896 from wawa0210/fix-92383
...
Support kubectl alpha debug default image imagePullPolicy set by the image tag
Kubernetes-commit: 1ebf64d343ed6ec008d26a01aeebe9dab5aecc0c
2020-10-04 00:33:36 +00:00
Kubernetes Publisher
507eb9896b
Merge pull request #95180 from SaiHarshaK/staticcheck_kubectl_get
...
fix staticcheck for kubectl pkg files
Kubernetes-commit: 0d1ac16ca48ba1d2fd9b894deeb328d3f6122c1f
2020-10-03 20:29:12 +00:00
Bob Killen
1e1b8af18b
kubectl: Update triage/support label references to kind/support
...
The label triage/support has been reclassified as kind/support. The
kind/* family of labels makes more logical sense, as they describe the
"kind" of thing an issue or PR is.
For more information, see the announcement email:
https://groups.google.com/g/kubernetes-dev/c/YcaJpsjjLKw/m/i15cLLx5CAAJ
Kubernetes-commit: c761a343cbda0e92644f66cb03cada8ae0fd39d2
2020-10-03 09:32:33 -04:00
Kubernetes Publisher
c1df07341a
Merge pull request #95202 from rikatz/remove-master-clusterinfo
...
Change kubectl clusterinfo to non offensive words
Kubernetes-commit: bf9354d8cc8ec7582c296c104563ca99d4a41b00
2020-10-03 00:28:22 +00:00
Sai Harsha Kottapalli
58a00a6dde
Remove the dependency between create quota command and generators
...
Kubernetes-commit: 0222f2d033e8bef5e9b0657cf50e1bcd39b43a57
2020-10-03 03:04:09 +05:30
Amanda Hager Lopes de Andrade Katz
587d894118
Fixes high CPU usage in kubectl drain
...
Kubernetes-commit: de9c2c2090bbf66943022e902868a5457410af90
2020-10-02 16:02:12 -03:00
Martin Schimandl
66944ff3b5
remove generator from service in kubectl
...
Kubernetes-commit: 12a58f3f15a428111d8053a577ac3d21d229a81b
2020-10-02 18:16:28 +02:00
Sally O'Malley
684354b3b1
include APIVersion in output of 'kubectl api-resources'
...
Kubernetes-commit: 068dbb44f39a3ff4c3cfaf82242c91598582ecd4
2020-10-02 09:28:27 -04:00
Ricardo Pchevuzinske Katz
aef03d78a9
Change kubectl clusterinfo to non offensive words
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
Kubernetes-commit: ab129349acadb4539cc8c584e4f9a43dd8b45761
2020-09-30 17:59:35 -03:00
Joe Betz
4407e4561f
Bump to latest kube-openapi and SMD to pick up structType=atomic support
...
Kubernetes-commit: f298d549f60c9342abcff1ad17d8455cd62b19fb
2020-09-30 11:49:13 -07:00
Sai Harsha Kottapalli
ac26f503e8
fix staticcheck for kubectl pkg files
...
Kubernetes-commit: f6b3c5fb3f78d1d2736fe97326b976783b34f6b7
2020-09-30 15:33:29 +05:30
Douglas Schilling Landgraf
56ea9621b7
kubectl: deprecate --delete-local-data
...
The option --delete-local-data according with users is not clear.
This patch deprecate --delete-local-data in favor of --delete-emptydir-data.
Reference:
https://github.com/kubernetes/kubernetes/issues/80228
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Kubernetes-commit: 625e47aaa2769d221c59e5b9b05b4ac97212719b
2020-09-25 17:33:45 -04:00
zhouya0
fd930e3995
Clean up nits in delete cascade
...
Kubernetes-commit: f5a035a7e66b25c932a82fc8bc7cde195dd05884
2020-09-25 11:38:28 +08:00
Kubernetes Publisher
cb45ac0c4e
Merge pull request #89840 from eddiezane/ez/kubectl-396
...
Add get-users and delete-user to kubectl config
Kubernetes-commit: cd4ee6bf9abf672c1ff9aa23b778be1d3599c432
2020-09-24 20:24:06 +00:00
Kubernetes Publisher
543e326352
Merge pull request #95006 from verb/debug-help
...
Update the use message for kubectl debug
Kubernetes-commit: 85c9183c6b8b535181131efa19b3deffa94c42d7
2020-09-24 20:24:04 +00:00
Kubernetes Publisher
c502e83f8c
Merge pull request #93384 from zhouya0/support_kubectl_delete_foreground
...
Support kubectl delete orphan/foreground/background options
Kubernetes-commit: d9b576d61ea04dc1fc0444c2a7a187d176069ba6
2020-09-24 08:23:51 +00:00
Kubernetes Publisher
18af7c6ad0
Merge pull request #89086 from fgogolli/patch-1
...
Update kustomize.md
Kubernetes-commit: eec4c0f099dab9ace963f909967b8f53a920c3d1
2020-09-24 00:25:23 +00:00
Flamur Gogolli
4f0ea580af
Fix typo & documentation on kustomize.md
...
Fix typo on nameName vs newName
Fix documentation bug on SecretGeneratorArgs
Kubernetes-commit: 65f4f2d593ac1cd64de255581931627d4d816b41
2020-09-23 20:25:01 +01:00
Lee Verberne
9e9322bdd6
Update the use message for kubectl debug
...
The command now supports type syntax similar to `kubectl get`.
Kubernetes-commit: 40904c7a7de4bcb050030eaf53dfb21c3f076ae9
2020-09-23 15:06:16 +02:00
Kubernetes Publisher
16fb106aef
Merge pull request #86506 from dineshba/master
...
sts: rollout history will show the details of the sts if the revision is specfied
Kubernetes-commit: ef57a095d91458327f47b492d31ad2caff93c987
2020-09-23 00:24:03 +00:00
John Howard
5a3ba07822
Fix `kubectl describe ingress` format
...
Fixes https://github.com/kubernetes/kubernetes/issues/94980
Fixes two formatting issues:
* Un-opened parenthesis (`10.244.0.6:8080)`)
* Bad format string and spacing
Before this PR:
```
Name: example-ingress
Namespace: default
Address:
Default backend: istio-ingressgateway:80 (<error: endpoints "istio-ingressgateway" not found>)
Rules:
Host Path Backends
---- ---- --------
* *
%!(EXTRA string=istio-ingressgateway:80 (<error: endpoints "istio-ingressgateway" not found>))Annotations: <none>
Events: <none>
```
After this PR:
```
Name: example-ingress
Namespace: default
Address:
Default backend: istio-ingressgateway:80 (<error: endpoints "istio-ingressgateway" not found>)
Rules:
Host Path Backends
---- ---- --------
* * istio-ingressgateway:80 (<error: endpoints "istio-ingressgateway" not found>)
Annotations: <none>
Events: <none>
```
Compare to an old kubectl without the bug:
```
Name: example-ingress
Namespace: default
Address:
Default backend: istio-ingressgateway:80 (<none>)
Rules:
Host Path Backends
---- ---- --------
* * istio-ingressgateway:80 (<none>)
Annotations:
kubectl.kubernetes.io/last-applied-configuration: ...
Events: <none>
```
Kubernetes-commit: 9a0b9138aff179e601f854c70271a50842742b12
2020-09-22 13:29:11 -07:00
Kubernetes Publisher
2d2bc3f80d
Merge pull request #93388 from SaiHarshaK/feature/run-annotate
...
allow adding annotations to pod when using kubectl run
Kubernetes-commit: d20c43157f3f0f377bd25d2dabc0371b3db0aa6d
2020-09-22 20:26:56 +00:00
Kubernetes Publisher
6d22e585ba
Merge pull request #92492 from eddiezane/ez/kubectl-876-warn-on-verb-validation
...
kubectl: warn when creating roles with custom verbs
Kubernetes-commit: 5c6d853b4434f72ac10a1d9eafe15a791cd5db31
2020-09-22 20:26:54 +00:00
Kubernetes Publisher
129c63b3d6
Merge pull request #89962 from wangrzneu/master
...
make kubectl/kubeadm completion script support busybox
Kubernetes-commit: 86a9087896faa476f1d6377a5e0a7882bd838b3f
2020-09-22 20:26:52 +00:00
Quan Tian
81f5e57cae
kubectl: add a space between effect and operator when printing tolerations
...
Empty key and non-empty effect means to match all keys and values and
the specified effect. However "kubectl describe" prints it without space
between effect and operator. This patch adds the space for this case.
Kubernetes-commit: 04185f4e533b9b8ebaabe1ed09516e85c5ed1ae1
2020-09-21 23:45:31 +08:00
Kubernetes Publisher
67718c957b
Merge pull request #94666 from soltysh/sort_nil
...
Handle nil elements when sorting, instead of panicking
Kubernetes-commit: 2d8fbd61afe9e2bf207be88320fd9c3001885a96
2020-09-21 12:22:46 +00:00
wawa0210
c1aa9082c9
Keep the imagePullPolicy of kubectl alpha debug consistent with the default
...
Kubernetes-commit: 6709d4f93855d485f6a809237efbdc1951fbc30a
2020-09-19 11:46:41 +08:00
Kubernetes Publisher
80d2fbf8b5
Merge pull request #91785 from mattcary/filtereddial
...
Specify a DialContext in storage plugin clients
Kubernetes-commit: b86e725694e81b48ea36b11f647f28cf70a66210
2020-09-18 15:08:27 -07:00
Aurélien Baumann
1511413ad8
Remove the dependency between create priorityclass command and generators
...
Kubernetes-commit: 9fff7f70e6d28fd621b2a3ee890b710f05301dad
2020-09-18 11:00:29 -04:00
Matthew Cary
0e98b6d2ca
update-bazel
...
Change-Id: Iebc99ee13587f0cd4c43ab85c7295d458d679d1e
Kubernetes-commit: 299a296c7a6e88b49c9d5e5c43749c5f2b7805e1
2020-09-18 00:44:39 +00:00
Maciej Szulik
62a25b9910
Handle nil elements when sorting, instead of panicking
...
Kubernetes-commit: a2d96fcbac6c4d92565fd0453cb6bc8c3b422bcb
2020-09-09 22:39:46 +02:00
Maciej Szulik
e650b90b3e
Change at which level klog.Fatal is invoked
...
Kubernetes-commit: 6b4dd3d774bcc84a1f969214096b9cfa373ad389
2020-09-09 21:41:56 +02:00
Dinesh
b17989102f
Add tests for daemonset view history
...
Signed-off-by: Dinesh <dineshudt17@gmail.com>
Kubernetes-commit: c88b5e2ef36b4d026ec5852beff404197c199797
2020-09-05 22:10:28 +05:30
Dinesh
55c16b433f
Add commend for printHistory function
...
Signed-off-by: Dinesh <dineshudt17@gmail.com>
Kubernetes-commit: 548b3a784bf2d05a8cfbaf289ce257d7b71efab2
2020-09-05 21:43:22 +05:30
SataQiu
7a93b067f4
kubectl: improve the warning message when doing kubectl apply to the resource without expected annotation
...
Signed-off-by: SataQiu <1527062125@qq.com>
Kubernetes-commit: 9c163f0a0a97a9bcf10c3f91d2cee02567700d84
2020-07-29 10:39:59 +08:00
Sai Harsha Kottapalli
abcbb6390c
allow adding annotations to pod when using kubectl run and add tests
...
Kubernetes-commit: 661de7f39eeab6a6977d59f9a24129477f7c5815
2020-07-23 19:37:22 +05:30
zhouya0
8411619cbf
Support kubectl delete foreground
...
Kubernetes-commit: 383b5f676670d99dc1fba4254ba7f6a81a052ba3
2020-07-23 18:45:59 +08:00
zhouya0
ccd9dd871c
Move kubectl get-context validate logic to Validate function
...
Kubernetes-commit: c41fb9e3bfe5d13347a46d6b08f1b2a8347b1bc8
2020-07-15 19:02:26 +08:00
SataQiu
d747728794
kubectl: remove the dependency between autoscale command and generators
...
Signed-off-by: SataQiu <1527062125@qq.com>
Kubernetes-commit: bef2296814afaff32e336fe51bf9e3eb5f2a471f
2020-07-12 13:23:49 +08:00
zhouya0
a60df0a351
Remove dependency between create rolebinding
...
Kubernetes-commit: 8ab7f6f5cced2cad56e8b71879379715e9bb5f76
2020-07-10 09:43:22 +08:00
Eddie Zaneski
1ac77cf17d
Warn when creating roles with custom verbs kubectl
...
Remove errors when using custom verbs
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
Kubernetes-commit: c9420cd703b9431528e91a78428bb982d3b20b67
2020-06-24 16:20:13 -06:00
Matthew Cary
9b8d203f51
update storageos vendor for FilteredDial change
...
Kubernetes-commit: 74dbf274d963d730491b64e89c60e9bb6212a9d5
2020-06-10 01:02:40 +00:00
Kubernetes Publisher
23ab7e8750
Merge pull request #93692 from brianpursley/kubectl-901
...
Sort kubectl top pod output when --sort-by and --containers are used together
Kubernetes-commit: f508d741698e424d5cf9d9ef0a08cf9445cc181e
2020-09-17 04:23:00 +00:00
Kubernetes Publisher
00e703ea95
Merge pull request #94728 from amorenoz/portforward_udp
...
kubectl: Fix TCP and UDP port forward
Kubernetes-commit: 28fc772d3609694aff8c0704a39185227c7ae939
2020-09-17 00:43:26 +00:00
Kubernetes Publisher
3d63ee2896
Merge pull request #90969 from zhouya0/kubectl_wait_add_ignore_not_found
...
Ignore not found in `kubectl wait --for=delete`
Kubernetes-commit: 3d52b8b5d60e1f74f4207f1d046734878297e354
2020-09-16 21:18:05 +00:00
Kubernetes Publisher
d70ead5fca
Merge pull request #94090 from deads2k/podpreset
...
remove pod presets
Kubernetes-commit: 54df1fdc9083ecc459ba60f395d755a90a2cd0b8
2020-09-15 10:59:56 +00:00
Adrian Moreno
3de8ce8105
portforward: Fix UDP-only ports calculation
...
If a service has both TCP and UDP but the TCP port appears before in the
range loop, it will be considered a UDP-only port and the forwarding
will fail.
Fix that by calculating the difference between UDP ports and TCP ports.
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Kubernetes-commit: 21b598cbe752dc5d2a2bca0e46729c9e72d162a3
2020-09-11 19:50:11 +02:00