Commit Graph

8580 Commits (4566e039bf52a18c34b03c926541738be61957c7)

Author SHA1 Message Date
k8s-merge-robot 33dabe00a8 Merge pull request #15766 from feihujiang/supportNamespaceSelectorInAllNamespacesEndpoint
Auto commit by PR queue bot
2015-10-24 17:08:34 -07:00
Abhi Shah 976cc12c8e Merge pull request #16174 from ArtfulCoder/nilCheck
Added Nil Check
2015-10-24 14:16:28 -07:00
k8s-merge-robot a3187c7b21 Merge pull request #14794 from zhengguoyong/rename_wantsExternalLoadBalancer
Auto commit by PR queue bot
2015-10-24 13:46:27 -07:00
k8s-merge-robot 5280540384 Merge pull request #15965 from Random-Liu/use-docker-label
Auto commit by PR queue bot
2015-10-24 13:19:40 -07:00
Clayton Coleman f79c74e311 Make util/wsstream/stream_test.go not flaky
It's hard to manage connection buffers in a deterministic test, ensure
that the error is always consistent and the output is always a subset
of the input
2015-10-24 15:47:57 -04:00
Clayton Coleman 5b137a64a8 Return errors directly from negotiation
Otherwise we're hiding problems in connectivity
2015-10-24 14:29:02 -04:00
kargakis 4befdf5b49 Make CanBeExposed and CanBeAutoscaled composable 2015-10-24 20:07:35 +02:00
kargakis 73713ce268 edit: Windows fixes
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
k8s-merge-robot e05819f36a Merge pull request #16101 from timothysc/etcd-remove-fakeclient-part1
Auto commit by PR queue bot
2015-10-24 06:31:51 -07:00
Wojciech Tyczynski aa57f607f6 Update auto-generated files 2015-10-24 13:29:37 +02:00
Wojciech Tyczynski f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
k8s-merge-robot 40b6f1cc28 Merge pull request #16109 from fabianofranz/move_attach_pod_selection_to_factory
Auto commit by PR queue bot
2015-10-24 03:45:29 -07:00
k8s-merge-robot f3cb757bb6 Merge pull request #16074 from timstclair/prober-cleanup
Auto commit by PR queue bot
2015-10-24 03:14:42 -07:00
k8s-merge-robot 6d10b76b11 Merge pull request #15980 from janetkuo/kubectl-edit-updateapplyannotation
Auto commit by PR queue bot
2015-10-24 02:48:22 -07:00
k8s-merge-robot e1559e9fb5 Merge pull request #15352 from pmorie/fsgroup
Auto commit by PR queue bot
2015-10-24 01:55:45 -07:00
k8s-merge-robot 570a9dc18f Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Eric Tune 07fb3c2759 Fix jobs unittest flakes.
Sometimes the test would
generate two identical pod names
using the Now().UnixNano() function.
Apparently the Nanos are rounded.

