k3s/test/e2e
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
..
chaosmonkey autogenerated 2016-10-21 17:32:32 -07:00
common Merge pull request #33366 from rhcarvalho/execincontainer-timeout-argument 2016-11-08 01:41:19 -08:00
framework Merge pull request #31093 from Random-Liu/containerize-node-e2e-test 2016-11-07 23:41:25 -08:00
generated unrevert genrule for bindata 2016-10-27 10:35:28 -07:00
perftype autogenerated 2016-10-21 17:32:32 -07:00
testing-manifests Replace apps/v1alpha1 with apps/v1beta1 and manually remove generated apps/v1alpha1 files 2016-11-02 15:16:23 -07:00
BUILD Merge pull request #33239 from MrHohn/dns-autoscaler 2016-11-07 19:31:31 -08:00
addon_update.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
autoscaling_utils.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
batch_v1_jobs.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cadvisor.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cluster_logging_es.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cluster_logging_gcl.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cluster_logging_utils.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cluster_size_autoscaling.go Merge pull request #35404 from brendandburns/autoscale 2016-10-25 13:23:17 -07:00
cluster_upgrade.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cronjob.go Support ScheduledJob name 2016-11-07 10:14:12 +01:00
daemon_restart.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
daemon_set.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
dashboard.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
density.go Stricter timeouts for nodePort curling 2016-11-03 22:31:39 -07:00
deployment.go Merge pull request #36309 from kargakis/scaled-rollout-fix 2016-11-07 09:44:33 -08:00
dns.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
dns_autoscaling.go Adds e2e tests for DNS horizontal autoscaling feature 2016-11-07 11:28:52 -08:00
e2e-example-config.json Add viper support to core e2es 2016-09-15 18:38:01 -04:00
e2e.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
e2e_test.go Add viper support to core e2es 2016-09-15 18:38:01 -04:00
empty.go Stricter timeouts for nodePort curling 2016-11-03 22:31:39 -07:00
empty_dir_wrapper.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
etcd_failure.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
events.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
example_cluster_dns.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
example_k8petstore.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
examples.go Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
federated-ingress.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federated-namespace.go Autogenerated bazel and test owner changes 2016-11-05 20:57:58 -07:00
federated-secret.go Adding cadcading deletion support to federated secrets 2016-11-07 11:42:59 -08:00
federated-service.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-apiserver.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-authn.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-daemonset.go E2e tests for federated daemonset 2016-11-05 01:54:41 +01:00
federation-deployment.go E2e test for federated deployment controller 2016-11-06 19:21:59 +01:00
federation-event.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-replicaset.go remove versioned LabelSelector definitions 2016-10-26 13:50:13 -07:00
federation-util-14.go manual changes to let client-gen use versioned options 2016-10-04 20:39:29 -07:00
federation-util.go Merge pull request #34905 from ingvagabund/client-to-clientset 2016-10-24 05:38:43 -07:00
garbage_collector.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
generated_clientset.go Rename ScheduledJob to CronJob 2016-11-07 10:14:12 +01:00
gke_local_ssd.go
gke_node_pools.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
google_compute.go
ha_master.go Fix old e2e tests, refactor and add new e2e tests. 2016-11-01 11:46:13 -07:00
horizontal_pod_autoscaling.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ingress.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ingress_utils.go Clean up static-ip in e2e 2016-10-28 10:06:31 -07:00
initial_resources.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
job.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
kibana_logging.go Fixed kibana test problem 2016-11-03 23:43:21 +01:00
kube_proxy.go Adds TCPCloseWaitTimeout option to kube-proxy for sysctl nf_conntrack_tcp_timeout_time_wait 2016-11-03 22:07:02 -07:00
kubectl.go Support ScheduledJob name 2016-11-07 10:14:12 +01:00
kubelet.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
kubelet_perf.go e2e: bump limits for kubelet's cpu usage 2016-11-03 14:18:26 -07:00
limit_range.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
load.go Stricter timeouts for nodePort curling 2016-11-03 22:31:39 -07:00
logging_soak.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
mesos.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
metrics_grabber_test.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
monitoring.go Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
namespace.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
network_partition.go Update network_partition.go 2016-11-05 13:31:53 -07:00
networking.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
networking_perf.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
node_problem_detector.go Add e2e test for NPD v0.2. 2016-11-02 21:50:59 -07:00
nodeoutofdisk.go Marked NodeOutOfDisk test with feature label to remove it from flaky suite 2016-10-25 22:48:43 +02:00
opaque_resource.go Support opaque integer resource accounting. 2016-10-28 10:15:13 -07:00
pd.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
persistent_volumes.go Add multiple PV/PVC pair handling to persistent volume e2e test 2016-10-24 20:18:42 -05:00
petset.go Merge pull request #36212 from foxish/fix-petset-flake 2016-11-04 15:58:29 -07:00
pod_gc.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
pods.go Made changes to DELETE API to let v1.DeleteOptions be passed in as a QueryParameter 2016-11-03 15:53:04 -07:00
portforward.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
pre_stop.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
proxy.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
rc.go Replica set/rc controller changes for Conditions 2016-11-02 10:30:09 +01:00
reboot.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
replica_set.go Replica set/rc controller changes for Conditions 2016-11-02 10:30:09 +01:00
rescheduler.go Use UI instead of DNS in Rescheduler e2e 2016-10-24 16:15:37 +02:00
resize_nodes.go Added a sleep for the podGC to catch up. 2016-11-03 16:55:38 -07:00
resource_quota.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
restart.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
scheduler_predicates.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
security_context.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
service.go Temporairly remove disruption e2e 2016-11-03 13:26:28 +01:00
service_accounts.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
service_latency.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
serviceloadbalancers.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ssh.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
third-party.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ubernetes_lite.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
util_iperf.go
volume_provisioning.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
volumes.go Merge pull request #36179 from rootfs/fix-secret 2016-11-04 14:06:11 -07:00