kubernetes/test
Kubernetes Submit Queue 866293b704 Merge pull request #33366 from rhcarvalho/execincontainer-timeout-argument
Automatic merge from submit-queue

Add timeout argument to ExecInContainer

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: This is related to https://github.com/kubernetes/kubernetes/issues/26895. It brings a timeout to the signature of `ExecInContainer` so that we can take timeouts into account in the future. Unlike my first attempt in https://github.com/kubernetes/kubernetes/pull/27956, it doesn't immediately observe the timeout, because it is impossible to do it with the current state of the Docker Remote API (the default exec handler implementation).

**Special notes for your reviewer**: This shares commits with https://github.com/kubernetes/kubernetes/pull/27956, but without some of them that have more controversial implications (actually supporting the timeouts). The original PR shall be closed in the current state to preserve the history (instead of dropping commits in that PR).

Pinging the original people working on this change: @ncdc @sttts @vishh @dims 

**Release note**:

<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->

``` release-note
NONE
```
2016-11-08 01:41:19 -08:00
..
e2e Merge pull request #33366 from rhcarvalho/execincontainer-timeout-argument 2016-11-08 01:41:19 -08:00
e2e_node Merge pull request #31093 from Random-Liu/containerize-node-e2e-test 2016-11-07 23:41:25 -08:00
fixtures Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
images Should not defer conn.Close when leaking the connection 2016-11-03 22:07:07 -07:00
integration Merge pull request #36134 from liggitt/kubelet-auth-cleanup 2016-11-06 08:33:04 -08:00
kubemark Fix non-default etcd image handling in kubemark 2016-11-08 08:29:39 +01:00
list Improve update_owners.py username detection and error message. 2016-10-28 13:23:19 -07:00
soak serve_hostnames: fix compilation 2016-10-25 09:27:17 -07:00
utils Merge pull request #35204 from gmarek/node-affinity 2016-11-03 05:09:12 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
test_owners.csv Merge pull request #33366 from rhcarvalho/execincontainer-timeout-argument 2016-11-08 01:41:19 -08:00