Passed 2000 unittest runs.
2015-10-24 00:54:45 -07:00
Tim Hockin 42c7fec490 Add a cloud-provider hook to scrub DNS for pods
GCE needs this hook and it seems general enough to include.
2015-10-23 17:01:49 -07:00
Yu-Ju Hong e4f739115f kubelet: fix getting logs from static pods
This change adds the necessary UID translation logic to fix the issue.
2015-10-23 14:31:40 -07:00
Timothy St. Clair 8140974f31 Removal of fakeClient from etcd_helper_test in leiu of NewEtcdTestClientServer 2015-10-23 16:23:27 -05:00
Tim Hockin 5c903dbcac Merge pull request #16073 from caesarxuchao/fix-htmlpreview-on-head
fix htmlpreview links to point to subdictory
2015-10-23 13:32:29 -07:00
Lantao Liu 67a7633202 Put restart count into docker label 2015-10-23 13:02:32 -07:00
Fabiano Franz 312d53d9c9 Expose attachable pod discovery to factory 2015-10-23 17:28:41 -02:00
Saad Ali ebf3ee3fb2 Merge pull request #16035 from deads2k/typo
fix horizonal typo
2015-10-23 12:09:11 -07:00
Saad Ali 06113d3b87 Merge pull request #16137 from ArtfulCoder/externalIPFix
release NodePort correctly
2015-10-23 12:03:38 -07:00
saadali 19115b2a22 Fix GCE Cloudprovider waitForOp bug and make GCE attach/detach atomic operations. 2015-10-23 11:58:56 -07:00
Abhishek Shah 4a7b4f2ed2 Nil Check 2015-10-23 11:52:59 -07:00
Andy Goldstein 6fddb0e83a Add httpstream.Handshake unit test 2015-10-23 14:09:41 -04:00
Filip Grzadkowski 165169ab1c Merge pull request #16052 from ArtfulCoder/mount_etc_hosts
kubelet manages /etc/hosts file
2015-10-23 14:07:34 +02:00
Filip Grzadkowski d93c14afec Merge pull request #16025 from piosz/describe-fix
Fixed incorrect Min replicas value in kubectl describe
2015-10-23 14:07:16 +02:00
Filip Grzadkowski ebee4bb357 Merge pull request #15954 from timothysc/non-blocking-event
Events should be non-blocking.
2015-10-23 14:06:00 +02:00
Filip Grzadkowski edd10d8a83 Merge pull request #15914 from vishh/serialize-pull
make kubelet image pulls serialized by default.
2015-10-23 14:04:23 +02:00
k8s-merge-robot a10ed3e2b1 Merge pull request #15908 from jlowdermilk/rolling-update-doc
Auto commit by PR queue bot
2015-10-23 00:52:37 -07:00
mqliang ce384e62ed fix conflict after rebase 2015-10-23 14:28:09 +08:00
mqliang 57faaf4f96 refactor validation.go to avoid duplicating 2015-10-23 14:23:55 +08:00
feihujiang 501c76cebb Support namespace selector in all namespaces endpoint 2015-10-23 14:14:38 +08:00
k8s-merge-robot 29c2706ba0 Merge pull request #15797 from ArtfulCoder/udpTimeoutFlag
Auto commit by PR queue bot
2015-10-22 22:52:40 -07:00
Janet Kuo f5adda3d81 Fixed the error for kubectl edit multiple resources 2015-10-22 22:35:15 -07:00
Saad Ali 76c5e0e553 Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config" 2015-10-22 21:25:38 -07:00
k8s-merge-robot a6b8e112ac Merge pull request #12919 from gmarek/use_api_ports
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
k8s-merge-robot 8c9c69b73e Merge pull request #15236 from rootfs/gluster_cansupport
Auto commit by PR queue bot
2015-10-22 19:22:50 -07:00
Vishnu kannan 0df4b46d4c Adding a kubelet flag to optionally enable parallel image pulls. 2015-10-22 17:19:51 -07:00
Abhishek Shah 7c64802f48 release NodePort correctly 2015-10-22 16:36:52 -07:00
Jeff Lowdermilk 583246a22f Set Content-Type in client http request header when posting objects 2015-10-22 13:50:28 -07:00
Paul Morie 3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Abhishek Shah ba6469d478 kubelet manages /etc/hosts file 2015-10-22 13:27:05 -07:00
Saad Ali f960b05fe1 Merge pull request #15930 from mikedanese/nc
make nodecontroller delete terminating pods on 1.0 nodes
2015-10-22 12:38:14 -07:00
Saad Ali a47a790356 Merge pull request #15900 from mikedanese/graceterm-1
don't gracefully delete terminated pods
2015-10-22 12:37:43 -07:00
Chao Xu eb3a80156a let kubectl api-versions use the discovery client 2015-10-22 10:19:34 -07:00
k8s-merge-robot 407ff583c4 Merge pull request #16032 from rootfs/nfs-support
Auto commit by PR queue bot
2015-10-22 09:08:27 -07:00
Wojciech Tyczynski 80be983668 Merge pull request #15392 from timothysc/etcd-remove-fakeclient
Initial commit to enable migrating tests off of FakeClient.
2015-10-22 15:24:34 +02:00
Filip Grzadkowski 52136bdb68 Merge pull request #15958 from deads2k/add-is-api-url
add nonResourceURL detection
2015-10-22 14:47:54 +02:00
Filip Grzadkowski 8e07d2fc93 Merge pull request #15975 from liggitt/validate_before_create
Validate ObjectMeta in BeforeCreate
2015-10-22 14:47:40 +02:00
Filip Grzadkowski 39e6a60224 Merge pull request #15997 from JanetKuo/kubectl-get-hpa-minpods
Handle the case when min pods is nil for "kubectl get hpa"
2015-10-22 14:47:14 +02:00
Filip Grzadkowski ef7f65ba0a Merge pull request #16042 from deads2k/missing-err-handling
fix missing error handling
2015-10-22 14:46:39 +02:00
Filip Grzadkowski aff29f9b6b Merge pull request #16044 from mikedanese/store-err
fix cache.Get error handling on bad key
2015-10-22 14:46:24 +02:00
Filip Grzadkowski 343f195042 Merge pull request #16068 from JanetKuo/increase-annotation-size-limit
Increase the annotation size limit to 256k
2015-10-22 14:45:49 +02:00
Piotr Szczesniak c400cbbd13 Fixed incorrect Min replicas value in kubectl describe 2015-10-22 09:59:37 +02:00
Paul Morie e3642f1b3f Merge pull request #14705 from pmorie/pod-sc-inline
PodSecurityContext with inline fields
2015-10-22 03:12:16 -04:00
eulerzgy 08785e0fd8 rename wantsExternalLoadBalancer 2015-10-22 15:03:57 +08:00
Andy Goldstein ad4f108bfa Move port forward protocol constant to subpackage
Move port forward protocol name constant to a subpackage underneath
pkg/kubelet to avoid flags applicable to the kubelet leaking into
kubectl. Eventually, handlers for specific protocol versions will move
into the new subpackage as well.
2015-10-21 22:37:26 -04:00
jackgr 08b2275129 Update annotation only if apply already called. 2015-10-21 19:18:28 -07:00
Andy Goldstein ff9883d9ec Address code review comments 2015-10-21 21:53:51 -04:00
Andy Goldstein 6c7b519619 Move protocol handlers to separate files 2015-10-21 21:53:51 -04:00
Andy Goldstein 3d1cafc2c3 Add streaming subprotocol negotiation
Add streaming subprotocol negotiation for exec, attach, and port
forwarding. Restore previous (buggy) exec functionality as an
unspecified/unversioned subprotocol so newer kubectl clients can work
against 1.0.x kubelets.
2015-10-21 21:53:51 -04:00
Abhishek Shah d172ca6986 Added UdpIdleTimeout flag 2015-10-21 17:25:35 -07:00
Dawn Chen a702d5f29b Merge pull request #15983 from yujuhong/hash_pods
Stores hash of pod manifest in mirror pod's annotation
2015-10-21 17:08:57 -07:00
Janet Kuo 013096cb6e Handle the case when min pods is nil for "kubectl get hpa" 2015-10-21 16:43:13 -07:00
k8s-merge-robot f12171b430 Merge pull request #16020 from wojtek-t/fix_request_tests
Auto commit by PR queue bot
2015-10-21 16:42:54 -07:00
Janet Kuo e36121ae9b Increase the annotation size limit to 256k 2015-10-21 16:16:55 -07:00
Paul Morie 393e2bc019 Inline some SecurityContext fields into PodSecurityContext 2015-10-21 19:01:17 -04:00
Chao Xu 316bd058d0 fix htmlpreview links to point to subdictory 2015-10-21 15:46:52 -07:00
Tim St. Clair 07e9892003 Cleanup prober.prober 2015-10-21 15:45:34 -07:00
Jeff Lowdermilk 432a96c8bb Merge pull request #16033 from rootfs/mount-verbose
mount returns more verbose message upon error
2015-10-21 15:32:02 -07:00
Janet Kuo 1d37c549b1 Revert/disable the slash syntax for kubectl explain group/version 2015-10-21 13:58:54 -07:00
Clayton Coleman be868e934c Revert resource.Builder changes from 57388f9
57388f9f94
2015-10-21 16:23:33 -04:00
Jeff Lowdermilk 236193a26d Merge pull request #15944 from mqliang/assignoutloop
Move assignment statement out of loop
2015-10-21 13:19:56 -07:00
Jeff Lowdermilk d4de35e177 Merge pull request #15921 from brendandburns/fix2
Add a --expose flag to kubectl run
2015-10-21 13:17:26 -07:00
Jeff Lowdermilk 12c971f625 Merge pull request #15455 from mqliang/stringConstant
replace several error messages as constant, instead of duplicating
2015-10-21 13:10:13 -07:00
Mike Danese 836b68368b make nodecontroller delete terminating pods on 1.0 nodes 2015-10-21 13:07:03 -07:00
Jeff Lowdermilk 5bf993bf28 Validate image name for `kubectl rolling-update NAME --image=IMAGE`
Require distinct image from current one when starting a new
rolling-update, and exit with error if an existing in-progress update
is targeting a different image.
2015-10-21 11:48:39 -07:00
Mike Danese 933daef3f8 fix cache.Get error handling on bad key 2015-10-21 11:43:30 -07:00
deads2k 2ea025aedd fix missing error handling 2015-10-21 14:37:47 -04:00
Jordan Liggitt 63fb6c07a5 Validate names in BeforeCreate 2015-10-21 14:11:41 -04:00
Huamin Chen 1b3a88dc87 nfs: check if /sbin/mount.nfs* is present in CanSupport()
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-21 13:47:41 -04:00
deads2k b74aa0145b fix horizonal typo 2015-10-21 13:32:01 -04:00
k8s-merge-robot a5a917603c Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
Huamin Chen 3b14135cad mount returns more verbose message upon error
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-21 11:52:02 -04:00
gmarek 6d6cd8e46a Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config. 2015-10-21 17:19:31 +02:00
k8s-merge-robot 071d21257f Merge pull request #15808 from caesarxuchao/fix-kubectl-explain
Auto commit by PR queue bot
2015-10-21 07:04:32 -07:00
k8s-merge-robot e4294ff5cc Merge pull request #14991 from swagiaal/supplemental-groups
Auto commit by PR queue bot
2015-10-21 04:25:42 -07:00
k8s-merge-robot 879d0ccce0 Merge pull request #15838 from soltysh/issue14500
Auto commit by PR queue bot
2015-10-21 03:13:42 -07:00
Wojciech Tyczynski 433ccf0043 Fix broken Request test 2015-10-21 11:09:29 +02:00
mqliang e1b73ed481 delete useless function 2015-10-21 15:38:52 +08:00
Brendan Burns 54fd60727e add a --expose flag to kubectl run 2015-10-20 20:21:09 -07:00
k8s-merge-robot 6dc3dcf36a Merge pull request #15414 from thockin/exp-beta-annotations
Auto commit by PR queue bot
2015-10-20 17:45:32 -07:00
Yu-Ju Hong f8aa206ffa Stores hash of pod manifest in mirror pod's annotation
Use the hash to track whether the mirror pod is a truthful representation of
the static pod.
2015-10-20 15:44:31 -07:00
Vishnu kannan 94b45830c3 make kubelet image pulls serialized by default. 2015-10-20 14:50:44 -07:00
k8s-merge-robot b02b5b9f87 Merge pull request #15460 from feihujiang/refactoringRegistryPodDirectory
Auto commit by PR queue bot
2015-10-20 14:40:21 -07:00
k8s-merge-robot 36e1b80e4a Merge pull request #14881 from lavalamp/fix-14617
Auto commit by PR queue bot
2015-10-20 14:14:18 -07:00
k8s-merge-robot d453976e8a Merge pull request #15918 from justinsb/fix_typos
Auto commit by PR queue bot
2015-10-20 13:37:14 -07:00
deads2k 6fbb3f4b6e add nonResourceURL detection 2015-10-20 16:23:30 -04:00
k8s-merge-robot a096db5e8b Merge pull request #15933 from mqliang/HandleError
Auto commit by PR queue bot
2015-10-20 11:37:40 -07:00
Huamin Chen 1665ba4d33 glusterfs: check if mount helper is present
Reported-By: Deepak C Shetty <deepakcs@redhat.com>
Signed-off-by: Huamin Chen <hchen@redhat.com>

