Commit Graph

1046 Commits (1313e3b14e442db064f35d3140018f3da63effc2)

Author SHA1 Message Date
Michal Fojtik fb14c8cdf3 Allow to replace os.Exit() with panic when CLI command fatal error 2015-09-10 09:42:22 +02:00
Chao Xu 002dcc6343 Merge pull request #13737 from wojtek-t/switch_to_node_in_registry
Rename "minion" to "node" in few places.
2015-09-09 17:49:22 -07:00
Avesh Agarwal 6d6f338fac Adds servicesaccounts to kubectl get/describe cli help and docs. 2015-09-09 12:15:25 -04:00
Wojciech Tyczynski cd1ac360de Rename "minion" to "node" in few places. 2015-09-09 16:18:23 +02:00
Jan Chaloupka 70c74fbe4b Commit cd7d78b696 replaced use of
util.CheckErr(err)

with

if err != nil {
	return err
}

One replacement is incorrent. The current call of resource.NewBuilder is returned in r variable. Which was tested with util.CheckErr(r.Err()) before cd7d78b696 commit. It was replaced by

if err != nil {
	return err
}

which is incorrect as err is not set by resource.NewBuilder call. The correct use is

err := r.Err()
if err != nil {
	return err
}
2015-09-09 12:40:55 +02:00
Chao Xu a6566031be Merge pull request #13422 from feihujiang/supportSettingEnvInKubectlRun
Support setting env vars in kubectl run
2015-09-08 10:32:48 -07:00
feihujiang 84e94e39cd Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
hurf 8efc62bcce Simplify default output of "expose" command
Use simple output string such as "rc nginx exposed" to show the
result. Users can still use options like "-o yaml" to view detailed
result.

