Sergey Lukjanov
3c0f0474d3
Add "deploy" abbrev for deployments to kubectl
2016-07-12 16:52:17 +03:00
k8s-merge-robot
b71b6eb8e8
Merge pull request #25646 from nhlfr/kubectl-petset-resource
...
Automatic merge from submit-queue
Include petsets in kubectl valid commands
Petsets are already implemented in kubectl, but there were no hints
for that subcommand.
Fixes #25615
2016-07-08 16:36:54 -07:00
Davanum Srinivas
e3146456d3
Change Commands to Sub-commands in help
2016-07-06 23:29:49 -04:00
Davanum Srinivas
59142694bf
Remove Extra line after Aliases
2016-07-06 23:28:11 -04:00
Davanum Srinivas
91f16364b8
kubectl should print usage at the bottom
...
Override the Usage: output using SetUsageTemplate. Just moved
the strings in the template to make sure we print Usage: at
the bottom of the output and not at the top.
Fixes issue 7496
2016-07-05 10:08:51 -04:00
k8s-merge-robot
23e7b6653f
Merge pull request #27049 from andreykurilin/kubectl_help
...
Automatic merge from submit-queue
Implement custom help command for kubectl
```release-note
* kubectl help now provides "Did you mean this?" suggestions for typo/invalid command names.
```
Custom implementation of help command allows to print `Did you mean this?` with
suggestions, which is missed in embed help command from github.com/spf13/cobra
Also, it can be extended with different search features. At this patch, help
command searches query in short descriptions of commands in case of mismatch
with commands names.
fixes #25234
2016-06-30 16:32:16 -07:00
Andrey Kurilin
48d47b1027
Implement custom help command for kubectl
...
Own implemenation of help command allows to print `Did you mean this?` with
suggestions, which is missed in embed help command from github.com/spf13/cobra
Also, it can be extended with different search features. At this patch, help
command search query in short descriptions of commands in case of mismatch
with commands names.
fixes #25234
2016-07-01 00:35:56 +03:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Dr. Stefan Schimanski
e78d7749a5
Add awareness of more override flags in bash-completion
2016-06-28 20:56:36 +02:00
Michal Rostecki
d285faaf8a
Include petsets in kubectl valid commands
...
Petsets are already implemented in kubectl, but there were no hints
for that subcommand.
Fixes #25615
2016-06-28 08:07:11 +02:00
Dr. Stefan Schimanski
a79a420fde
Move shell completion generation into 'kubectl completion' command
2016-05-30 07:23:36 +02:00
k8s-merge-robot
10b271c6de
Merge pull request #26078 from mfojtik/fix-nil-annnotations
...
Automatic merge from submit-queue
Fix panic when the namespace flag is not present
We don't set the namespace in OpenShift, so we need to check if the namespace flag is present.
2016-05-29 10:32:33 -07:00
Michal Fojtik
f79998a9b1
Fix panic when the namespace flag is not present
2016-05-23 16:41:31 +02:00
Kevin
52fb89ff73
implement taints and tolerations
2016-05-18 15:06:23 +00:00
Janet Kuo
eb58cd6676
Add 'kubectl set'
2016-05-10 17:24:25 -07:00
CJ Cullen
86293810af
Move ModifyConfig (and some related functions) into the clientcmd pkg.
2016-05-07 18:15:18 -07:00
Cesar Wong
55114efcb7
Port-forward: use out and error streams instead of glog
2016-04-27 13:26:54 -04:00
Kenjiro Nakayama
c9d34870ed
Update bashcompletion codes for kubectl expose
2016-04-14 23:43:48 +09:00
Kenjiro Nakayama
84e3ee8ec4
Update bashcompletion codes for kubectl annotate
2016-04-14 23:40:34 +09:00
Kenjiro Nakayama
910b6bce33
Update bashcompletion codes for kubectl patch
2016-04-14 23:40:31 +09:00
Kenjiro Nakayama
5cc540fec1
Update bashcompletion codes for kubectl edit
2016-04-14 23:34:58 +09:00
Dr. Stefan Schimanski
7e0bb885f1
Make kubectl bash completion namespace aware and add noun aliases
...
- add namespace filtering to bash completion
- add --namespace flag bash completion
- add bash completion noun aliases
- adapt to new cobra package structure
2016-04-03 16:25:56 +02:00
Lucas Käldström
3507bf814f
Add sa as a shorthand for serviceaccounts
2016-03-25 23:28:52 +02:00
k8s-merge-robot
76369c42be
Merge pull request #22939 from resouer/util-sub-dir
...
Auto commit by PR queue bot
2016-03-23 03:34:33 -07:00
Michail Kargakis
23343425b8
kubectl: print errors that wont be reloaded in the editor
2016-03-15 15:01:28 +01:00
harry
f19d59cf35
Move flag into sub pkg
2016-03-14 21:30:38 +08:00
Seth Jennings
4ca54b0c9c
add configmap to kubectl subcommand list
2016-03-05 20:20:00 -06:00
k8s-merge-robot
e089e841b1
Merge pull request #21593 from fabianofranz/split_bind_flags
...
Auto commit by PR queue bot
2016-02-27 16:10:19 -08:00
Madhusudan.C.S
781480d7fe
Add DaemonSets and Deployments to valid resources list in kubectl.
2016-02-23 11:19:19 -08:00
Fabiano Franz
59ea2b1e59
Split factory#BindFlags
2016-02-19 20:41:16 -02:00
Madhusudan.C.S
e7a9f30936
Address review comments.
2016-02-09 15:50:01 -08:00
Janet Kuo
183b7f4d6d
Add kubectl rollout
2016-01-20 16:17:42 -08:00
Matt Liggett
c6e9ad066e
Initial node drain implementation for #3885 .
...
It cordons (marks unschedulable) the given node, and then deletes every
pod on it, optionally using a grace period. It will not delete pods
managed by neither a ReplicationController nor a DaemonSet without the
use of --force.
Also add cordon/uncordon, which just toggle node schedulability.
2016-01-06 17:28:18 -08:00
Maciej Szulik
34c72552a5
Updated kubectl help info with resource names
2015-12-10 16:04:44 +01:00
k8s-merge-robot
4ce6a16816
Merge pull request #17709 from ddysher/missing-valid-resources
...
Auto commit by PR queue bot
2015-11-26 22:49:07 -08:00
hurf
91ad5b4ec3
Cleanup logs command
...
use 'logs' instead of 'log'
2015-11-25 14:11:27 +08:00
Deyuan Deng
31650994cd
Add missing serviceaccounts to valid resources output
2015-11-24 13:57:51 +08:00
Jerzy Szczepkowski
cac9e88c11
Updated kubectl help messages.
...
Updated kubectl help messages: added info about hpa. Fixes #17357 .
2015-11-19 15:26:43 +01:00
huangyuqi
1bf2f869c7
add valid resource types for kubectl get
2015-11-04 10:12:30 +00:00
Janet Kuo
8105aa44a0
Implement kubectl autoscale
2015-10-19 09:59:22 -07:00
hurf
e1b88c6942
Integrate convertion tool to kubectl
...
Added 'convert' subcommand to kubectl to convert config files
between different API versions.
2015-10-09 10:15:30 +08:00
jackgr
703a3e19aa
Add the kubectl apply command.
2015-10-07 17:14:51 -07:00
Anastasis Andronidis
e8b9dde623
new kubectl explain command
2015-09-26 14:25:53 +03:00
k8s-merge-robot
b342591032
Merge pull request #13604 from JanetKuo/kubectl-edit
...
Auto commit by PR queue bot
2015-09-17 03:00:33 -07:00
Janet Kuo
5a608446ba
pull "kubectl edit" from openshift upstream
2015-09-15 19:16:23 -07:00
Mike Danese
54b0faf39a
rebase onto head
2015-09-15 18:13:28 -07:00
Janet Kuo
94b4659b7b
Enable kubectl rolling-update rc name bash completion
2015-08-31 16:37:44 -07:00
Janet Kuo
46eb607677
Enable kubectl exec pod name bash completion
2015-08-24 05:25:48 -07:00
Mike Danese
fe0e758d4d
rewrite kubectl command references to GoogleCloudPlatform
2015-08-12 14:52:13 -07:00
Brendan Burns
9ac50b4980
Add interactive run that combines run and attach.
2015-08-06 20:20:14 -07:00