glusterfs: return more verbose error message to help diagnose
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-20 14:27:37 -04:00
Timothy St. Clair d00bf0c48c "Force events to be non-blocking on the client side" 2015-10-20 11:52:09 -05:00
Sami Wagiaalla 030f882f06 Add Support for supplemental groups 2015-10-20 12:44:32 -04:00
k8s-merge-robot 034f7ccb1d Merge pull request #15885 from ashcrow/fix-import-package-names-15319
Auto commit by PR queue bot
2015-10-20 09:37:13 -07:00
Mike Danese ac686d7536 don't gracefully delete terminated pods 2015-10-20 09:31:20 -07:00
k8s-merge-robot a123b15fd1 Merge pull request #15902 from JanetKuo/kubectl-get-hpa
Auto commit by PR queue bot
2015-10-20 08:19:19 -07:00
k8s-merge-robot 59fdccd122 Merge pull request #15868 from yifan-gu/fix_gc
Auto commit by PR queue bot
2015-10-20 07:47:16 -07:00
k8s-merge-robot f5da178738 Merge pull request #15275 from timstclair/liveness-workers
Auto commit by PR queue bot
2015-10-20 06:39:40 -07:00
mqliang 163860797d move assignment statement out of loop 2015-10-20 20:02:45 +08:00
Steve Milner 8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
k8s-merge-robot 9faaafdd5d Merge pull request #15922 from justinsb/aws_log_calls
Auto commit by PR queue bot
2015-10-20 03:07:33 -07:00
Justin Santa Barbara 67d3a93166 Fix misc typos
Mostly in comments, but also renamed the (test) function
migUdpateCmdBase -> migUpdateCmdBase.
2015-10-20 05:52:45 -04:00
k8s-merge-robot c4779fbc4f Merge pull request #15475 from jijun2/fix-cni_test
Auto commit by PR queue bot
2015-10-20 01:30:24 -07:00
k8s-merge-robot c45625eb77 Merge pull request #15845 from ddysher/service-locator
Auto commit by PR queue bot
2015-10-20 01:04:18 -07:00
k8s-merge-robot b95f7b7169 Merge pull request #15901 from caesarxuchao/fix-15659
Auto commit by PR queue bot
2015-10-20 00:35:45 -07:00
mqliang a656c0f8a4 add error handler when delete pod 2015-10-20 15:33:53 +08:00
k8s-merge-robot 48ced9de86 Merge pull request #15612 from jimmidyson/cadvisor-kubelet
Auto commit by PR queue bot
2015-10-19 20:10:21 -07:00
Timothy St. Clair c850a9ab61 Modifications to to remove FakeEtcdClient. Enables starting & stopping
an etcd server per unit tests that need them.
2015-10-19 22:06:19 -05:00
eulerzgy af355df9a4 modify err log msg 2015-10-20 09:08:27 +08:00
Janet Kuo bc16642e6b Fix the incorrect min pods when "kubectl get hpa" 2015-10-19 16:18:27 -07:00
Chao Xu 5f210c6473 fix names in comments 2015-10-19 16:10:02 -07:00
Justin Santa Barbara c465e91681 AWS: Log all calls at V(4), using a handler
Fixes #12122
2015-10-19 18:54:59 -04:00
Tim St. Clair a263c77b65 Refactor liveness probing
This commit builds on previous work and creates an independent
worker for every liveness probe. Liveness probes behave largely the same
as readiness probes, so much of the code is shared by introducing a
probeType paramater to distinguish the type when it matters. The
circular dependency between the runtime and the prober is broken by
exposing a shared liveness ResultsManager, owned by the
kubelet. Finally, an Updates channel is introduced to the ResultsManager
so the kubelet can react to unhealthy containers immediately.
2015-10-19 15:15:59 -07:00
k8s-merge-robot b896a66679 Merge pull request #15739 from JanetKuo/kubectl-autoscale
Auto commit by PR queue bot
2015-10-19 14:15:23 -07:00
k8s-merge-robot 18ad5f8cdf Merge pull request #15745 from ArtfulCoder/reduceTimeout
Auto commit by PR queue bot
2015-10-19 13:02:17 -07:00
Yifan Gu c4de5b7451 kubelet/rkt: do not remove other systemd service. 2015-10-19 11:23:54 -07:00
Mike Danese ac5524d84d Merge pull request #14496 from kargakis/deep-copies-fix
deep-copies: Structs cannot be nil
2015-10-19 10:28:55 -07:00
Mike Danese 970ee8de87 Merge pull request #15753 from mqliang/jobListerTest
Add unit test for StoreToJobLister
2015-10-19 10:26:19 -07:00
Chao Xu 6f0f87b629 make kubectl explain work for extensions API 2015-10-19 10:21:56 -07:00
Janet Kuo 8105aa44a0 Implement kubectl autoscale 2015-10-19 09:59:22 -07:00
k8s-merge-robot cadb6c06be Merge pull request #14161 from feihujiang/letKubectlExecFollowDashRule
Auto commit by PR queue bot
2015-10-19 08:58:37 -07:00
mqliang b6be9b9684 use string constant instead of duplicating 2015-10-19 22:00:41 +08:00
mqliang 62846b8b3c solve conflict after rebase 2015-10-19 21:56:24 +08:00
mqliang b9f9944351 add unit test for StoreToJobLister 2015-10-19 21:56:24 +08:00
k8s-merge-robot 77207d75e1 Merge pull request #15667 from JanetKuo/kubectl-watch-list
Auto commit by PR queue bot
2015-10-19 06:28:35 -07:00
Deyuan Deng 151e4b7cb8 Search for port number for service locator 2015-10-19 21:22:59 +08:00
feihujiang a456b4c424 Remove useless codes about Minion kind 2015-10-19 19:29:45 +08:00
Maciej Szulik 1ee20363e0 An attempt to fix flake in TestControllerSyncJob (14500) 2015-10-19 12:46:33 +02:00
k8s-merge-robot 02dd86c136 Merge pull request #15472 from zhengguoyong/del_unnessary_var_definition
Auto commit by PR queue bot
2015-10-19 03:33:11 -07:00
k8s-merge-robot 75c977d200 Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
kargakis 7d0e691520 expose: Enable exposing multiport objects
The generated service will inherit all the ports from the exposed object.
2015-10-19 11:25:14 +02:00
k8s-merge-robot 44a9877bd4 Merge pull request #15750 from yehuis4/master
Auto commit by PR queue bot
2015-10-19 01:06:34 -07:00
k8s-merge-robot 3ee1c58756 Merge pull request #15773 from mqliang/BE1-ErrMsg
Auto commit by PR queue bot
2015-10-19 00:37:19 -07:00
k8s-merge-robot 56093b7779 Merge pull request #15807 from liggitt/setrlimit
Auto commit by PR queue bot
2015-10-18 20:02:34 -07:00
Jordan Liggitt 55cd3f1030 Platform-specific setRLimit implementations 2015-10-18 21:26:39 -04:00
k8s-merge-robot ff7ce44e74 Merge pull request #14517 from jayunit100/reorder
Auto commit by PR queue bot
2015-10-18 09:04:23 -07:00
k8s-merge-robot 09a3871506 Merge pull request #15755 from zhengguoyong/del_capatical_packagename_for_cadvisorApi2
Auto commit by PR queue bot
2015-10-18 04:04:11 -07:00
k8s-merge-robot 80838ff86a Merge pull request #15454 from feihujiang/describePodsShowCommandAndArgs
Auto commit by PR queue bot
2015-10-18 02:03:39 -07:00
eulerzgy f8f9afb874 alias local packagename for pkg/util/errors 2015-10-18 09:37:46 +08:00
eulerzgy 760b2c901b del unnessary var definition 2015-10-18 09:05:47 +08:00
mqliang 1ce85d8ffd replace Fatalf to Errorf 2015-10-17 19:44:32 +08:00
k8s-merge-robot 1bba475a9d Merge pull request #15735 from mesosphere/jdef-fix-tasks-and-profiling
Auto commit by PR queue bot
2015-10-17 02:20:18 -07:00
k8s-merge-robot 483c4a8d85 Merge pull request #15733 from yujuhong/disable_keepalive
Auto commit by PR queue bot
2015-10-17 01:54:15 -07:00
k8s-merge-robot 72235d6607 Merge pull request #15709 from derekwaynecarr/ingress_status
Auto commit by PR queue bot
2015-10-17 00:40:35 -07:00
k8s-merge-robot d3ca12f61b Merge pull request #15053 from smarterclayton/stdin_once
Auto commit by PR queue bot
2015-10-17 00:03:32 -07:00
k8s-merge-robot 70b231231b Merge pull request #15798 from yifan-gu/rkt_gc_service
Auto commit by PR queue bot
2015-10-16 23:32:29 -07:00
k8s-merge-robot d94e4d64f2 Merge pull request #15694 from mqliang/jobList
Auto commit by PR queue bot
2015-10-16 21:22:12 -07:00
k8s-merge-robot d41737eff2 Merge pull request #15689 from caesarxuchao/default-ns-componentstatus
Auto commit by PR queue bot
2015-10-16 20:56:38 -07:00
k8s-merge-robot 68717ddae0 Merge pull request #15659 from caesarxuchao/discovery-client
Auto commit by PR queue bot
2015-10-16 20:03:33 -07:00
k8s-merge-robot d471318aa8 Merge pull request #15799 from dchen1107/podstatus
Auto commit by PR queue bot
2015-10-16 19:32:30 -07:00
Clayton Coleman d6fcc332af Codecgen output for stdinOnce 2015-10-16 20:33:52 -04:00
Clayton Coleman 7f6f85bd7b Fix attach, which was broken during the refactor
The new e2e test catches the break in attach (no e2e test
exposed this codepath before).
2015-10-16 20:33:51 -04:00
Clayton Coleman e9a465d635 Make kubectl run attach behave like docker run
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04:00
Clayton Coleman e929baf91a Support stdinOnce, which allows run-once STDIN injection
This allows containers to wait for input before startup by listening
on STDIN, and after STDIN is closed, continue running. Matches the
Docker syntax.
2015-10-16 20:33:50 -04:00
k8s-merge-robot 916ddbca65 Merge pull request #14182 from jiangyaoguo/distinguish-registry-unavailable-and-pull-failure
Auto commit by PR queue bot
2015-10-16 16:22:22 -07:00
Dawn Chen 6f46780cbf Add tests to reproduce the issue and verify the fix. 2015-10-16 15:16:07 -07:00
Dawn Chen 1b8f851979 Fix PodPhase issue caused by backoff 2015-10-16 15:16:07 -07:00
Yifan Gu 22467d9d33 kubelet/rkt: Fix a typo in container gc. 2015-10-16 15:07:43 -07:00
Abhishek Shah de214829f6 Update endpoint dialTimeouts to reasonable values 2015-10-16 14:57:43 -07:00
k8s-merge-robot 6341e1d3e2 Merge pull request #15658 from yifan-gu/rkt_cli
Auto commit by PR queue bot
2015-10-16 14:52:14 -07:00
Chao Xu 5859da3e1f add discovery client 2015-10-16 14:20:21 -07:00
k8s-merge-robot 0a5299cd63 Merge pull request #15114 from yifan-gu/rkt_log
Auto commit by PR queue bot
2015-10-16 14:00:39 -07:00
k8s-merge-robot 535090312f Merge pull request #13180 from samsabed/backoff_e2e
Auto commit by PR queue bot
2015-10-16 13:33:36 -07:00
k8s-merge-robot 746aae4c17 Merge pull request #15784 from csrwng/remove_blank_proxy_headers
Auto commit by PR queue bot
2015-10-16 13:02:34 -07:00
k8s-merge-robot 35e4c64034 Merge pull request #15646 from mikedanese/ds
Auto commit by PR queue bot
2015-10-16 12:37:09 -07:00
Chao Xu 262825f13d make componenetstatus root scoped 2015-10-16 10:24:31 -07:00
Cesar Wong b56d474110 Proxy: do not send X-Forwarded-Host or X-Forwarded-Proto with an empty value 2015-10-16 13:09:51 -04:00
k8s-merge-robot a6634adc1c Merge pull request #15435 from zhengguoyong/adjust_package_name_pkgcloudprovider
Auto commit by PR queue bot
2015-10-16 08:30:32 -07:00
k8s-merge-robot 4736adee8f Merge pull request #15621 from mesosphere/sttts-send-initial-set-to-get-seen
Auto commit by PR queue bot
2015-10-16 08:04:29 -07:00
k8s-merge-robot f5afa634ff Merge pull request #15574 from derekwaynecarr/resource_quota_fractional
Auto commit by PR queue bot
2015-10-16 07:38:26 -07:00
k8s-merge-robot 372fb373aa Merge pull request #15562 from rootfs/iscsi-umount
Auto commit by PR queue bot
2015-10-16 07:12:23 -07:00
k8s-merge-robot 6269e22858 Merge pull request #15194 from MikaelCluseau/wip-issue-15187
Auto commit by PR queue bot
2015-10-16 06:46:20 -07:00
y00278980 2a0e1dd9e2 Fix some problems:
1. cluster/saltbase/pillar/README.md L8 quoted the wrong line number of cluster/gce/configure-vm.sh
2. spelling mistake of 'retruns'
2015-10-16 21:29:05 +08:00
k8s-merge-robot c59d3fa755 Merge pull request #15072 from wojtek-t/update_to_ugorji_attempt2
Auto commit by PR queue bot
2015-10-16 05:54:14 -07:00
k8s-merge-robot 668cb5de48 Merge pull request #14983 from dcbw/cni-fixes
Auto commit by PR queue bot
2015-10-16 05:28:12 -07:00
mqliang b6f19b140e fix validation for HorizontalPodAutoscalerSpec 2015-10-16 18:32:57 +08:00
Piotr Szczesniak 52d8527761 Migrate hpa e2e tests to the new API
Fixed the issue with enabling HPA
2015-10-16 11:06:47 +02:00
Wojciech Tyczynski d51965bf00 Autogenerate files. 2015-10-16 10:20:02 +02:00
Wojciech Tyczynski f650abaafa Use ugorji/go/codec for decoding jsons. 2015-10-16 10:12:08 +02:00
Piotr Szczesniak f3e0bb0d41 Merge pull request #15706 from jszczepkowski/hpa-beta-util
HorizontalPodAutoscaler and Scale subresource APIs graduated to beta.
2015-10-16 09:50:27 +02:00
Piotr Szczesniak 4b983584a8 Merge pull request #15597 from caesarxuchao/annotate-patch
let kubectl annotate use patch instead of replace
2015-10-16 07:29:22 +02:00
Piotr Szczesniak c261325319 Merge pull request #15651 from caesarxuchao/label-patch
let kubectl label use PATCH instead of PUT
2015-10-16 07:29:13 +02:00
k8s-merge-robot dc685dfee6 Merge pull request #15260 from yifan-gu/rkt_gc_systemd_service
Auto commit by PR queue bot
2015-10-15 22:16:11 -07:00
Jerzy Szczepkowski df732f061a HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups. 2015-10-16 07:15:50 +02:00
Mikaël Cluseau 0375743241 hairpin: unless the pod is on the host's network 2015-10-16 16:15:35 +11:00
Mikaël Cluseau 2067641284 hairpin: include command output when unable to query container's interface 2015-10-16 16:06:35 +11:00
eulerzgy 31c09bdcb8 Del capatical local packagename for cadvisorApi 2015-10-16 11:03:50 +08:00
Sam Abed 78979c77ce backoff e2e tests
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-10-16 13:09:29 +11:00
jijun2 bf6e8cbff7 test: using ioutil.TempDir in unit tests per #15176
update

