Commit Graph

7292 Commits (084c7fe82ae7db7887afd651f11e4e15c25241af)

Author SHA1 Message Date
Chao Xu 1c02ea04a7 Merge pull request #13605 from caesarxuchao/fix-verify-descriptions
Fix verify-descriptions.sh
2015-09-08 11:41:44 -07: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
Paul Morie 502492f3ed Make serialization tests easier to debug 2015-09-08 13:19:08 -04:00
Chao Xu 10c8179030 enable verify-description.sh for pkg/expapi/v1/types.go 2015-09-08 08:59:52 -07:00
Jerzy Szczepkowski bd8227b92c Memory based horizontal pod autoscaling.
Implemented horizontal autoscaling of pods based on memory consumption.
2015-09-08 12:14:04 +02:00
k8s-merge-robot 67adc27221 Merge pull request #13656 from wojtek-t/revert_pod_startup_time
Auto commit by PR queue bot
2015-09-08 02:35:28 -07:00
Jan Safranek f7384827b8 Fixed error handling of cloud init.
Avoid creating a new 'err' variable in the 'if'-branch, shadowing the one
in the outer scope.

Any error from subsequent 'cloud, err = GetCloudProvider()' was not propagated
to 'err' variable in the outer scope and thus errors were never returned from
this function.

This is hard to debug error on OpenStack, when content of --cloud-config=
file is wrong or connection to OpenStack fails. Such error is never logged
and Kubernetes thinks everything is OK.
2015-09-08 10:46:49 +02:00
Wojciech Tyczynski b85d0557b4 Revert #13052 2015-09-08 09:40:12 +02:00
k8s-merge-robot 196f58b9cb Merge pull request #13187 from hurf/expose_out
Auto commit by PR queue bot
2015-09-08 00:36:36 -07:00
feihujiang 84e94e39cd Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
k8s-merge-robot bb3e20e361 Merge pull request #13642 from gmarek/nodecontroller_race
Auto commit by PR queue bot
2015-09-07 13:01:59 -07:00
markturansky a5feac5739 improved recycler unit test 2015-09-07 14:44:49 -04:00
k8s-merge-robot d448c83d76 Merge pull request #13636 from feihujiang/addPodNameToErrorMessage
Auto commit by PR queue bot
2015-09-07 11:39:32 -07:00
gmarek 98b954c74c Add a mutex to assure atomicity of reat_limited queue operations and remove 'leaky' version of it 2015-09-07 15:04:59 +02:00
Marcin Wielgus 02c30c5d61 Update for scaling rules in HorizontalPodAutoscaler 2015-09-07 12:30:22 +02:00
feihujiang d713826aa9 Add pod name to error message when getting logs of a container 2015-09-07 17:03:54 +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
Dai Zuozhuo 9ccceac5e8 sort jsonpath_test results 2015-09-05 22:29:35 +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
k8s-merge-robot e6e69e31ec Merge pull request #13363 from mesosphere/abort-kubelet-syncloop
Auto commit by PR queue bot
2015-09-04 17:45:32 -07:00
k8s-merge-robot 24430525ac Merge pull request #13334 from pedro-r-marques/kubelet_annotation_update
Auto commit by PR queue bot
2015-09-04 17:07:31 -07:00
Quinton Hoole 19017c761f Merge pull request #13590 from markturansky/fix_empty_pv_list
Fixed empty PV/C lists by removing omitempty
2015-09-04 15:12:07 -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 e188ea6a61 Merge pull request #13202 from jimmidyson/prometheus-with-no-cadvisor-port
Ensure container metrics are registered with prometheus even without cadvisor http server
2015-09-04 13:58:31 -07:00
Quinton Hoole 49702f9059 Merge pull request #13584 from wojtek-t/remaining_test_refactorings
Refactor registry tests to reduce dependency on go-etcd.
2015-09-04 13:12:45 -07:00
Quinton Hoole fc946ce4a4 Merge pull request #12600 from derekwaynecarr/resource_quota_request
Update ResourceQuota for resource requirements requests
2015-09-04 12:39:46 -07:00
Quinton Hoole c324fdd54d Merge pull request #13322 from ncdc/fix-noninteractive-stdin-exec
Various exec fixes
2015-09-04 12:31:28 -07:00
Quinton Hoole 058fe7ad44 Merge pull request #13285 from uruddarraju/UnionAuthz
Union of authorizers
2015-09-04 12:30:28 -07:00
Quinton Hoole 059d762e64 Merge pull request #13594 from ihmccreery/tokens
Second attempt at GCE tokens behavior to new format
2015-09-04 11:38:08 -07:00
Ruddarraju, Uday Kumar Raju f8d6f13f7c Union of authorizers 2015-09-04 11:04:50 -07:00
James DeFelice de064f4254 fix kubelet syncLoop busy loop upon close of updates chan 2015-09-04 17:56:02 +00:00
k8s-merge-robot aff690bdee Merge pull request #13575 from mikedanese/description-tag
Auto commit by PR queue bot
2015-09-04 10:33:57 -07:00
Quinton Hoole 7bbe516b95 Merge pull request #13303 from mwielgus/hpa_heapster_interface
MetricsClient for HorizontalPodAutoscaler
2015-09-04 09:09:54 -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
Quinton Hoole 8ea1078f6e Merge pull request #10416 from swagiaal/iscsi-remount
iSCSI Plugin: Remove remounting of device in global path.
2015-09-04 09:05:58 -07:00
Isaac Hollander McCreery 219a1fae62 Second attempt at GCE tokens behavior to new format 2015-09-04 08:36:55 -07:00
Andy Goldstein c83786979c Various exec fixes
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:

