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
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Janet Kuo
7e63213478
Implement kubectl annotation update command. Refactor kubectl annotate to decouple command framework from business logic.
2015-08-03 14:35:56 -07:00
Mike Danese
f3c4b7f7ac
Merge pull request #12016 from hurf/shortcut
...
Better help message for get and describe
2015-07-31 13:53:02 -07:00
hurf
029ed15be5
Better help message for get and describe
...
Add tips for shortcut ns and ep.
2015-07-31 15:15:51 +08:00
Brendan Burns
97cb1cd071
Add support for attach to kubectl
2015-07-30 12:56:18 -07:00
hurf
6dd8a1dfa4
Add a better help message for kubectl describe
...
When resource type isn't given in the command, print the possible
resource types. Also added the resource type description in help
strings.
2015-07-14 16:22:42 +08:00
Chao Xu
7f89a29aad
add "kubectl patch". It will replace "kubectl udpate --patch" in the future
2015-06-29 16:36:45 -07:00
Chao Xu
9b3d42c090
Add command "kubectl replace". "kubectl update" is still supported as an alias.
...
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
Eric Paris
f40fce4598
kubectl log->logs in bash completions
...
The kubectl log command switched to logs. But the bash completions code
was still looking for a singular
2015-06-19 16:00:58 -04:00
Anastasis Andronidis
9e3a540940
rename resize to scale
2015-05-27 19:08:06 +02:00
Anastasis Andronidis
d4a47bdb9e
rename run-container to run in kubectl
2015-05-27 19:07:17 +02:00
Anastasis Andronidis
5eae2378d6
Warn for every _ flag user or cmd defined
...
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Kenjiro Nakayama
c13f457885
Use template to get first column in __kubectl_parse_get()
2015-05-10 23:32:24 +09:00
Eric Paris
d28660ae49
Remove useless bash conditional
...
bash just returns the last return code, why are we testing and then
doing the same?
2015-05-08 12:22:07 -04:00
Eric Paris
87613eee87
Minor bash update found by shellcheck.net
2015-05-04 14:52:50 -04:00
Kenjiro Nakayama
c3485ca85c
Add kubectl_label to custom functions of bash completion
2015-05-04 20:57:56 +09:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Eric Paris
f6878aed3c
Add bash completion custom functions
...
These functions call out to kubectl to get information about running
resources. They give us completions which are kubernetes aware and thus
obviously better than just cobra subcommands and flags.
2015-04-13 18:49:28 -04:00
deads2k
b2e3f2185e
make kubectl config behave more expectedly
2015-04-09 15:43:57 -04:00
deads2k
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04:00
Sam Ghods
ca18e86877
Make naming of kubectl subcommands consistent
2015-04-02 16:14:53 -07:00
Brendan Burns
674efe6de8
Make expose use introspection to grab the port value if possible.
...
Also improve service printing to include public IP addresses.
2015-04-02 13:08:47 -07:00
Young
84bfda0587
remove cmd arg
...
related issue "Remove cmd from kubectl/cmd/factory arguments #4470"
2015-03-27 21:46:17 +08:00
Jeff Lowdermilk
653b7e629d
Merge pull request #5977 from smarterclayton/allow_expose_to_handle_other_resources
...
Allow `kubectl expose` to be polymorphic to the source of the selector
2015-03-26 13:23:21 -07:00
Clayton Coleman
64f91f7dac
Allow `kubectl expose` to be polymorphic to the source of the selector
...
Allows exposing new resource types to be exposed (OpenShift deployment
controllers, copying services, and other resources that will have
pod label selectors).
Also fixed a bug where the selector wasn't exposed because of parameter
defaulting.
2015-03-26 14:36:53 -04:00