Files
kubernetes/test/e2e
Kubernetes Submit Queue 1bc5b822cd Merge pull request #36479 from Random-Liu/node-e2e-node-name
Automatic merge from submit-queue

Node Conformance & E2E: Get node name from node object.

This PR changes the node e2e test framework to get node name from apiserver instead of test flags.

When a user tried out the node conformance test, he found that node conformance test will not work properly if kubelet is started with `hostname-override`.

The reason is that node conformance test is using [the default node name - `os.Hostname`](https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/e2e_node_suite_test.go#L124), which may be different from `hostname-override`. This will cause test pods not scheduled, and eventually test timeout.

We can expose a flag from node conformance test, and let user set node name themselves if they are using `hostname-override` on kubelet. However, let the framework automatically detect it from apiserver is more user friendly.

/cc @kubernetes/sig-node 
This PR 1) only changes node e2e test framework; 2) fixes a problem in node conformance test which is a 1.5 feature. @saad-ali Can we have this in 1.5?
2016-11-10 18:56:53 -08:00
..
2016-10-21 17:32:32 -07:00
2016-11-08 13:01:28 -05:00
2016-10-21 17:32:32 -07:00
2016-11-07 10:14:12 +01:00
2016-10-23 22:00:35 +02:00
2016-09-15 18:38:01 -04:00
2016-10-23 22:00:35 +02:00
2016-10-28 10:06:31 -07:00
2016-10-23 22:00:35 +02:00
2016-11-03 23:43:21 +01:00
2016-11-03 22:31:39 -07:00
2016-10-23 22:00:35 +02:00
2016-10-27 17:25:10 -07:00
2016-10-29 13:30:47 -07:00
2016-10-23 22:00:35 +02:00