IP will be printed with detailed result now.
2015-09-07 15:17:17 +08:00
Dai Zuozhuo 2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
k8s-merge-robot 2e2def36a9 Merge pull request #13581 from caesarxuchao/APIGroup-testapi-2
Auto commit by PR queue bot
2015-09-04 20:38:45 -07:00
Chao Xu 9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Quinton Hoole be19554bae Merge pull request #13383 from hurf/label_drun
Add --dry-run option for label command
2015-09-04 14:03:14 -07:00
Quinton Hoole ded8569524 Merge pull request #12908 from mwielgus/kubectl_get_hpa
HorizontalPodAutoscaler in kubectl get
2015-09-04 09:07:08 -07:00
Quinton Hoole e5e2bc9580 Merge pull request #10833 from markturansky/loosen_binding
Allow PV/Claim matching on inexact access modes
2015-09-04 09:06:31 -07:00
Piotr Szczesniak de92c9bac2 Merge pull request #13482 from jlowdermilk/resource-builder-err-msg
Print recognized file extensions in resource builder error
2015-09-04 13:45:41 +02:00
Piotr Szczesniak 7fc1fe2dd9 Merge pull request #13444 from hurf/run_out
Change default output of `run` command
2015-09-04 13:43:00 +02:00
Piotr Szczesniak 57e35b794f Merge pull request #13445 from hurf/ru_out
Make -o option working for rolling-update
2015-09-04 09:11:28 +02:00
Piotr Szczesniak b2cfb8cb8e Merge pull request #13486 from JanetKuo/kubectl-rolling-generateName
Fix the bug that rolling-update throws error when using generateName
2015-09-04 09:07:45 +02:00
Timothy St. Clair 2b7e758c3c Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
Abhi Shah 0758a298db Merge pull request #13366 from feihujiang/printValidContainersNames
Print valid container names when the command not specify the container
2015-09-03 16:36:27 -07:00
Abhi Shah 7dd85cb51b Merge pull request #13490 from feihujiang/changeVariablesToEnvionmentVariablesWhenDescribeContainers
Change variables to environment variables when describe containers
2015-09-03 15:39:24 -07:00
Jeff Lowdermilk cb65cfa746 Print recognized file extensions in resource builder error 2015-09-03 11:01:13 -07:00
hurf 46e7f5684c Add --dry-run option for label command
With --dry-run option, label command will print the object locally
without update it on server side.
2015-09-03 21:37:11 +08:00
hurf 65bfd3541f Make -o option working for rolling-update
Use simple message to show the result. If -o is specified, print
updated rc.
2015-09-03 20:29:58 +08:00
Marcin Wielgus 3f21071064 HorizontalPodAutoscaler in kubectl get 2015-09-03 13:49:06 +02:00
feihujiang 0427711c42 Fixes upper case letters in kubectl examples 2015-09-03 12:00:21 +08:00
Abhi Shah 13784bf9ca Merge pull request #13047 from JanetKuo/kubectl-label-bash-completion
Enable kubectl label resource type bash completion
2015-09-02 15:16:54 -07:00
Abhi Shah 642ebb4994 Merge pull request #13099 from JanetKuo/kubectl-expose-deprecate-create-external-load-balancer
Deprecated kubectl flag "create-external-load-balancer"
2015-09-02 15:16:08 -07:00
Abhi Shah b6aac3633d Merge pull request #13415 from JanetKuo/kubectl-rolling-bash-completion
Enable kubectl rolling-update rc name bash completion
2015-09-02 15:14:21 -07:00
Janet Kuo c9beb5b39c Fix the bug that rolling-update throws error when using generateName 2015-09-02 13:30:14 -07:00
Dan Mace 347b9334e2 Refactor test to use new fake reactors
Fix a test compilation error by refactoring the test code to use
the latest fake reactor framework.
2015-09-02 13:45:32 -04:00
Brendan Burns 3e407aebb2 Diable a broken unit test 2015-09-02 10:39:17 -07:00
Brendan Burns 31454d0f46 Merge pull request #12705 from brendandburns/kubectl
Add a printer that knows how to print user-defined columns
2015-09-02 09:47:34 -07:00
hurf af1d7de874 Change default output of `run` command
Use simple message instead of print result in `get` form.
2015-09-02 14:11:20 +08:00
feihujiang 02206bed61 Print valid container names when the command not specify the container 2015-09-02 14:06:46 +08:00
feihujiang e7592b1c99 Change variables to environment variables when describe containers 2015-09-02 10:02:07 +08:00
k8s-merge-robot 0a062c5b24 Merge pull request #11942 from ironcladlou/rolling-update-availability
Auto commit by PR queue bot
2015-09-01 16:51:13 -07:00
k8s-merge-robot 51d7f85636 Merge pull request #13406 from nikhiljindal/kubectlDeployment
Auto commit by PR queue bot
2015-09-01 13:33:23 -07:00
Daniel Smith cfe2bf10f2 Merge pull request #13426 from feihujiang/aggregateErrorsWhenValidateParams
Aggregate errors when validate kubectl required parameters and labels
2015-09-01 12:26:45 -07:00
Daniel Smith 10efd9806a Merge pull request #13227 from kargakis/fix-exposing-from-file
expose: Don't query the server for input objects
2015-09-01 12:23:01 -07:00
Janet Kuo b673920ccf Get printer from factory to retrieve handled resources 2015-09-01 10:20:51 -07:00
Janet Kuo 23740d9080 Enable kubectl label resource type bash completion 2015-09-01 10:19:51 -07:00
Brendan Burns de14623775 Add a printer that knows how to print user-defined columns 2015-09-01 10:11:13 -07:00
Dan Mace da5e4d7bd5 Rolling updater availability enhancements
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
deads2k f1b81ff678 bind filenames var instead of looking up 2015-09-01 08:35:57 -04:00
k8s-merge-robot a4d953f4b3 Merge pull request #13131 from hurf/anno_unused
Auto commit by PR queue bot
2015-09-01 04:32:13 -07:00
feihujiang da03746b22 Aggregate errors when validate kubectl required parameters 2015-09-01 14:34:31 +08:00
Janet Kuo 94b4659b7b Enable kubectl rolling-update rc name bash completion 2015-08-31 16:37:44 -07:00
nikhiljindal ac0b060e62 Adding a kubectl resource printer for deployments 2015-08-31 14:57:02 -07:00
k8s-merge-robot 08668d7d94 Merge pull request #13309 from kubernetes/revert-13246-revert-12492-limit_range_api
Auto commit by PR queue bot
2015-08-28 21:03:49 -07:00