Kubernetes Publisher
89cc98529f
Merge pull request #97433 from pandaamanda/kubectl_completion
...
fix typo of command “kubectl completion -h”
Kubernetes-commit: b68e25113c9c1125d048654409b03f0361b2532f
2020-12-31 05:27:15 +00:00
熊中谅10171568
1d4e99420e
add more usage info for kubectl wait option --for
...
add more usage info for kubectl wait option --for
Kubernetes-commit: 033e4a58182fb90e36d5f6cc3f291a2ea114998a
2020-12-29 21:08:03 +08:00
xiongzhongliang
bfad7fa736
code cleanup for kubectl alpha -h
...
Kubernetes-commit: 5eff181ec30624706eb024467fb1b9d5c9a473f7
2020-12-27 07:30:44 +08:00
xiongzhongliang
7222c38716
code cleanup for kubectl port-forward
...
code cleanup for kubectl port-forward
code cleanup for kubectl port-forward
Kubernetes-commit: 555fa97cda1f24631642698e31c2b7b55c003cca
2020-12-27 00:49:18 +08:00
Guangwen Feng
dec49d660e
Fix typo in comment
...
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
Kubernetes-commit: 23adf46008aaef329375d5bbfbc9568dc6494a5b
2020-12-25 13:58:13 +08:00
Masashi Honma
3c3bc4f5e8
Namespace has no effect when exposing deployment with --dry-run=client
...
This is how to reproduce.
$ kubectl create ns testns
$ kubectl -n testns create deployment test-deploy --image=nginx
$ kubectl -n testns expose deployment.apps/test-deploy --port=80 --dry-run=client -o yaml
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: test-deploy
name: test-deploy
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app: test-deploy
status:
loadBalancer: {}
If --dry-run=client is not specified, namespace element is contained in the yaml.
Kubernetes-commit: 8d83dfe2075be68344a633418de7ef81e1dd5957
2020-12-24 09:40:10 +09:00
xiongzhongliang
13d5d50660
fix kubectl label error when local=true is set.
...
fix kubectl label error when local=true is set.
fix kubectl label error when local=true is set.
Kubernetes-commit: cb7009a63bbc90569493f070463ae6715088d46a
2020-12-23 00:03:48 +08:00
xiongzhongliang
269a0a3ee5
fix typo of kubectl completion -h
...
Kubernetes-commit: fe094b20d2d66a28d4cfb78fcb493d213136cded
2020-12-22 16:49:39 +08:00
Sachin Kumar Singh
8e81e1d9ff
Remove the dependency between create poddisruptionbudget and generators
...
Kubernetes-commit: 1e4cba79ef8972248ac360b4ac5b21b085f6a8dc
2020-12-22 01:50:52 +05:30
Nick Maliwacki
a84bbc2022
wait ensures observedGeneration >= generation
...
Kubernetes-commit: 44aff9917566885ab5d8cc712a3330bac1923214
2020-12-20 00:35:31 -08:00
Kubernetes Publisher
001f65682a
Merge pull request #97171 from deads2k/deprecate-psp
...
deprecate PSP in 1.21, but leave removal at 1.25
Kubernetes-commit: 979c644df2ad051015a8ccf6475e3476eda0cea0
2020-12-18 09:26:24 +00:00
fabiankramm
f32b960dd4
override request host for kubectl proxy
...
Signed-off-by: fabiankramm <fab.kramm@googlemail.com>
Kubernetes-commit: 379b541070bf5a5f31abe513d717c0f7b12845a8
2020-12-18 10:02:59 +01:00
Kubernetes Publisher
d7ad7ff6ed
Merge pull request #97033 from patrickshan/pshan/bump/Azure/go-autorest/autorest
...
Bump github.com/Azure/go-autorest/autorest to v0.11.12
Kubernetes-commit: e11e9d4c6c3f522ed398748a11cc5dd1f8949c2b
2020-12-17 09:30:59 +00:00
Kubernetes Publisher
01523fda89
Merge pull request #61595 from cpanato/pt_BR
...
add initial translation for pt_BR for kubectl
Kubernetes-commit: 7c60d8e10801003c2f6a567beb17fcbcaec354d9
2020-12-11 21:46:31 +00:00
David Eads
7742b18bff
generated
...
Kubernetes-commit: ae6729bb78ef7a3221483c66751fba9a77b9337c
2020-12-10 12:41:56 -05:00
pacoxu
360e8d2b15
feature: use default container annotation for logs and exec
...
- update according to KEP: move getContainerName to helper
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Kubernetes-commit: b54e823dbce08bff6fab979243663b0fea5a351f
2020-12-07 15:30:30 +08:00
Sagar Muchhal
72f141c577
Passes a context to the drain helper object
...
Enables the PatchOrReplace call for the cordon helper to accept a
user-supplied context to be used for the client.Patch/Update calls to
alter the node status while cordoning/uncordoning the node.
Signed-off-by: Sagar Muchhal <muchhals@vmware.com>
Kubernetes-commit: 017eaa519de5926fd75a9ddc61bedf2398b69653
2020-12-04 15:13:03 -08:00
Patrick Shan
4742d0b54d
update dependencies
...
Kubernetes-commit: ed7ca850fab4a8bd5bde1b0708e4606a9ede4af7
2020-12-04 09:50:39 +11:00
Maciej Szulik
d627226efd
Generated changes
...
Kubernetes-commit: 7d9f36cd850cfc080d8598ff4eac7b6fa3efc27d
2020-12-01 16:34:55 +01:00
Maciej Szulik
6b4e2b9b05
Drop batch/v2alpha1 API
...
Kubernetes-commit: 3dab7462d1ff6e20f7efe38249dd9958e4e32c89
2020-12-01 16:33:47 +01:00
bl-ue
91c5000b38
Fix case of Age column in kubectl describe node
...
Kubernetes-commit: df1955208b9a1950b79630b2fe88376452d70e02
2020-11-30 14:06:34 -05:00
Jefftree
07df36a64c
Update generator to not use reflect
...
Kubernetes-commit: 6addd69529b39f16069b6d603f5e101934162e2e
2020-11-30 10:41:04 -08:00
bl-ue
3bac60a8ed
Fix typo in kubectl/.../attach_test.go
...
exepctedErr -> expectedErr
Kubernetes-commit: b34d00aa09084d5786d4ca5cf11b173be9f791eb
2020-11-27 14:55:23 -05:00
Bryan Boreham
40c811e2d9
Comment default behaviour of GracePeriodSeconds
...
It took me a while to spot this subtlety.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
Kubernetes-commit: 7c764c8550121b48a6e2678700b6a80fa7d3e2f0
2020-11-23 17:46:14 +00:00
Ling Samuel
cf01e4558b
fix kubectl wait --for=delete ignore not found
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
Kubernetes-commit: 99cdc37e2a89df1f86045f295916c00266e4d034
2020-11-19 14:48:28 +08:00
ramnar
75a9c11d24
implemented review comments
...
Kubernetes-commit: ffc5c5c054bb8138d8fe456f1d9b5a071cdbdbdc
2020-11-18 09:42:36 +05:30
Marek Siarkowicz
bc5d348632
Use protobuf for kubectl top
...
Kubernetes-commit: 560394da38422cf106917b7addc3fa828e746b6b
2020-11-18 00:14:20 +01:00
ramnar
23b2c5aba6
remove generator dependency in create service account
...
Kubernetes-commit: 7000c28b74b6069fd3b5179d89178271b9fafe42
2020-11-12 07:21:46 +05:30
knight42
6c78436886
refactor: implement custom completions for some flags using Go
...
Only --context, --cluster, --user and --namespace are included.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
Kubernetes-commit: 663b13e814909070e83642c42969174ce03a0e1e
2020-08-06 23:48:33 +08:00
Wei Lun
cb657f63a2
add kubectl fish shell completion
...
Kubernetes-commit: 3f5176c26512fdb9154a0bd1d34ee61196874251
2020-07-11 22:07:05 +08:00
Kazuki Suda
9c405e27d0
Add completion support for kubectl plugins
...
This commit allows us to get shell completion for kubectl plugins.
For example, with the use of a plugin named 'kubectl-krew', completing
kubectl k<tab>
will include 'krew' in the list of possible completions.
Because the shell completion scripts are generated by Cobra, this commit
took the approach of registering every plugin as a Cobra command. This
makes Cobra aware of each plugin command when generating completions.
For efficiency, searching for plugins and registering them as Cobra
commands is only done when needed, which is when calling the
'kubectl completion' command in the case of bash, as it includes all
commands and subcommands directly in the bash generated script.
For the other shells, this will need to be done for the
'kubectl __complete' command, in a follow-up command.
Co-authored-by: Marc Khouzam <marc.khouzam@montreal.ca>
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
Kubernetes-commit: 3db3ff53cdf4b106365c5de9194153fc371868a7
2019-04-14 14:40:53 +09:00
cpanato
1feceb70c9
add initial translation for pt_BR
...
Kubernetes-commit: 0697918749ad7f8997f464016f490bc1fa66a1c2
2018-03-23 13:59:35 +01:00
Kubernetes Publisher
3881818950
Merge pull request #96995 from sachinkumarsingh092/fix-comments-kubectl-create
...
Fix typos and add comments in functions for `kubectl create` subcommands
Kubernetes-commit: 084ab7641d59e0a9cb932ed6a5eed3d6dbe7b1ee
2020-12-11 09:27:52 +00:00
Kubernetes Publisher
5cfbd40196
Merge pull request #97084 from mysunshine92/serverSideApply-conflicts-link
...
Fix the wrong link to server-side-apply conflicts
Kubernetes-commit: f58c4d8cd72581c263c786f775166cfca7400519
2020-12-10 01:31:08 +00:00
Kubernetes Publisher
3d80b9f024
Merge pull request #96761 from ingvagabund/kubectl-explicit-test-namespace
...
kubectl/pkg/cmd tests: set explicit namespace
Kubernetes-commit: d8fbc523c1d1c6629669da99cd271d81f1b0e641
2020-12-09 05:35:28 +00:00
Kubernetes Publisher
655e2db3c7
Merge pull request #96402 from lala123912/cc_4
...
fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
Kubernetes-commit: 56644827142ef09bca3d3c228d3e5e89c84ecc5a
2020-12-09 05:35:24 +00:00
Kubernetes Publisher
7843cab309
Merge pull request #89688 from cprayer/kubectl-808
...
Added 'No resources found' message to logs command
Kubernetes-commit: 4425569da6f252dccb15ee8244a33df908e958b6
2020-12-09 01:31:02 +00:00
wangyamei
d67b96c166
Fix the wrong link to server-side-apply conflicts
...
Kubernetes-commit: 958411f452377fda0e3e69a212fe339e73ff499b
2020-12-05 22:59:43 +08:00
Sachin Kumar Singh
7259471acb
Fix typos and add comments in functions for `kubectl create` subcommands
...
Certain missing comments and typos in comments are fixed in the files
that implement `kubectl create` subcommands.
Kubernetes-commit: 1c5c8601e479cc3b32809868c250aeb256796484
2020-12-02 03:35:34 +05:30
Jan Chaloupka
6fea4885d8
kubectl/pkg/cmd tests: set explicit namespace
...
Otherwise, the namespace gets set to what's a current namespace
in provided kubeconfig. Which can be different from default.
Kubernetes-commit: d4e89547f065ac5eee67ab4646fb3cee874dc1a9
2020-11-20 19:09:54 +01:00
Kubernetes Publisher
b155278f1f
Merge pull request #96317 from Jefftree/test-ssa
...
Integrate defaults marker to defaulter-gen
Kubernetes-commit: 05d1b94a701d807666b40665f5728e0cc5f92054
2020-11-14 09:27:18 +00:00
Jefftree
cf3b13523a
Integrate defaults marker and remove ContainerPort defaulter
...
Kubernetes-commit: 50e7aa49aa8f05c12ee72da92d1dc61900f86cac
2020-11-13 17:27:40 -08:00
Antoine Pelisse
36f4fcc2bd
Update kube-openapi
...
Kubernetes-commit: 8cce122e7b6506b361032869f7115635f13ca96a
2020-11-10 15:09:03 -08:00
Kubernetes Publisher
f39294d463
Merge pull request #96425 from bobbypage/vendor-cadvisor-v0.38
...
Vendor cadvisor v0.38.4
Kubernetes-commit: 41533ecec8966636554faba44368a36d5d6c5347
2020-11-14 01:29:24 +00:00
David Porter
c6e972835b
vendor: cadvisor v0.38.4
...
Kubernetes-commit: 8af7405f1730c4913c48c6dc494e319cb3015f69
2020-11-13 19:52:57 +00:00
Kubernetes Publisher
7255401745
Merge pull request #96549 from caesarxuchao/net-sys-dep-update
...
update golang.org/x/net and golang.org/x/sys
Kubernetes-commit: 85cd7c530bf55cd369bdcb92a5a31d3d1547113f
2020-11-13 18:28:05 +00:00
Chao Xu
e5055483d1
update golang.org/x/net and golang.org/x/sys
...
Kubernetes-commit: 7b26cff1740ecfb8e6ac184539d1cb5dd66991c2
2020-11-13 05:15:22 +00:00
Kubernetes Publisher
c6f5a3d19a
Merge pull request #95256 from Git-Jiro/remove_generator_from_service
...
remove generators from service
Kubernetes-commit: 8d226790c261f6f862a37982350b2f92fde3ba2e
2020-11-13 00:52:52 +00:00
Kubernetes Publisher
a81b1e4b01
Merge pull request #96190 from soltysh/kubectl_staging
...
Move the remaining kubectl bits to k8s.io/kubectl
Kubernetes-commit: ee0d35895d0f8a8a29e095eecb28f1c12a217908
2020-11-12 20:57:42 +00:00
Kubernetes Publisher
cfb4414565
Merge pull request #94663 from soltysh/fatal_level
...
Change at which level klog.Fatal is invoked
Kubernetes-commit: 1cd2ed816a5c22a621c5ea59b906834c7f145301
2020-11-11 08:50:04 +00:00