update mode

delete /tmp

update

use ioutil.TempDir instead of static tmp dir

use ioutil.TempDir instead of static tmp dir
2015-10-16 09:21:46 +08:00
Yifan Gu 9d01933e94 kubelet/rkt: garbage collect systemd service files in GarbageCollect(). 2015-10-15 18:21:26 -07:00
Yifan Gu 0ef6af25c1 kubelet/rkt: update rkt version. 2015-10-15 18:04:07 -07:00
James DeFelice 76dda4fbe9 set defaults for http transport 2015-10-15 21:30:43 +00:00
nikhiljindal 7bcc4a6755 Allowing runtimeConfig to support enabling/disabling specific extension resources 2015-10-15 14:24:22 -07:00
Yu-Ju Hong 80287e3430 Disable keep-alive for liveness/readiness probes
Keep-alive is often not useful for probing because kubelet checks many pods
with different addresses and ports. Disable keep-alive so prober does not
have to handle closed connections.
2015-10-15 14:21:27 -07:00
Eric Tune 13ae9a4d46 Merge pull request #15520 from mikedanese/dne
Move job to generalized label selector
2015-10-15 13:59:22 -07:00
Eric Tune d4475e3d49 Merge pull request #15232 from deads2k/refactor-logs
refactor kubectl logs to be composeable
2015-10-15 13:56:58 -07:00
k8s-merge-robot ae0ea6496e Merge pull request #15278 from combk8s/logCapital
Auto commit by PR queue bot
2015-10-15 13:37:39 -07:00
Jimmi Dyson a5421270e5 cadvisor bump 2015-10-15 21:06:45 +01:00
Chao Xu b5a3ab67da let kubectl label use PATCH instead of PUT 2015-10-15 12:18:54 -07:00
derekwaynecarr 65efc784cb Fix error message in validate load balancer status 2015-10-15 11:06:41 -04:00
Mike Danese a7a54cac74 move job to generalized label selector 2015-10-15 07:42:58 -07:00
Mike Danese 5f55be5dc1 autogenerated api changes 2015-10-15 07:42:57 -07:00
Mike Danese 29c50cdc1a plumb PodSelector through the api 2015-10-15 07:42:57 -07:00
k8s-merge-robot 407f9b9e42 Merge pull request #15555 from rootfs/iscsi-def-port
Auto commit by PR queue bot
2015-10-15 07:22:18 -07:00
k8s-merge-robot a3f2ba2e34 Merge pull request #11694 from ncdc/add-spdy-proxy-support
Auto commit by PR queue bot
2015-10-15 06:56:15 -07:00
k8s-merge-robot 351cc2040e Merge pull request #15491 from derekwaynecarr/ingress_status
Auto commit by PR queue bot
2015-10-15 06:04:38 -07:00
k8s-merge-robot 7ef2a1b293 Merge pull request #15427 from brendandburns/controllerversion
Auto commit by PR queue bot
2015-10-15 05:38:33 -07:00
k8s-merge-robot 4c8e6f47ec Merge pull request #15394 from JanetKuo/kubectl-proxy-api-prefix
Auto commit by PR queue bot
2015-10-15 05:12:30 -07:00
k8s-merge-robot 130e6a7a4d Merge pull request #15468 from feiskyer/volume-typo-error
Auto commit by PR queue bot
2015-10-15 05:08:33 -07:00
k8s-merge-robot 8c753c84eb Merge pull request #15191 from caesarxuchao/validate-UID
Auto commit by PR queue bot
2015-10-15 04:20:24 -07:00
k8s-merge-robot 081f05c207 Merge pull request #14575 from soltysh/jobs_podtemplate_not_pointer
Auto commit by PR queue bot
2015-10-15 03:28:19 -07:00
Marek Grabowski 6248cd71b6 Merge pull request #15595 from zhengguoyong/del_capatical_packagename_for_kubeletUtil
Del capatical local packagename for kubeletUtil
2015-10-15 09:34:05 +02:00
Marek Grabowski 09160d8671 Merge pull request #15499 from JanetKuo/kubectl-get-funky
Format flattened output in kubectl
2015-10-15 09:33:26 +02:00
mqliang 5122f34206 StoreToJobLister.List() should return extensions.JobList, instead of []extension.Job 2015-10-15 15:23:52 +08:00
mqliang 45269bef8f return api.DaemonSetList, instead of an array 2015-10-15 14:49:52 +08:00
combk8s 59b392c4fa Capitalize the first letter in some log files 2015-10-15 11:03:56 +08:00
eulerzgy ea86e66fbe Del capatical local packagename for kubeletUtil 2015-10-15 09:58:10 +08:00
Brendan Burns 0c730f4ea7 update 2015-10-14 18:22:19 -07:00
Janet Kuo 33b9235312 Better error handling for watching a list of resources specified in a file 2015-10-14 16:38:03 -07:00
Daniel Smith 57c6dd93ea Switch type; add comments & disclaimer 2015-10-14 16:18:56 -07:00
Daniel Smith 4bdb1259a7 fix delta fifo & various fakes for go1.5.1 2015-10-14 16:07:46 -07:00
Brendan Burns 947a558320 Dynamically enable controllers based on what resources the server has.
Dynamically delete namespaces based on what resources the server has.
2015-10-14 15:53:19 -07:00
Brendan Burns 5afbf578b0 Add a method for getting supported resources on a server 2015-10-14 15:51:26 -07:00
Janet Kuo f47c2be539 Change kubectl proxy --api-prefix default to allow /apis/ 2015-10-14 15:49:52 -07:00
Tim Hockin 2f4c3035be Change to alpha/beta for bandwidth annotations 2015-10-14 15:33:19 -07:00
Prashanth Balasubramanian 5ab8d1e9ba Ingress scrub 2015-10-14 14:24:25 -07:00
Yifan Gu 0a81443056 kubelet/rkt: fetch journal logs in json format.
This enables more fine-grained control over the things we want to
output. Also by closing the stdout/stderr of the journalctl process
when user hits `Ctrl-C` after `kubectl logs $POD -f`, this enables
the journalctl process to exit.
2015-10-14 12:02:52 -07:00
derekwaynecarr eae56c3b2d Add status subresource to Ingress 2015-10-14 14:36:29 -04:00
Chao Xu d0d260fd03 let kubectl annotate use patch instead of replace 2015-10-14 11:14:02 -07:00
Mike Danese 94f793d10b use correct function to validate daemonset name 2015-10-14 10:41:08 -07:00
Huamin Chen 76df88f68b iscsi: make portal builder testable
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-14 13:30:30 -04:00
deads2k f0aa606632 refactor kubectl logs to be composeable 2015-10-14 13:22:59 -04:00
k8s-merge-robot 11c735cefa Merge pull request #15581 from JanetKuo/remove-sorting-printer-debug-message
Auto commit by PR queue bot
2015-10-14 09:02:32 -07:00
Dr. Stefan Schimanski 651f02aec2 Add unit tests for first empty SET 2015-10-14 16:35:25 +02:00
k8s-merge-robot 7e0e102b15 Merge pull request #15619 from wojtek-t/avoid_unnecessary_copies
Auto commit by PR queue bot
2015-10-14 07:32:29 -07:00
Huamin Chen 69a1f33dd5 iscsi: format disk if no filesystem is found
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-14 10:30:04 -04:00
Huamin Chen 9ca96abd46 iscsi: use global path to retrieve iscsi portal and iqn
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-14 09:48:07 -04:00