echo foo | kubectl exec -i <pod> -- cat

Without this change, the `cat` process never terminates and `kubectl
exec` hangs.

Fix interactive exec sessions hanging after you type 'exit'.

Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`

Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`

Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
markturansky b6feefbd9f fixed empty PV/C lists by removing omitempty 2015-09-04 09:51:17 -04: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 48b9c365c7 Merge pull request #13308 from timothysc/watch-cache-disable
Plumb through configuration option to disable watch cache
2015-09-04 13:40:46 +02:00
Piotr Szczesniak b813ebadee Revert "GCE tokens behavior to new format" 2015-09-04 10:26:19 +02:00
Wojciech Tyczynski 2b2d6b677d Refactor registry tests to reduce dependency on go-etcd. 2015-09-04 09:52:54 +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 30d7f0e101 Merge pull request #13449 from ihmccreery/tokens
GCE tokens behavior to new format
2015-09-04 09:11:09 +02:00
Piotr Szczesniak b7ac895fc2 Merge pull request #13474 from ivant/fix-scope-matching
Recognize cloud-platform scope on GCP
2015-09-04 09:10:07 +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
Piotr Szczesniak 6698257239 Merge pull request #13523 from roofmonkey/experimental-api-fixes
Experimental api fixes
2015-09-04 09:07:14 +02:00
Piotr Szczesniak 14f4d3ad0e Merge pull request #13425 from jszczepkowski/hpa-kind
Fixed kind to resource convertion in scale client.
2015-09-04 09:04:00 +02:00
Piotr Szczesniak fcbf63f3f3 Merge pull request #13509 from wojtek-t/refactor_etcd_delete_test
Refactor registry etcd delete tests
2015-09-04 09:03:26 +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
Mike Danese 8a2e430b1d remove some descritpion tags from expapi 2015-09-03 19:22:41 -07: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 c9f2d3151b Merge pull request #13155 from derekwaynecarr/enforce_limits
Map cpu limits to cpu-quota in docker run
2015-09-03 16:28:04 -07:00
Abhi Shah 217e1d0d87 Merge pull request #13514 from kargakis/queryparams-handle-pointers
queryparams: Handle pointer fields in structs
2015-09-03 16:26:54 -07:00
Abhi Shah b8179eae24 Merge pull request #13467 from simonswine/feature_enhanced_vpc_detection
Enhanced detection of VPC for cloudprovider AWS
2015-09-03 15:47:28 -07:00
Abhi Shah d923e61dda Merge pull request #13397 from yujuhong/housekeeping
kubelet: define the housekeeping period
2015-09-03 15:46:29 -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
Abhi Shah d5358f0f7e Merge pull request #13537 from stevekuznetsov/skuznets/typo
fixed error typo
2015-09-03 13:11:44 -07:00
k8s-merge-robot 5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
Sami Wagiaalla 9ca9ab1b66 iSCSI Plugin: Remove remounting of device in global path.
This code was originally added because the first mount call did not
respect the ro option. This no longer seems to be the cause so there
is no need to use remount.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-09-03 15:59:27 -04:00
k8s-merge-robot 857b6ba5a8 Merge pull request #12603 from markturansky/expand_vol_spec
Auto commit by PR queue bot
2015-09-03 12:00:49 -07:00
derekwaynecarr 2e76842eb7 Update resource quota for requests 2015-09-03 14:24:59 -04:00
Abhi Shah 9b70b9d839 Merge pull request #13506 from feihujiang/fixUpperCaseLetterInKubectlExamples
Fixes upper case letters in kubectl examples
2015-09-03 11:15:30 -07:00
Abhi Shah 228517e634 Merge pull request #13536 from brendandburns/util
Add Forever, syntactic sugar on Until
2015-09-03 11:12:34 -07:00
Jeff Lowdermilk cb65cfa746 Print recognized file extensions in resource builder error 2015-09-03 11:01:13 -07:00
Alex Robinson 4b47cb93f3 Reduce the default apiserver timeout back down to 30 seconds.
It was originally raised due to slow load balancer creation (#5180), but
that was fixed months ago.
2015-09-03 17:50:23 +00:00
derekwaynecarr 5dc74e8dbf Add support for CFS quota in kubelet 2015-09-03 13:44:28 -04:00
kargakis f9bca7bc7d handle structs 2015-09-03 15:49:24 +02: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
kargakis 6c32e071f4 Dont output nil; test nil & omitempty 2015-09-03 15:32:19 +02:00
Steve Kuznetsov 0a07a46100 fixed error typo 2015-09-03 09:28:02 -04:00
markturansky 0e7f73ad67 expand volume.Spec to include full Volume and PV 2015-09-03 08:57:32 -04: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
kargakis edfaa480cf queryparams: Handle pointer fields in structs 2015-09-03 13:45:31 +02:00
Wojciech Tyczynski 97b4a64e2c Refactor registry etcd delete tests 2015-09-03 09:05:17 +02:00
Brendan Burns a064c5d933 Merge branch 'fix_expapi_desc' of https://github.com/markturansky/kubernetes into markturansky-fix_expapi_desc 2015-09-02 21:36:40 -07:00
Brendan Burns 960d6e5a5e Fix the travis build 2015-09-02 21:25:05 -07:00
feihujiang 0427711c42 Fixes upper case letters in kubectl examples 2015-09-03 12:00:21 +08:00
markturansky 8f9444025f removed expapi descriptions from internal types 2015-09-02 22:57:30 -04:00
Abhi Shah 657622631f Merge pull request #13487 from caesarxuchao/swagger-for-expapi
Genereate types_swagger_doc_generated.go for expapi
2015-09-02 16:56:55 -07:00
Brendan Burns 5048464445 Add Forever, syntactic sugar on Until 2015-09-02 16:49:05 -07:00
Brendan Burns 395bbc4b1b Fix the build. 2015-09-02 15:45:44 -07:00
Janet Kuo 96031aaca5 Get printer from factory instead of using NewHumanReadablePrinter to retrieve handled resources 2015-09-02 15:38:40 -07: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
Nikhil Jindal aeeffbd665 Merge pull request #13419 from nikhiljindal/deploymentController
Adding support for deployments to client library
2015-09-02 14:26:50 -07:00
Isaac Hollander McCreery d3398e2aed GCE tokens behavior to new format 2015-09-02 14:13:51 -07:00
k8s-merge-robot e8cda9dc92 Merge pull request #13310 from markturansky/volume_config
Auto commit by PR queue bot
2015-09-02 14:05:30 -07:00
Abhi Shah 1b0cf281e5 Merge pull request #13000 from brendandburns/schema-api-2
Add support for dynamic APIs
2015-09-02 13:53:28 -07:00
Janet Kuo c9beb5b39c Fix the bug that rolling-update throws error when using generateName 2015-09-02 13:30:14 -07:00
Abhi Shah efdcd9f8e8 Merge pull request #13519 from ironcladlou/test-fix
Refactor test to use new fake reactors
2015-09-02 11:41:18 -07:00
Brendan Burns eb58220e7e Merge branch 'master' of https://github.com/GoogleCloudPlatform/kubernetes 2015-09-02 10:48:38 -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 2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -07:00