Commit Graph

8646 Commits (d5f62ca67b7ac1fdc5f70f851a9e0e3caa2bd6fc)

Author SHA1 Message Date
k8s-merge-robot c8a1783724 Merge pull request #15323 from swagiaal/pod-volume-selinux
Auto commit by PR queue bot
2015-10-28 19:17:32 -07:00
Fabiano Franz d9161cb3b5 stdin is not a valid file extension for bash completions 2015-10-29 00:00:34 -02:00
k8s-merge-robot 0f99c59da1 Merge pull request #16413 from ddysher/controller-manager-start
Auto commit by PR queue bot
2015-10-28 18:36:29 -07:00
Tim St. Clair 9a2089adc8 Concurrency fixes in status.Manager
- Fix deadlock when syncing deleted pods with full update channel
- Prevent sending stale updates to API server
- Don't delete cached status when sync fails (causes problems for prober)
2015-10-28 17:40:55 -07:00
Madhusudan.C.S ce257b5a0e Use node out of disk condition in the scheduler while scheduling pods.
Set the out of disk node condition to unknown in the node controller if
the kubelet does not report its node condition in a long time. Update
node controller unit tests.

Implement a node condition predicate function that checks if a given
node satisfies the conditions defined by the predicate and if it
does, use that node for scheduling pods. The predicate function takes
both NodeReady and NodeOutOfDisk into consideration to determine if a
node is fit for scheduling pods.

The predicate is then passed to the node lister in the scheduler factory
so that the node lister can run the predicate function on the nodes when
schedling pods thereby omitting nodes that does not satisfy the
predicate.

Also update listers test.
2015-10-28 14:29:46 -07:00
Clayton Coleman 6f688c3df8 Improve the message for UsageError
Capitalize, also indicate that we have examples
2015-10-28 13:33:37 -04:00
Jordan Liggitt b58e62e7d4 Pass runtime.Object to Helper.Create/Replace 2015-10-28 12:43:21 -04:00
Deyuan Deng 638411d744 Wait apiserver in controller manager startup process 2015-10-29 00:15:33 +08:00
Wojciech Tyczynski 579fa74977 Add test for TimeoutSeconds parameter 2015-10-28 15:48:36 +01:00
Sami Wagiaalla 1d352a16b8 Support volume relabling for pods which specify an SELinux label 2015-10-28 09:26:58 -04:00
Jerzy Szczepkowski 1524d7490a Merge pull request #16294 from aveshagarwal/master-fix-code-duplication
Fixes code duplication.
2015-10-28 13:23:06 +01:00
k8s-merge-robot ffe92cc4d4 Merge pull request #16182 from timothysc/etcd-remove-fakeclient-part2
Auto commit by PR queue bot
2015-10-28 02:02:01 -07:00
Mike Danese 6bbc2448c9 autogenerated 2015-10-28 00:13:40 -07:00
Mike Danese b0a41108af move deployment PodTemplate to be not a pointer 2015-10-28 00:13:40 -07:00
k8s-merge-robot d695177229 Merge pull request #16054 from smarterclayton/revert_extension_syntax
Auto commit by PR queue bot
2015-10-27 19:57:15 -07:00
k8s-merge-robot d228fd6d9c Merge pull request #15809 from mikedanese/deploy
Auto commit by PR queue bot
2015-10-27 19:25:12 -07:00
k8s-merge-robot ec9b493647 Merge pull request #14639 from gmarek/hollow-proxy
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
k8s-merge-robot a1fd0536cd Merge pull request #13980 from aveshagarwal/iptables-proxy-cleanup
Auto commit by PR queue bot
2015-10-27 17:45:35 -07:00
Daniel Smith 3f3ca480be Merge pull request #16080 from yujuhong/reset_defaults
Add custom pod conversion functions from pre-v1.1 mirror pods
2015-10-27 15:47:34 -07:00
Daniel Smith 6219b50280 Merge pull request #16160 from kargakis/windows-fixes-for-edit
edit: Windows fixes
2015-10-27 15:44:26 -07:00
Daniel Smith 424afd4cfb Merge pull request #15971 from jlowdermilk/client-http-content-type
Set Content-Type in headers of client http requests
2015-10-27 15:33:32 -07:00
Daniel Smith 8524d392bf Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
derekwaynecarr caebe7300b Large amount of memory churn in etcd helper 2015-10-27 16:35:07 -04:00
k8s-merge-robot 0a7a9f3535 Merge pull request #16340 from timstclair/flaky-prober
Auto commit by PR queue bot
2015-10-27 12:10:22 -07:00
Timothy St. Clair 4cf5b348c8 Removal of fakeClient from etcd_watcher_test in leiu of NewEtcdTestClientServer 2015-10-27 13:32:56 -05:00
Yu-Ju Hong e5c82d2292 Add custom pod conversion functions from pre-v1.1 mirror pods
The functions would default values added after v1.0, so that kubelet wouldn't
fail at comparing the mirror pods against their associated static pods.

