Commit Graph

186 Commits

Author SHA1 Message Date
Jeff Lowdermilk
734a8c0602 Change kubectl help/examples to use jsonpath instead of template 2016-01-28 16:10:48 -08:00
k8s-merge-robot
d5dde09e10 Merge pull request #19465 from thockin/docs-nit
Auto commit by PR queue bot
2016-01-16 13:32:36 -08:00
k8s-merge-robot
3816c1798f Merge pull request #19411 from eparis/boolflag-def-val
Auto commit by PR queue bot
2016-01-16 06:23:48 -08:00
Eric Paris
aad4b4477d Make "BoolFlag" booleans not require =true 2016-01-14 09:07:00 -05:00
Tom Benner
52739bc82b Add kubectl config current-context 2016-01-11 21:54:24 -08:00
Tim Hockin
5002b784f9 Clarify --external-ip in kubectl expose docs
Also fix a couple minor punctuation issues.
2016-01-10 23:29:57 -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
Brendan Burns
4123a61df7 Add the client side bits of kubectl export 2015-12-22 10:41:59 -08:00
Chao Xu
2b2f285777 run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
k8s-merge-robot
5a579a2555 Merge pull request #16028 from derekwaynecarr/make_cmd
Auto commit by PR queue bot
2015-12-16 08:41:59 -08:00
k8s-merge-robot
0be54ae771 Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
derekwaynecarr
5e0948586c Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
feihujiang
9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08:00
Jeff Lowdermilk
e53acfe19c Merge pull request #17111 from munnerz/multi-rolling-update
Allow rolling-update of a single container in multi-container pods
2015-12-11 13:08:13 -08:00
James Munnelly
61306c2a0f Allow rolling-update of a single container in multi-container pods
Accept codec as parameter to CreateNewControllerFromCurrentController function. Add tests for performing a rolling update on a container in a multi-container pod.
2015-12-04 18:38:55 +00:00
Brad Erickson
ac5726a12f Minion->Node rename: docs/ machine names only, except gce/aws 2015-12-03 23:34:50 -08:00
k8s-merge-robot
140df5f809 Merge pull request #17220 from kargakis/kubectl-scale-deployments
Auto commit by PR queue bot
2015-11-30 04:19:58 -08:00
k8s-merge-robot
5f10b70652 Merge pull request #17766 from hurf/doc_nits
Auto commit by PR queue bot
2015-11-27 02:22:41 -08:00
k8s-merge-robot
70d2a02959 Merge pull request #17701 from hurf/anno_label
Auto commit by PR queue bot
2015-11-26 15:29:46 -08:00
hurf
8b6ef01667 fix description of -f option of autoscale command
use 'autoscale' instead of 'get form the server'
2015-11-25 19:00:56 +08:00
hurf
27d6b58ba5 fix a nit in long description of attach command
remove an extra 'a'
2015-11-25 18:57:03 +08:00
Michail Kargakis
99fc35880b kubectl: Support scaling deployments
This commit adds support for using kubectl scale to scale deployments. Makes use of the
deployments/scale endpoint instead of updating deployment.spec.replicas directly.
2015-11-25 11:26:40 +01:00
kargakis
523b6ec7e3 edit: Make environment variables composable
It also adds support for KUBE_EDITOR and GIT_EDITOR which were already
advertised in the edit usage message.
2015-11-25 11:23:23 +01:00
hurf
ad26db7f45 Annotate support label
allow "kubectl annotate pods -l app=nginx"
2015-11-25 14:13:39 +08:00
k8s-merge-robot
cc3515d702 Merge pull request #17136 from kargakis/use-deprecation-field-in-stop
Auto commit by PR queue bot
2015-11-24 17:37:19 -08:00
Janet Kuo
c0c02c95c4 kubectl run to produce deployment and job 2015-11-24 10:21:31 -08:00
kargakis
3c7b9f83d7 stop: Make use of deprecation field 2015-11-24 12:27:20 +01:00
hurf
1270764eb9 Fix description errro for client-certificate option
From "client key file" to "client certificate file".
2015-11-24 09:33:35 +08:00
k8s-merge-robot
c974e0739b Merge pull request #17236 from fabianofranz/wrong_attach_example
Auto commit by PR queue bot
2015-11-23 09:57:30 -08:00
k8s-merge-robot
6d2b92a0be Merge pull request #17269 from janetkuo/autoscale-deployments
Auto commit by PR queue bot
2015-11-21 22:23:23 -08:00
k8s-merge-robot
0e229d59f0 Merge pull request #17499 from jszczepkowski/hpa-tune
Auto commit by PR queue bot
2015-11-20 05:33:15 -08:00
k8s-merge-robot
d25cffef55 Merge pull request #17381 from caesarxuchao/add-blob
Auto commit by PR queue bot
2015-11-20 05:32:31 -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
feihujiang
4d2333b7d8 Let kubectl run follow rules for -- 2015-11-18 14:46:01 +08:00
Fabiano Franz
ab455784f5 kubectl attach only takes one argument 2015-11-17 23:16:02 -02:00
k8s-merge-robot
539a629f4b Merge pull request #17230 from hurf/anno_out
Auto commit by PR queue bot
2015-11-17 03:01:22 -08:00
Chao Xu
0c913ed5a1 change HEAD to blob/HEAD, and add blob in versioned-docs.sh 2015-11-16 17:13:49 -08:00
Janet Kuo
8e99bae7ec Support autoscale deployments 2015-11-13 23:33:55 -08:00
Tim Hockin
dab591b629 Run update-gendocs 2015-11-13 13:57:57 -08:00
hurf
ca300c180c Add printer options to Annotate
1. add return message as "resource name annotated"
2. add printer options to annotate
3. move all parameter into AnnotateOptions to make sure runT
function has no parameter.
2015-11-14 03:07:21 +08:00
Janet Kuo
88d9106705 Add help text for rollback in kubectl rolling-update 2015-11-11 13:29:54 -08:00
Jeff Lowdermilk
6868382072 Reword misleading help text for kubectl patch 2015-11-10 13:00:04 -08:00
Wojciech Tyczynski
d80e0e837c Merge pull request #10707 from kargakis/logs-with-resource-builder
logs: Use resource builder
2015-11-09 16:40:10 +01:00
k8s-merge-robot
afe121669b Merge pull request #16852 from feiskyer/kubectl-desc-ep
Auto commit by PR queue bot
2015-11-09 05:21:12 -08:00
Janet Kuo
37f35d9342 Make kubectl apply create resources if not found 2015-11-08 22:47:40 -08:00
feisky
3adb929eb9 Add kubectl describe for endpoints 2015-11-07 14:58:12 +08:00
Janet Kuo
a6a64820d7 Make generation of the apply annotation optional 2015-11-06 15:08:50 -08:00
k8s-merge-robot
4566e039bf Merge pull request #16716 from huangyuqi/add_res_types_kubctl_get
Auto commit by PR queue bot
2015-11-06 02:20:27 -08:00
kargakis
4fdb6d1331 logs: Use resource builder 2015-11-05 14:54:55 +01:00
huangyuqi
1bf2f869c7 add valid resource types for kubectl get 2015-11-04 10:12:30 +00:00