k3s/test
k8s-merge-robot d1fba05a1b Merge pull request #29020 from Random-Liu/add-namespace-controller-in-node-e2e
Automatic merge from submit-queue

Start namespace controller in node e2e

Fix https://github.com/kubernetes/kubernetes/issues/28320.
Based on https://github.com/kubernetes/kubernetes/pull/28807, only the last 2 commits are new.

Before this PR, there was no namespace controller running in node e2e test infrastructure. We can not enable the [`delete-namespace`](f2ddd60eb9/test/e2e/framework/test_context.go (L109)) flag in the test framework.
So after the test running, there will be running pod left on the test node. This seems to be acceptable in our test infrastructure because we create an new instance each time.

However, in 1.4 we may want to provide part of the test as node conformance test to the user, they definitely don't want the test to leave tons of pods on their node after test running.

Currently, there is no easy way to only start namespace controller in kube-controller-manager (confirmed with @mikedanese), so in this PR I started a "uncontainerized" one in the test infrastructure.

This PR:
* Started the namespace controller in the node e2e test infrastructure and enable the automatic namespace deletion.
* Change the privileged test to use framework (@yujuhong), so that all node e2e tests are using the framework and test pods will be cleaned up by namespace controller.

/cc @kubernetes/sig-node
2016-07-20 09:24:26 -07:00
..
component/scheduler/perf Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
e2e Merge pull request #29020 from Random-Liu/add-namespace-controller-in-node-e2e 2016-07-20 09:24:26 -07:00
e2e_node Merge pull request #29020 from Random-Liu/add-namespace-controller-in-node-e2e 2016-07-20 09:24:26 -07:00
fixtures/pkg/kubectl/cmd/apply Fix reference to versioned object in kubectl apply 2016-02-10 14:11:44 -08:00
images Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
integration Use Infof/Warningf when appropriate 2016-07-19 12:10:53 -04:00
kubemark Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
soak Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
utils Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
.gitattributes Add test/test_owners.csv, for automatic assignment of test failures. 2016-07-01 17:39:14 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
test_owners.csv Address PR comments, randomly assign owners for new tests. 2016-07-06 13:22:53 -07:00