This code would need to be maintained if we ever change the default value in
Pod until we drop support for v1.0 nodes.
2015-10-27 10:50:30 -07:00
gmarek 5a4e4d4d57 Add a HollowProxy to the HollowNode. 2015-10-27 18:23:29 +01:00
Avesh Agarwal e1837185de Improves iptables cleanup for pure iptables based proxier. 2015-10-27 13:08:16 -04:00
Wojciech Tyczynski 4d117dff6f Fix timeoutSeconds parameter 2015-10-27 15:36:54 +01:00
Jordan Liggitt 3bc4abb9aa Add TypeMeta to discovery response objects 2015-10-27 10:27:13 -04:00
Jerzy Szczepkowski 154923221f Merge pull request #15951 from kargakis/factory-expose-method
Make CanBeExposed and CanBeAutoscaled composable
2015-10-27 11:04:40 +01:00
Jerzy Szczepkowski 5ef087adab Merge pull request #16266 from wojtek-t/fix_handshake_reflector
Reuse TCP connections in Reflector between resync periods.
2015-10-27 10:36:18 +01:00
Jerzy Szczepkowski bbee6cfcd7 Merge pull request #15461 from kargakis/relax-exposing-multiport-objects
expose: Enable exposing multiport objects
2015-10-27 10:25:54 +01:00
Wojciech Tyczynski aa30e38183 Pass resource version to storage List operation. 2015-10-27 10:03:58 +01:00
k8s-merge-robot df265b2d6e Merge pull request #15510 from aveshagarwal/master-selflink-objref
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
k8s-merge-robot 0ced872a26 Merge pull request #16142 from bprashanth/cloudprovider_methods
Auto commit by PR queue bot
2015-10-26 19:44:48 -07:00
Tim St. Clair 17b0a964f4 Always resync after resyncInterval 2015-10-26 18:50:57 -07:00
Janet Kuo cb2466c50f Remove invalid blank line when printing jobs 2015-10-26 17:23:56 -07:00
Daniel Smith fcd99461ff Merge pull request #16286 from liggitt/wsstream_cpu
Avoid CPU hotloop on client-closed websocket
2015-10-26 17:19:20 -07:00
Daniel Smith 3cc2ae4da6 Merge pull request #15831 from zhengguoyong/modify_pod_networkplugin_setup_errmsg
Modify duplicate err msg
2015-10-26 17:07:18 -07:00
Daniel Smith 075d760ad4 Merge pull request #16016 from mqliang/uselessDel
remove useless function
2015-10-26 17:06:42 -07:00
Daniel Smith ebef20144b Merge pull request #16277 from jszczepkowski/hpa-prop
Fixed resetting last scale time in HPA status.
2015-10-26 16:30:34 -07:00
Madhusudan.C.S 9c4424f0bd Report out of disk as a node condition when node goes out of disk.
Define a new out of disk node condition and use it to report when node
goes out of disk.

Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.

Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Prashanth Balasubramanian f7db2eefef cloudprovider methods to list resources and get health 2015-10-26 13:36:27 -07:00
Daniel Smith b07dd73f26 Merge pull request #16053 from saad-ali/attachDetachMutextFix
Fix GCE Cloud/Attach/Detach stability issues
2015-10-26 13:05:27 -07:00
Daniel Smith e42f5af6a1 Merge pull request #16219 from thockin/resolvconf-filter
Add a cloud-provider hook to scrub DNS for pods
2015-10-26 12:32:02 -07:00
Avesh Agarwal e845dba9d2 Fixes code duplication. 2015-10-26 15:24:50 -04:00
Wojciech Tyczynski d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
k8s-merge-robot a094a6e3de Merge pull request #15815 from mqliang/lister_test
Auto commit by PR queue bot
2015-10-26 11:30:44 -07:00
Jordan Liggitt 85379b12ca Avoid CPU hotloop on client-closed websocket 2015-10-26 14:04:16 -04:00
k8s-merge-robot bffdd242d8 Merge pull request #16191 from yujuhong/fix_logs
Auto commit by PR queue bot
2015-10-26 09:31:35 -07:00
Jerzy Szczepkowski de25a3bc08 Fixed resetting last scale time in HPA status.
Fixed resetting last scale time in HPA status. Fixes #16275.
2015-10-26 16:36:05 +01:00
k8s-merge-robot dbf9a53de9 Merge pull request #15953 from smarterclayton/return_unmodified_error_on_neg
Auto commit by PR queue bot
2015-10-26 08:15:40 -07:00
k8s-merge-robot e97483ae7b Merge pull request #16086 from jackgr/conditional_annotation
Auto commit by PR queue bot
2015-10-26 03:44:28 -07:00
k8s-merge-robot 275e978b90 Merge pull request #16241 from smarterclayton/fix_flake_stream
Auto commit by PR queue bot
2015-10-26 02:54:47 -07:00
Mike Danese 8acf01d620 add status subresource for deployment 2015-10-26 00:12:58 -07:00
k8s-merge-robot 0884214fe0 Merge pull request #16058 from janetkuo/revert-kubectl-slash
Auto commit by PR queue bot
2015-10-25 19:23:14 -07:00
k8s-merge-robot b05226bfb5 Merge pull request #16221 from janetkuo/kubectl-ingresses
Auto commit by PR queue bot
2015-10-25 18:25:30 -07:00
k8s-merge-robot 54706661ad Merge pull request #15479 from feiskyer/gendocs
Auto commit by PR queue bot
2015-10-25 17:47:14 -07:00
Janet Kuo 54b743bc05 Change resource "ingress" to "ingresses" in URL path and kubectl 2015-10-25 16:54:25 -07:00
k8s-merge-robot 4f17b4b39c Merge pull request #15961 from ncdc/stream-protocol-negotiation
Auto commit by PR queue bot
2015-10-25 07:26:41 -07:00
k8s-merge-robot fea0a7d753 Merge pull request #15850 from mqliang/refactorValidation
Auto commit by PR queue bot
2015-10-25 05:42:49 -07:00
feisky 13dce74adb Gendocs for docs/admin/kube-* 2015-10-25 19:24:23 +08:00
k8s-merge-robot 55cbba3e51 Merge pull request #16234 from erictune/job-unit-fix
Auto commit by PR queue bot
2015-10-25 01:42:07 -07:00
k8s-merge-robot 0e1ee14cc8 Merge pull request #15705 from wojtek-t/watch_options_in_client
Auto commit by PR queue bot
2015-10-24 17:39:20 -07:00
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
Brendan Burns 2935075388 Fix sorting from 2 bugs 2015-10-22 20:11:14 -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